toggle_pre_history_hidden()¶
- async Client.toggle_pre_history_hidden()¶
Toggle pre-history visibility for new members.
Usable by Users Bots- Parameters:
enabled (bool, *optional*) – Whether pre-history is hidden
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat.
- Returns:
Example
await app.toggle_pre_history_hidden(chat_id, ...)