The lightning:availableForChatterExtensionRenderer interface works with the lightning:availableForChatterExtensionComposer interface and the lightning:sendChatterExtensionPayload event to integrate your custom apps into the Chatter publisher and to render the app’s payload in the feed.
Attribute Name | Type | Description | Required? |
---|---|---|---|
payload | Object | Payload data that was saved with the feed item is provided to the component that is implementing this interface | No |
variant | String | An enum that can take one of two values: PREVIEW or RENDER. The selected value is provided to the component that is implementing this interface. PREVIEW specifies that the attachment is used as a preview in the publisher. RENDER specifies that the attachment is rendered with the feed item | No |