Class TdApi.UpdateNewBusinessCallbackQuery
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Update
dev.voroby.springframework.telegram.client.TdApi.UpdateNewBusinessCallbackQuery
- Enclosing class:
- TdApi
A new incoming callback query from a business message; for bots only.
-
Field Summary
Modifier and TypeFieldDescriptionlong
An identifier uniquely corresponding to the chat a message was sent to.Unique identifier of the business connection.static final int
Identifier uniquely determining type of the object.long
Unique query identifier.The message from the business account from which the query originated.Query payload.long
Identifier of the user who sent the query. -
Constructor Summary
ConstructorDescriptionA new incoming callback query from a business message; for bots only.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
id
public long idUnique query identifier. -
senderUserId
public long senderUserIdIdentifier 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
public long chatInstanceAn identifier uniquely corresponding to the chat a message was sent to. -
payload
Query payload. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-