Folder.pin_chat()¶ Folder.pin_chat()¶ Bound method pin_chat of Folder. Use as a shortcut for: await client.update_folder( folder_id=123456789, included_chats=[chat_id], excluded_chats=[chat_id], pinned_chats=[...] ) Example await folder.pin_chat(chat_id) Parameters:¶ chat_id (int | str) – Unique identifier for the target chat or username of the target user/channel/supergroup (in the format @username). Returns:¶ True on success.