Skip to content

The Direct broadcast ​

A message sent into a Direct conversation: DirectBroadcast is the action, and every message type is one page with its own factory.

DirectoryThe messageFactory
text/texttextMessage(text)
photo/a photo from the galleryPhotoAttachmentMessage({ file })
video/a video from the galleryVideoAttachmentMessage({ file })
voice/a voice messageVoiceAttachmentMessage({ file, waveform? })
reaction/a reaction on a messagereactionMessage({ itemId, reactionType, ... })
profile/a profile shareprofileMessage({ profileUserId })
guide/a guide shareguideMessage({ guideId })
media-share/a feed post sharedmediaSharePhotoMessage / -Video / -Carousel({ mediaId })
reel-share/a reel sharedreelShareMessage({ mediaId, reelId?, text? })
story-share/a story sharedstoryShareMessage({ mediaId, reelId?, text? })
felix-share/an IGTV video sharedfelixShareMessage({ mediaId })
forward/a forwarded messageforwardMessage({ fromThreadId, fromItemId })

The pages of this site are the README files of the repository. The API reference is generated from the source.