Class TdApi.DeleteChatReplyMarkup

Enclosing class:
TdApi

public static class TdApi.DeleteChatReplyMarkup extends TdApi.Function<TdApi.Ok>
Deletes the default reply markup from a chat. Must be called after a one-time keyboard or a replyMarkupForceReply reply markup has been used or dismissed.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • messageId

      public long messageId
      The message identifier of the used keyboard.
    • CONSTRUCTOR

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

    • DeleteChatReplyMarkup

      public DeleteChatReplyMarkup()
      Default constructor for a function, which deletes the default reply markup from a chat. Must be called after a one-time keyboard or a replyMarkupForceReply reply markup has been used or dismissed.

      Returns Ok

    • DeleteChatReplyMarkup

      public DeleteChatReplyMarkup(long chatId, long messageId)
      Creates a function, which deletes the default reply markup from a chat. Must be called after a one-time keyboard or a replyMarkupForceReply reply markup has been used or dismissed.

      Returns Ok

      Parameters:
      chatId - Chat identifier.
      messageId - The message identifier of the used keyboard.
  • 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.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR