Skip to content

toggleStoryIsPostedToChatPage

Function · TDLib 1.8.67 · d1085f9c

Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_posted_to_chat_page == true

toggleStoryIsPostedToChatPage(
  story_poster_chat_id: int53,
  story_id: int32,
  is_posted_to_chat_page: Bool
) → Ok

story_poster_chat_id

int53

Identifier of the chat that posted the story

story_id

int32

Identifier of the story

is_posted_to_chat_page

Bool

Pass true to make the story accessible after expiration; pass false to make it private