public static class TdApi.BusinessMessage extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Message |
message
The message.
|
TdApi.Message |
replyToMessage
Message that is replied by the message in the same chat; may be null if none.
|
| Constructor and Description |
|---|
BusinessMessage()
Describes a message from a business account as received by a bot.
|
BusinessMessage(TdApi.Message message,
TdApi.Message replyToMessage)
Describes a message from a business account as received by a bot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Message message
public TdApi.Message replyToMessage
public static final int CONSTRUCTOR
public BusinessMessage()
public BusinessMessage(TdApi.Message message, TdApi.Message replyToMessage)
message - The message.replyToMessage - Message that is replied by the message in the same chat; may be null if none.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object