MadelineProtoDocs/docs/API_docs/constructors/updateStoryID.md
2024-05-01 14:53:46 +02:00

1.1 KiB

title description nav_exclude image
updateStoryID A story was successfully uploaded. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateStoryID

Back to constructors index

A story was successfully uploaded.

Once a story is successfully uploaded, an updateStoryID will be returned, indicating the story ID (id) that was attributed to the story (like for messages, random_id indicates the random_id that was passed to stories.sendStory: this way, you can tell which story was assigned a specific id by checking which stories.sendStory call has the returned random_id).

Attributes:

Name Type Required Description
id int Yes The id that was attributed to the story.

Type: Update

Example:

$updateStoryID = ['_' => 'updateStoryID', 'id' => int];