tgbot-cpp
Loading...
Searching...
No Matches
Update.h
Go to the documentation of this file.
1#ifndef TGBOT_CPP_UPDATE_H
2#define TGBOT_CPP_UPDATE_H
3
10#include "tgbot/types/Poll.h"
14
15#include <cstdint>
16#include <memory>
17
18namespace TgBot {
19
117}
118
119#endif //TGBOT_CPP_UPDATE_H
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
Definition InlineQuery.h:20
std::shared_ptr< Message > Ptr
Definition Message.h:57
std::shared_ptr< PollAnswer > Ptr
Definition PollAnswer.h:20
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. At most one of the optional parameters can be present in a...
Definition Update.h:26
Message::Ptr editedChannelPost
Optional. New version of a channel post that is known to the bot and was edited.
Definition Update.h:57
ChatMemberUpdated::Ptr myChatMember
Optional. The bot's chat member status was updated in a chat. For private chats, this update is recei...
Definition Update.h:103
Message::Ptr editedMessage
Optional. New version of a message that is known to the bot and was edited.
Definition Update.h:47
CallbackQuery::Ptr callbackQuery
Optional. New incoming callback query.
Definition Update.h:73
ChatJoinRequest::Ptr chatJoinRequest
Optional. A request to join the chat has been sent. The bot must have the canInviteUsers administrato...
Definition Update.h:115
PollAnswer::Ptr pollAnswer
Optional. A user changed their answer in a non-anonymous poll. Bots receive new votes only in polls t...
Definition Update.h:97
Poll::Ptr poll
Optional. New poll state. Bots receive only updates about stopped polls and polls,...
Definition Update.h:91
PreCheckoutQuery::Ptr preCheckoutQuery
Optional. New incoming pre-checkout query. Contains full information about checkout.
Definition Update.h:85
std::int32_t updateId
The update‘s unique identifier. Update identifiers start from a certain positive number and increase ...
Definition Update.h:37
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:68
Message::Ptr channelPost
Optional. New incoming channel post of any kind — text, photo, sticker, etc.
Definition Update.h:52
ShippingQuery::Ptr shippingQuery
Optional. New incoming shipping query. Only for invoices with flexible price.
Definition Update.h:79
Message::Ptr message
Optional. New incoming message of any kind — text, photo, sticker, etc.
Definition Update.h:42
ChatMemberUpdated::Ptr chatMember
Optional. A chat member's status was updated in a chat. The bot must be an administrator in the chat ...
Definition Update.h:109
std::shared_ptr< Update > Ptr
Definition Update.h:29
InlineQuery::Ptr inlineQuery
Optional. New incoming inline query.
Definition Update.h:62
Definition Api.h:39