Class TdApi.SetScopeNotificationSettings

  • Enclosing class:
    TdApi

    public static class TdApi.SetScopeNotificationSettings
    extends TdApi.Function
    Changes notification settings for chats of a given type.

    Returns Ok

    • Constructor Detail

      • SetScopeNotificationSettings

        public SetScopeNotificationSettings()
        Default constructor for a function, which changes notification settings for chats of a given type.

        Returns Ok

      • SetScopeNotificationSettings

        public SetScopeNotificationSettings​(TdApi.NotificationSettingsScope scope,
                                            TdApi.ScopeNotificationSettings notificationSettings)
        Creates a function, which changes notification settings for chats of a given type.

        Returns Ok

        Parameters:
        scope - Types of chats for which to change the notification settings.
        notificationSettings - The new notification settings for the given scope.