Module tdlight.api

Class TdApi.ToggleChatDefaultDisableNotification

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.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
      See Also:
  • Constructor Details

    • ToggleChatDefaultDisableNotification

      public ToggleChatDefaultDisableNotification()
      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)
      Changes the value of the default disableNotification parameter, used when a message is sent to a chat.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
      defaultDisableNotification - boolean New value of defaultDisableNotification.
    • ToggleChatDefaultDisableNotification

      public ToggleChatDefaultDisableNotification(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details