Class TdApi.SetScopeNotificationSettings

Enclosing class:
TdApi

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

Returns Ok

  • Field Details

  • Constructor Details

    • 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.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR