|
int32_t | messageId |
| Unique message identifier. More...
|
|
User::Ptr | from |
| Optional. Sender, can be empty for messages sent to channels. More...
|
|
int32_t | date |
| Date the message was sent in Unix time. More...
|
|
Chat::Ptr | chat |
| Conversation the message belongs to. More...
|
|
User::Ptr | forwardFrom |
| Optional. For forwarded messages, sender of the original message. More...
|
|
Chat::Ptr | forwardFromChat |
| Optional. For messages forwarded from a channel, information about the original channel. More...
|
|
int32_t | forwardFromMessageId |
| Optional. For forwarded channel posts, identifier of the original message in the channel. More...
|
|
std::string | forwardSignature |
| Optional. For messages forwarded from channels, signature of the post author if present. More...
|
|
int32_t | forwardDate |
| Optional. For forwarded messages, date the original message was sent in Unix time. More...
|
|
Message::Ptr | replyToMessage |
| Optional. For replies, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply. More...
|
|
int32_t | editDate |
| Optional. Date the message was last edited in Unix time. More...
|
|
std::string | authorSignature |
| Optional. Signature of the post author for messages in channels. More...
|
|
std::string | text |
| Optional. For text messages, the actual UTF-8 text of the message. More...
|
|
std::vector< MessageEntity::Ptr > | entities |
| Optional. For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text. More...
|
|
std::vector< MessageEntity::Ptr > | captionEntities |
| Optional. For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption. More...
|
|
Audio::Ptr | audio |
| Optional. Message is an audio file, information about the file. More...
|
|
Document::Ptr | document |
| Optional. Message is a general file, information about the file. More...
|
|
Game::Ptr | game |
| Optional. Message is a game, information about the game. More...
|
|
std::vector< PhotoSize::Ptr > | photo |
| Optional. Message is a photo, available sizes of the photo. More...
|
|
Sticker::Ptr | sticker |
| Optional. Message is a sticker, information about the sticker. More...
|
|
Video::Ptr | video |
| Optional. Message is a video, information about the video. More...
|
|
Voice::Ptr | voice |
| Optional. Message is a voice message, information about the file. More...
|
|
std::string | caption |
| Optional. Caption for the document, photo or video, 0-200 characters. More...
|
|
Contact::Ptr | contact |
| Optional. Message is a shared contact, information about the contact. More...
|
|
Location::Ptr | location |
| Optional. Message is a shared location, information about the location. More...
|
|
Venue::Ptr | venue |
| Optional. Message is a venue, information about the venue. More...
|
|
User::Ptr | newChatMember |
| Optional. A new member was added to the group, information about them (this member may be bot itself). More...
|
|
std::vector< User::Ptr > | newChatMembers |
| Optional. New members that were added to the group or supergroup and information about them (the bot itself may be one of these members) More...
|
|
User::Ptr | leftChatMember |
| Optional. A member was removed from the group, information about them (this member may be bot itself). More...
|
|
std::string | newChatTitle |
| Optional. A group title was changed to this value. More...
|
|
std::vector< PhotoSize::Ptr > | newChatPhoto |
| Optional. A group photo was change to this value. More...
|
|
bool | deleteChatPhoto = false |
| Optional. Informs that the group photo was deleted. More...
|
|
bool | groupChatCreated = false |
| Optional. Informs that the group has been created. More...
|
|
bool | supergroupChatCreated = false |
| Optional. Service message: the supergroup has been created. More...
|
|
bool | channelChatCreated = false |
| Optional. Service message: the channel has been created. More...
|
|
int64_t | migrateToChatId = 0 |
| Optional. The group has been migrated to a supergroup with the specified identifier, not exceeding 1e13 by absolute value. More...
|
|
int64_t | migrateFromChatId = 0 |
| Optional. The supergroup has been migrated from a group with the specified identifier, not exceeding 1e13 by absolute value. More...
|
|
Message::Ptr | pinnedMessage |
| Optional. Specified message was pinned. Note that the Message object in this field will not contain further reply_to_message fields even if it is itself a reply. More...
|
|
Invoice::Ptr | invoice |
| Optional. Message is an invoice for a payment, information about the invoice. More...
|
|
SuccessfulPayment::Ptr | successfulPayment |
| Optional. Message is a service message about a successful payment, information about the payment. More...
|
|
std::string | connectedWebsite |
| Optional. The domain name of the website on which the user has logged in. More...
|
|
This object represents a message.
Definition at line 54 of file Message.h.