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