Module tdlight.api

Class TdApi.UpdateChatReplyMarkup

Enclosing class:
TdApi

public static final class TdApi.UpdateChatReplyMarkup extends TdApi.Update
The default chat reply markup was changed. Can occur because new messages with reply markup were received or because an old reply markup was hidden by the user.
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • replyMarkupMessageId

      public long replyMarkupMessageId
      Identifier of the message from which reply markup needs to be used; 0 if there is no default custom reply markup in the chat.
    • CONSTRUCTOR

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

    • UpdateChatReplyMarkup

      public UpdateChatReplyMarkup()
      The default chat reply markup was changed. Can occur because new messages with reply markup were received or because an old reply markup was hidden by the user.
    • UpdateChatReplyMarkup

      public UpdateChatReplyMarkup(long chatId, long replyMarkupMessageId)
      The default chat reply markup was changed. Can occur because new messages with reply markup were received or because an old reply markup was hidden by the user.
      Parameters:
      chatId - Chat identifier.
      replyMarkupMessageId - Identifier of the message from which reply markup needs to be used; 0 if there is no default custom reply markup in the chat.
    • UpdateChatReplyMarkup

      public UpdateChatReplyMarkup(DataInput input) throws IOException
      The default chat reply markup was changed. Can occur because new messages with reply markup were received or because an old reply markup was hidden by the user.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object