Newer Version Available
ConnectApi.CanvasAttachmentInput
Used to attach a canvas app to a feed item.
Subclass of ConnectApi.FeedItemAttachmentInput.
| Property | Type | Description | Available Version |
|---|---|---|---|
| description | String | Optional. The description of the canvas app. | 29.0–31.0 |
| developerName | String | The developer name (API name) of the canvas app | 29.0–31.0 |
| height | String | Optional. The height of the canvas app in pixels. Default height is 200 pixels. | 29.0–31.0 |
| namespacePrefix | String | Optional. The namespace prefix of the Developer Edition organization in which the canvas app was created. | 29.0–31.0 |
| parameters | String | Optional. Parameters passed to the canvas app in JSON format. Example:
|
29.0–31.0 |
| thumbnailUrl | String | Optional. A URL to a thumbnail image for the canvas app. Maximum dimensions are 120x120 pixels. | 29.0–31.0 |
| title | String | The title of the link used to call the canvas app. | 29.0–31.0 |