Module tdlight.api

Class TdApi.GetCallbackQueryMessage

Enclosing class:
TdApi

public static final class TdApi.GetCallbackQueryMessage extends TdApi.Function<TdApi.Message>
Returns information about a message with the callback button that originated a callback query; for bots only.

Returns Message

  • Field Details

    • chatId

      public long chatId
      Identifier of the chat the message belongs to.
    • messageId

      public long messageId
      Message identifier.
    • callbackQueryId

      public long callbackQueryId
      Identifier of the callback query.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetCallbackQueryMessage

      public GetCallbackQueryMessage()
      Returns information about a message with the callback button that originated a callback query; for bots only.

      Returns Message

    • GetCallbackQueryMessage

      public GetCallbackQueryMessage(long chatId, long messageId, long callbackQueryId)
      Returns information about a message with the callback button that originated a callback query; for bots only.

      Returns Message

      Parameters:
      chatId - long Identifier of the chat the message belongs to.
      messageId - long Message identifier.
      callbackQueryId - long Identifier of the callback query.
    • GetCallbackQueryMessage

      public GetCallbackQueryMessage(DataInput input) throws IOException
      Returns information about a message with the callback button that originated a callback query; for bots only.

      Returns Message

      Throws:
      IOException
  • Method Details