Class TdApi.ToggleChatDefaultDisableNotification

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.ToggleChatDefaultDisableNotification
Enclosing class:
TdApi

public static class TdApi.ToggleChatDefaultDisableNotification extends TdApi.Function<TdApi.Ok>
Changes the value of the default disableNotification parameter, used when a message is sent to a chat.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • defaultDisableNotification

      public boolean defaultDisableNotification
      New value of defaultDisableNotification.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • ToggleChatDefaultDisableNotification

      public ToggleChatDefaultDisableNotification()
      Default constructor for a function, which changes the value of the default disableNotification parameter, used when a message is sent to a chat.

      Returns Ok

    • ToggleChatDefaultDisableNotification

      public ToggleChatDefaultDisableNotification(long chatId, boolean defaultDisableNotification)
      Creates a function, which changes the value of the default disableNotification parameter, used when a message is sent to a chat.

      Returns Ok

      Parameters:
      chatId - Chat identifier.
      defaultDisableNotification - New value of defaultDisableNotification.
  • 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