Function set_chat_notification_settings

Source
pub async fn set_chat_notification_settings(
    chat_id: i64,
    notification_settings: ChatNotificationSettings,
    client_id: i32,
) -> Result<(), Error>
Expand description

Changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can’t be changed

§Arguments

  • chat_id - Chat identifier
  • notification_settings - New notification settings for the chat. If the chat is muted for more than 366 days, it is considered to be muted forever
  • client_id - The client id to send the request to