unpin_chat_stories()¶
- Client.unpin_chat_stories()¶
Unpin one or more stories in a chat by using stories identifiers.
Usable by Users Bots
- Parameters:¶
chat_id (``int`` | ``str``) – Unique identifier (int) or username (str) of the target chat. For your personal cloud (Saved Messages) you can simply use “me” or “self”.
stories_ids (``int`` | Iterable of ``int``, *optional*) – List of unique identifiers of the target stories.
- Returns:¶
List of ``int`` (List of pinned stories identifiers.)
Example
# Unpin a single story await app.unpin_chat_stories(chat_id, 123456789)