Function set_scope_notification_settings

Source
pub async fn set_scope_notification_settings(
    scope: NotificationSettingsScope,
    notification_settings: ScopeNotificationSettings,
    client_id: i32,
) -> Result<(), Error>
Expand description

Changes notification settings for chats of a given type

ยงArguments

  • scope - Types of chats for which to change the notification settings
  • notification_settings - The new notification settings for the given scope
  • client_id - The client id to send the request to