Inherits Object.
Describes a message that can be used for quick reply.
Public Fields | |
int53 | id_ |
Unique message identifier among all quick replies. | |
object_ptr< MessageSendingState > | sending_state_ |
The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent. | |
bool | can_be_edited_ |
True, if the message can be edited. | |
int53 | reply_to_message_id_ |
The identifier of the quick reply message to which the message replies; 0 if none. | |
int53 | via_bot_user_id_ |
If non-zero, the user identifier of the bot through which this message was sent. | |
int64 | media_album_id_ |
Unique identifier of an album this message belongs to; 0 if none. Only audios, documents, photos and videos can be grouped together in albums. | |
object_ptr< MessageContent > | content_ |
Content of the message. | |
object_ptr< ReplyMarkup > | reply_markup_ |
Inline keyboard reply markup for the message; may be null if none. | |
Public Instance Methods | |
quickReplyMessage () | |
quickReplyMessage (int53 id_, object_ptr< MessageSendingState > &&sending_state_, bool can_be_edited_, int53 reply_to_message_id_, int53 via_bot_user_id_, int64 media_album_id_, object_ptr< MessageContent > &&content_, object_ptr< ReplyMarkup > &&reply_markup_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1090965757 |
Identifier uniquely determining a type of the object. | |
Describes a message that can be used for quick reply.
quickReplyMessage | ( | int53 | id_, |
object_ptr< MessageSendingState > && | sending_state_, | ||
bool | can_be_edited_, | ||
int53 | reply_to_message_id_, | ||
int53 | via_bot_user_id_, | ||
int64 | media_album_id_, | ||
object_ptr< MessageContent > && | content_, | ||
object_ptr< ReplyMarkup > && | reply_markup_ | ||
) |
Describes a message that can be used for quick reply.
[in] | id_ | Unique message identifier among all quick replies. |
[in] | sending_state_ | The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent. |
[in] | can_be_edited_ | True, if the message can be edited. |
[in] | reply_to_message_id_ | The identifier of the quick reply message to which the message replies; 0 if none. |
[in] | via_bot_user_id_ | If non-zero, the user identifier of the bot through which this message was sent. |
[in] | media_album_id_ | Unique identifier of an album this message belongs to; 0 if none. Only audios, documents, photos and videos can be grouped together in albums. |
[in] | content_ | Content of the message. |
[in] | reply_markup_ | Inline keyboard reply markup for the message; may be null if none. |
|
finalvirtual |