Chat.mute()¶
- Chat.mute()¶
Bound method mute of
Chat.Use as a shortcut for:
client.update_chat_notifications(chat_id, mute=True, mute_until=mute_until)- Parameters:
mute (
bool, optional) – Pass True if you want to mute chat.until_date (
datetime, optional) – Date when the user will be unmuted. Defaults to forever.
Example
chat.mute()- Returns:
bool– On success, True is returned.