public static class TdApi.UpdateNewBusinessCallbackQuery extends TdApi.Update
| Modifier and Type | Field and Description |
|---|---|
long |
chatInstance
An identifier uniquely corresponding to the chat a message was sent to.
|
java.lang.String |
connectionId
Unique identifier of the business connection.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
id
Unique query identifier.
|
TdApi.BusinessMessage |
message
The message from the business account from which the query originated.
|
TdApi.CallbackQueryPayload |
payload
Query payload.
|
long |
senderUserId
Identifier of the user who sent the query.
|
| Constructor and Description |
|---|
UpdateNewBusinessCallbackQuery()
A new incoming callback query from a business message; for bots only.
|
UpdateNewBusinessCallbackQuery(long id,
long senderUserId,
java.lang.String connectionId,
TdApi.BusinessMessage message,
long chatInstance,
TdApi.CallbackQueryPayload payload)
A new incoming callback query from a business message; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long id
public long senderUserId
public java.lang.String connectionId
public TdApi.BusinessMessage message
public long chatInstance
public TdApi.CallbackQueryPayload payload
public static final int CONSTRUCTOR
public UpdateNewBusinessCallbackQuery()
public UpdateNewBusinessCallbackQuery(long id,
long senderUserId,
java.lang.String connectionId,
TdApi.BusinessMessage message,
long chatInstance,
TdApi.CallbackQueryPayload payload)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object