36 typedef std::shared_ptr<Update>
Ptr;
std::shared_ptr< BusinessConnection > Ptr
std::shared_ptr< BusinessMessagesDeleted > Ptr
std::shared_ptr< CallbackQuery > Ptr
std::shared_ptr< ChatBoostRemoved > Ptr
std::shared_ptr< ChatBoostUpdated > Ptr
std::shared_ptr< ChatJoinRequest > Ptr
std::shared_ptr< ChatMemberUpdated > Ptr
std::shared_ptr< ChosenInlineResult > Ptr
std::shared_ptr< InlineQuery > Ptr
std::shared_ptr< Message > Ptr
std::shared_ptr< MessageReactionCountUpdated > Ptr
std::shared_ptr< MessageReactionUpdated > Ptr
std::shared_ptr< PollAnswer > Ptr
std::shared_ptr< Poll > Ptr
std::shared_ptr< PreCheckoutQuery > Ptr
std::shared_ptr< ShippingQuery > Ptr
This object represents an incoming update.
Message::Ptr editedChannelPost
Optional. New version of a channel post that is known to the bot and was edited.
ChatBoostRemoved::Ptr removedChatBoost
Optional. A boost was removed from a chat.
ChatMemberUpdated::Ptr myChatMember
Optional. The bot's chat member status was updated in a chat.
Message::Ptr editedMessage
Optional. New version of a message that is known to the bot and was edited.
CallbackQuery::Ptr callbackQuery
Optional. New incoming callback query.
ChatJoinRequest::Ptr chatJoinRequest
Optional. A request to join the chat has been sent.
MessageReactionCountUpdated::Ptr messageReactionCount
Optional. Reactions to a message with anonymous reactions were changed.
PollAnswer::Ptr pollAnswer
Optional. A user changed their answer in a non-anonymous poll.
Message::Ptr businessMessage
Optional. New non-service message from a connected business account.
BusinessMessagesDeleted::Ptr deletedBusinessMessages
Optional. Messages were deleted from a connected business account.
BusinessConnection::Ptr businessConnection
Optional. The bot was connected to or disconnected from a business account, or a user edited an exist...
Poll::Ptr poll
Optional. New poll state.
Message::Ptr editedBusinessMessage
Optional. New version of a message from a connected business account.
PreCheckoutQuery::Ptr preCheckoutQuery
Optional. New incoming pre-checkout query.
std::int32_t updateId
The update's unique identifier.
ChosenInlineResult::Ptr chosenInlineResult
Optional. The result of an inline query that was chosen by a user and sent to their chat partner.
Message::Ptr channelPost
Optional. New incoming channel post of any kind - text, photo, sticker, etc.
ShippingQuery::Ptr shippingQuery
Optional. New incoming shipping query.
Message::Ptr message
Optional. New incoming message of any kind - text, photo, sticker, etc.
ChatMemberUpdated::Ptr chatMember
Optional. A chat member's status was updated in a chat.
std::shared_ptr< Update > Ptr
ChatBoostUpdated::Ptr chatBoost
Optional. A chat boost was added or changed.
MessageReactionUpdated::Ptr messageReaction
Optional. A reaction to a message was changed by a user.
InlineQuery::Ptr inlineQuery
Optional. New incoming inline query.