|
Telebot 9.4
Library for Telegram bot API
|
This object represents an incoming update. More...
#include <telebot-types.h>
This object represents an incoming update.
| telebot_business_connection_t telebot_update::business_connection |
The bot was connected to or disconnected from a business account
| telebot_message_t telebot_update::business_message |
New message from a connected business account
| telebot_callback_query_t telebot_update::callback_query |
New incoming callback query
| telebot_message_t telebot_update::channel_post |
New incoming channel post of any kind — text, photo, sticker, etc.
| telebot_chat_boost_updated_t telebot_update::chat_boost |
A chat boost was added or changed. The bot must be an administrator in the chat to receive these updates.
| telebot_chat_boost_removed_t telebot_update::chat_boost_removed |
A boost was removed from a chat. The bot must be an administrator in the chat to receive these updates.
| telebot_chat_join_request_t telebot_update::chat_join_request |
A request to join the chat has been sent. The bot must have the can_invite_users administrator right in the chat to receive these updates.
| telebot_chat_member_updated_t telebot_update::chat_member |
A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify "chat_member" in the list of allowed_updates to receive these updates.
| telebot_chosen_inline_result_t telebot_update::chosen_inline_result |
The result of an inline query that was chosen by a user and sent to their chat partner. Please see our documentation on the feedback collecting for details on how to enable these updates for your bot.
| telebot_business_messages_deleted_t telebot_update::deleted_business_messages |
Messages were deleted from a connected business account
| telebot_message_t telebot_update::edited_business_message |
New version of a message from a connected business account
| telebot_message_t telebot_update::edited_channel_post |
New version of a channel post that is known to the bot and was edited
| telebot_message_t telebot_update::edited_message |
New version of a message that is known to the bot and was edited
| telebot_inline_query_t telebot_update::inline_query |
New incoming inline query
| telebot_message_t telebot_update::message |
New incoming message of any kind — text, photo, sticker, etc.
| telebot_message_reaction_updated_t telebot_update::message_reaction |
A reaction to a message was changed by a user. The bot must be an administrator in the chat and must explicitly specify "message_reaction" in the list of allowed_updates to receive these updates.
| telebot_message_reaction_count_updated_t telebot_update::message_reaction_count |
Reactions to a message with anonymous reactions were changed. The bot must be an administrator in the chat and must explicitly specify "message_reaction_count" in the list of allowed_updates to receive these updates.
| telebot_chat_member_updated_t telebot_update::my_chat_member |
The bot's chat member status was updated in a chat. For private chats, this update is received only when the bot is blocked or unblocked by the user.
| telebot_poll_t telebot_update::poll |
New poll state. Bots receive only updates about stopped polls and polls, which are sent by the bot
| telebot_poll_answer_t telebot_update::poll_answer |
A user changed their answer in a non-anonymous poll. Bots receive new votes only in polls that were sent by the bot itself.
| telebot_pre_checkout_query_t telebot_update::pre_checkout_query |
New incoming pre-checkout query. Contains full information about checkout
| telebot_paid_media_purchased_t telebot_update::purchased_paid_media |
A user purchased paid media
| telebot_shipping_query_t telebot_update::shipping_query |
New incoming shipping query. Only for invoices with flexible price
| int telebot_update::update_id |
The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially.
| telebot_update_type_e telebot_update::update_type |
The type of the update.