Module tdlight.api

Class TdApi.DeleteChatReplyMarkup

Enclosing class:
TdApi

public static final 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. An updateChatReplyMarkup update will be sent if the reply markup is changed. 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
      See Also:
  • Constructor Details

    • DeleteChatReplyMarkup

      public DeleteChatReplyMarkup()
      Deletes the default reply markup from a chat. Must be called after a one-time keyboard or a replyMarkupForceReply reply markup has been used. An updateChatReplyMarkup update will be sent if the reply markup is changed. Returns Ok
    • DeleteChatReplyMarkup

      public DeleteChatReplyMarkup(long chatId, long messageId)
      Deletes the default reply markup from a chat. Must be called after a one-time keyboard or a replyMarkupForceReply reply markup has been used. An updateChatReplyMarkup update will be sent if the reply markup is changed. Returns Ok
      Parameters:
      chatId - long Chat identifier.
      messageId - long The message identifier of the used keyboard.
    • DeleteChatReplyMarkup

      public DeleteChatReplyMarkup(DataInput input) throws IOException
      Deletes the default reply markup from a chat. Must be called after a one-time keyboard or a replyMarkupForceReply reply markup has been used. An updateChatReplyMarkup update will be sent if the reply markup is changed. Returns Ok
      Throws:
      IOException
  • Method Details