Telebot
4.7.0
Library for Telegram bot API
|
This object represents an incoming update. More...
#include <telebot-types.h>
This object represents an incoming update.
telebot_callback_query_t telebot_update::callback_query |
New incoming inline query 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.New incoming callback query
telebot_message_t telebot_update::channel_post |
New incoming channel post of any kind — text, photo, sticker, etc.
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_message_t telebot_update::message |
New incoming message of any kind — text, photo, sticker, etc.
telebot_poll_t telebot_update::poll |
New incoming shipping query. Only for invoices with flexible price New incoming pre-checkout query. Contains full information about checkout 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_anser |
A user changed their answer in a non-anonymous poll. Bots receive new votes only in polls that were sent by the bot itself.
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.