View Source ExTDLib.Method.ToggleStoryIsPinned (ExTDLib v0.0.4)
Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_pinned == true. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| story_sender_chat_id | string | Identifier of the chat that posted the story. |
| story_id | number | Identifier of the story. |
| is_pinned | bool | Pass true to make the story accessible after expiration; pass false to make it private. |
More details on telegram's documentation.