Skip to content

Modules.Facebook.ShareToMessengerParams

Parameters to pass to shareMediaToMessenger() method.

Since: 5.4.0 · Platforms: iphone, ipad

Properties #

Type: String

Optional property describing the www source URL of the content.

Setting this property improves performance by allowing Messenger to download the content directly
rather than uploading the content from your app. This option is only used for animated GIFs.

media#

Type: Titanium.Blob

Media to send with the messenger. Allowed media are images, GIF's and videos represented
as Blobs.

metadata#

Type: String

Pass additional information to be sent to Messenger which is sent back to the user's app when
they reply to an attributed message.

renderAsSticker#

Type: Boolean

Optional property describing whether the content should be rendered like a sticker.

Setting this property informs Messenger that the media content should be rendered as a sticker.
This option is only used for static images.

Titanium SDK Documentation