public static class TdApi.QuickReplyMessage extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
canBeEdited
True, if the message can be edited.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.MessageContent |
content
Content of the message.
|
long |
id
Unique message identifier among all quick replies.
|
long |
mediaAlbumId
Unique identifier of an album this message belongs to; 0 if none.
|
TdApi.ReplyMarkup |
replyMarkup
Inline keyboard reply markup for the message; may be null if none.
|
long |
replyToMessageId
The identifier of the quick reply message to which the message replies; 0 if none.
|
TdApi.MessageSendingState |
sendingState
The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent.
|
long |
viaBotUserId
If non-zero, the user identifier of the bot through which this message was sent.
|
| Constructor and Description |
|---|
QuickReplyMessage()
Describes a message that can be used for quick reply.
|
QuickReplyMessage(long id,
TdApi.MessageSendingState sendingState,
boolean canBeEdited,
long replyToMessageId,
long viaBotUserId,
long mediaAlbumId,
TdApi.MessageContent content,
TdApi.ReplyMarkup replyMarkup)
Describes a message that can be used for quick reply.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long id
public TdApi.MessageSendingState sendingState
public boolean canBeEdited
public long replyToMessageId
public long viaBotUserId
public long mediaAlbumId
public TdApi.MessageContent content
public TdApi.ReplyMarkup replyMarkup
public static final int CONSTRUCTOR
public QuickReplyMessage()
public QuickReplyMessage(long id,
TdApi.MessageSendingState sendingState,
boolean canBeEdited,
long replyToMessageId,
long viaBotUserId,
long mediaAlbumId,
TdApi.MessageContent content,
TdApi.ReplyMarkup replyMarkup)
id - Unique message identifier among all quick replies.sendingState - The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent.canBeEdited - True, if the message can be edited.replyToMessageId - The identifier of the quick reply message to which the message replies; 0 if none.viaBotUserId - If non-zero, the user identifier of the bot through which this message was sent.mediaAlbumId - Unique identifier of an album this message belongs to; 0 if none. Only audios, documents, photos and videos can be grouped together in albums.content - Content of the message.replyMarkup - Inline keyboard reply markup for the message; may be null if none.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object