tgbot-cpp
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Update.h
Go to the documentation of this file.
1#ifndef TGBOT_UPDATE_H
2#define TGBOT_UPDATE_H
3
14#include "tgbot/types/Poll.h"
21
22#include <cstdint>
23#include <memory>
24
25namespace TgBot {
26
195}
196
197#endif //TGBOT_UPDATE_H
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
Definition InlineQuery.h:20
std::shared_ptr< Message > Ptr
Definition Message.h:68
std::shared_ptr< MessageReactionCountUpdated > Ptr
std::shared_ptr< MessageReactionUpdated > Ptr
std::shared_ptr< PollAnswer > Ptr
Definition PollAnswer.h:22
std::shared_ptr< Poll > Ptr
Definition Poll.h:22
std::shared_ptr< PreCheckoutQuery > Ptr
std::shared_ptr< ShippingQuery > Ptr
std::shared_ptr< SuccessfulPayment > Ptr
This object represents an incoming update.
Definition Update.h:34
Message::Ptr editedChannelPost
Optional. New version of a channel post that is known to the bot and was edited.
Definition Update.h:70
ChatBoostRemoved::Ptr removedChatBoost
Optional. A boost was removed from a chat.
Definition Update.h:186
ChatMemberUpdated::Ptr myChatMember
Optional. The bot's chat member status was updated in a chat.
Definition Update.h:158
Message::Ptr editedMessage
Optional. New version of a message that is known to the bot and was edited.
Definition Update.h:58
CallbackQuery::Ptr callbackQuery
Optional. New incoming callback query.
Definition Update.h:123
ChatJoinRequest::Ptr chatJoinRequest
Optional. A request to join the chat has been sent.
Definition Update.h:172
MessageReactionCountUpdated::Ptr messageReactionCount
Optional. Reactions to a message with anonymous reactions were changed.
Definition Update.h:106
PollAnswer::Ptr pollAnswer
Optional. A user changed their answer in a non-anonymous poll.
Definition Update.h:151
Message::Ptr businessMessage
Optional. New non-service message from a connected business account.
Definition Update.h:80
BusinessMessagesDeleted::Ptr deletedBusinessMessages
Optional. Messages were deleted from a connected business account.
Definition Update.h:90
BusinessConnection::Ptr businessConnection
Optional. The bot was connected to or disconnected from a business account, or a user edited an exist...
Definition Update.h:75
Poll::Ptr poll
Optional. New poll state.
Definition Update.h:144
Message::Ptr editedBusinessMessage
Optional. New version of a message from a connected business account.
Definition Update.h:85
PreCheckoutQuery::Ptr preCheckoutQuery
Optional. New incoming pre-checkout query.
Definition Update.h:137
std::int32_t updateId
The update's unique identifier.
Definition Update.h:46
ChosenInlineResult::Ptr chosenInlineResult
Optional. The result of an inline query that was chosen by a user and sent to their chat partner.
Definition Update.h:118
Message::Ptr channelPost
Optional. New incoming channel post of any kind - text, photo, sticker, etc.
Definition Update.h:63
std::shared_ptr< Update > Ptr
Definition Update.h:37
ShippingQuery::Ptr shippingQuery
Optional. New incoming shipping query.
Definition Update.h:130
Message::Ptr message
Optional. New incoming message of any kind - text, photo, sticker, etc.
Definition Update.h:51
ChatMemberUpdated::Ptr chatMember
Optional. A chat member's status was updated in a chat.
Definition Update.h:165
ChatBoostUpdated::Ptr chatBoost
Optional. A chat boost was added or changed.
Definition Update.h:179
MessageReactionUpdated::Ptr messageReaction
Optional. A reaction to a message was changed by a user.
Definition Update.h:98
SuccessfulPayment::Ptr successfulPayment
Optional. A boost was removed from a chat.
Definition Update.h:193
InlineQuery::Ptr inlineQuery
Optional. New incoming inline query.
Definition Update.h:111
Definition Api.h:40