Class TdApi.UpdateNewBusinessCallbackQuery

Enclosing class:
TdApi

public static class TdApi.UpdateNewBusinessCallbackQuery extends TdApi.Update
A new incoming callback query from a business message; for bots only.
  • Field Details

    • id

      public long id
      Unique query identifier.
    • senderUserId

      public long senderUserId
      Identifier of the user who sent the query.
    • connectionId

      public String connectionId
      Unique identifier of the business connection.
    • message

      public TdApi.BusinessMessage message
      The message from the business account from which the query originated.
    • chatInstance

      public long chatInstance
      An identifier uniquely corresponding to the chat a message was sent to.
    • payload

      Query payload.
    • CONSTRUCTOR

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

    • UpdateNewBusinessCallbackQuery

      public UpdateNewBusinessCallbackQuery()
      A new incoming callback query from a business message; for bots only.
    • UpdateNewBusinessCallbackQuery

      public UpdateNewBusinessCallbackQuery(long id, long senderUserId, String connectionId, TdApi.BusinessMessage message, long chatInstance, TdApi.CallbackQueryPayload payload)
      A new incoming callback query from a business message; for bots only.
      Parameters:
      id - Unique query identifier.
      senderUserId - Identifier of the user who sent the query.
      connectionId - Unique identifier of the business connection.
      message - The message from the business account from which the query originated.
      chatInstance - An identifier uniquely corresponding to the chat a message was sent to.
      payload - Query payload.
  • 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