ConnectApi.CanvasAttachmentInput

Used to attach a canvas app to a feed item.

This class isn’t available in version 32.0 and later. In version 32.0 and later, use ConnectApi.CanvasCapabilityInput.

Subclass of Connectapi.FeedItemAttachmentInput.

PropertyTypeDescriptionAvailable Version
descriptionStringOptional. The description of the canvas app.29.0–31.0
developerNameStringThe developer name (API name) of the canvas app29.0–31.0
heightStringOptional. The height of the canvas app in pixels. Default height is 200 pixels.29.0–31.0
namespacePrefixStringOptional. The namespace prefix of the Developer Edition organization in which the canvas app was created.29.0–31.0
parametersStringOptional. Parameters passed to the canvas app in JSON format. Example: {'isUpdated'='true'}29.0–31.0
thumbnailUrlStringOptional. A URL to a thumbnail image for the canvas app. Maximum dimensions are 120x120 pixels.29.0–31.0
titleStringThe title of the link used to call the canvas app.29.0–31.0