OptionaladdToAlbums?: number[]IDs of albums to add the story to
Optionalcaption?: InputTextOverride caption for media
OptionalforbidForwards?: booleanWhether to disallow sharing this story
OptionalinteractiveElements?: TypeMediaArea[]Interactive elements to add to the story
Media contained in a story. Currently can only be a photo or a video.
You can also pass TDLib and Bot API compatible File ID, which will be wrapped in InputMedia.auto
Optionalmusic?: InputMediaAudio | InputDocumentIdMusic to attach to the story.
Can be an already uploaded audio file (e.g. File ID), or a new audio to upload
Optionalpeer?: InputPeerLikePeer ID to send story as
Optionalperiod?: numberTTL period of the story, in seconds
Optionalpinned?: booleanWhether to automatically pin this story to the profile
OptionalprivacyRules?: InputPrivacyRule[]Privacy rules to apply to the story
Created story
Send a story