1#ifndef TGBOT_CPP_UPDATE_H
2#define TGBOT_CPP_UPDATE_H
29 typedef std::shared_ptr<Update>
Ptr;
std::shared_ptr< CallbackQuery > 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< PollAnswer > Ptr
std::shared_ptr< Poll > Ptr
std::shared_ptr< PreCheckoutQuery > Ptr
std::shared_ptr< ShippingQuery > Ptr
This object represents an incoming update. At most one of the optional parameters can be present in a...
Message::Ptr editedChannelPost
Optional. New version of a channel post that is known to the bot and was edited.
ChatMemberUpdated::Ptr myChatMember
Optional. The bot's chat member status was updated in a chat. For private chats, this update is recei...
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. The bot must have the canInviteUsers administrato...
PollAnswer::Ptr pollAnswer
Optional. A user changed their answer in a non-anonymous poll. Bots receive new votes only in polls t...
Poll::Ptr poll
Optional. New poll state. Bots receive only updates about stopped polls and polls,...
PreCheckoutQuery::Ptr preCheckoutQuery
Optional. New incoming pre-checkout query. Contains full information about checkout.
std::int32_t updateId
The update‘s unique identifier. Update identifiers start from a certain positive number and increase ...
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. Only for invoices with flexible price.
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. The bot must be an administrator in the chat ...
std::shared_ptr< Update > Ptr
InlineQuery::Ptr inlineQuery
Optional. New incoming inline query.