tgbot-cpp
Loading...
Searching...
No Matches
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"
20
21#include <cstdint>
22#include <memory>
23
24namespace TgBot {
25
187}
188
189#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
This object represents an incoming update.
Definition Update.h:33
Message::Ptr editedChannelPost
Optional. New version of a channel post that is known to the bot and was edited.
Definition Update.h:69
ChatBoostRemoved::Ptr removedChatBoost
Optional. A boost was removed from a chat.
Definition Update.h:185
ChatMemberUpdated::Ptr myChatMember
Optional. The bot's chat member status was updated in a chat.
Definition Update.h:157
Message::Ptr editedMessage
Optional. New version of a message that is known to the bot and was edited.
Definition Update.h:57
CallbackQuery::Ptr callbackQuery
Optional. New incoming callback query.
Definition Update.h:122
ChatJoinRequest::Ptr chatJoinRequest
Optional. A request to join the chat has been sent.
Definition Update.h:171
MessageReactionCountUpdated::Ptr messageReactionCount
Optional. Reactions to a message with anonymous reactions were changed.
Definition Update.h:105
PollAnswer::Ptr pollAnswer
Optional. A user changed their answer in a non-anonymous poll.
Definition Update.h:150
Message::Ptr businessMessage
Optional. New non-service message from a connected business account.
Definition Update.h:79
BusinessMessagesDeleted::Ptr deletedBusinessMessages
Optional. Messages were deleted from a connected business account.
Definition Update.h:89
BusinessConnection::Ptr businessConnection
Optional. The bot was connected to or disconnected from a business account, or a user edited an exist...
Definition Update.h:74
Poll::Ptr poll
Optional. New poll state.
Definition Update.h:143
Message::Ptr editedBusinessMessage
Optional. New version of a message from a connected business account.
Definition Update.h:84
PreCheckoutQuery::Ptr preCheckoutQuery
Optional. New incoming pre-checkout query.
Definition Update.h:136
std::int32_t updateId
The update's unique identifier.
Definition Update.h:45
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:117
Message::Ptr channelPost
Optional. New incoming channel post of any kind - text, photo, sticker, etc.
Definition Update.h:62
ShippingQuery::Ptr shippingQuery
Optional. New incoming shipping query.
Definition Update.h:129
Message::Ptr message
Optional. New incoming message of any kind - text, photo, sticker, etc.
Definition Update.h:50
ChatMemberUpdated::Ptr chatMember
Optional. A chat member's status was updated in a chat.
Definition Update.h:164
std::shared_ptr< Update > Ptr
Definition Update.h:36
ChatBoostUpdated::Ptr chatBoost
Optional. A chat boost was added or changed.
Definition Update.h:178
MessageReactionUpdated::Ptr messageReaction
Optional. A reaction to a message was changed by a user.
Definition Update.h:97
InlineQuery::Ptr inlineQuery
Optional. New incoming inline query.
Definition Update.h:110
Definition Api.h:40