Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations
telebot-types.h File Reference

This file contains types used to create telegram bot. More...

#include <stdbool.h>

Go to the source code of this file.

Classes

struct  telebot_birthdate
 Describes the birthdate of a user. More...
 
struct  telebot_business_intro
 Contains information about the start page settings of a Telegram Business account. More...
 
struct  telebot_business_location
 Contains information about the location of a Telegram Business account. More...
 
struct  telebot_business_opening_hours_interval
 Describes an interval of time during which a business is open. More...
 
struct  telebot_business_opening_hours
 Describes the opening hours of a business. More...
 
struct  telebot_business_bot_rights
 Represents the rights of a business bot. More...
 
struct  telebot_business_connection
 Describes the connection of the bot with a business account. More...
 
struct  telebot_business_messages_deleted
 This object is received when messages are deleted from a connected business account. More...
 
struct  telebot_user
 This object represents a Telegram user or bot. More...
 
struct  telebot_chat
 This object represents a chat. More...
 
struct  telebot_game
 This object represents a game. More...
 
struct  telebot_shipping_address
 This object represents a shipping address. More...
 
struct  telebot_order_info
 This object represents information about an order. More...
 
struct  telebot_invoice
 This object contains basic information about an invoice. More...
 
struct  telebot_successful_payment
 This object contains basic information about a successful payment. More...
 
struct  telebot_passport_file
 This object represents an internal identifier of a user in Telegram Passport. More...
 
struct  telebot_encrypted_passport_element
 This object represents one element of the Telegram Passport data. More...
 
struct  telebot_encrypted_credentials
 This object represents credentials required to decrypt the data. More...
 
struct  telebot_passport_data
 Contains information about Telegram Passport data which was shared with the bot by the user. More...
 
struct  telebot_proximity_alert_triggered
 This object represents a service message about a user in the chat triggered another user's proximity alert while sharing Live Location. More...
 
struct  telebot_forum_topic_created
 This object represents a service message about a new forum topic created in the chat. More...
 
struct  telebot_forum_topic_closed
 This object represents a service message about a forum topic closed in the chat. More...
 
struct  telebot_forum_topic_reopened
 This object represents a service message about a forum topic reopened in the chat. More...
 
struct  telebot_video_chat_scheduled
 This object represents a service message about a video chat scheduled in the chat. More...
 
struct  telebot_video_chat_started
 This object represents a service message about a video chat started in the chat. More...
 
struct  telebot_video_chat_ended
 This object represents a service message about a video chat ended in the chat. More...
 
struct  telebot_video_chat_participants_invited
 This object represents a service message about new members invited to a video chat. More...
 
struct  telebot_web_app_data
 This object represents data sent by a Web App to the bot. More...
 
struct  telebot_callback_game
 A placeholder, currently holds no information. Use BotFather to set up your game. More...
 
struct  telebot_login_url
 This object represents a parameter of the inline keyboard button used to automatically authorize a user. More...
 
struct  telebot_switch_inline_query_chosen_chat
 This object represents an inline button that switches the current user to inline mode in a chosen chat. More...
 
struct  telebot_copy_text_button
 This object represents an inline keyboard button that copies specified text to the clipboard. More...
 
struct  telebot_inline_keyboard_button
 This object represents one button of an inline keyboard. You must use exactly one of the optional fields. More...
 
struct  telebot_inline_keyboard_markup
 This object represents an inline keyboard that appears right next to the message it belongs to. More...
 
struct  telebot_forum_topic_edited
 This object represents a service message about a forum topic edited in the chat. More...
 
struct  telebot_general_forum_topic_hidden
 This object represents a service message about a general forum topic hidden in the chat. More...
 
struct  telebot_general_forum_topic_unhidden
 This object represents a service message about a general forum topic unhidden in the chat. More...
 
struct  telebot_write_access_allowed
 This object represents a service message about a user allowing a bot to write messages after adding the bot to the attachment menu or launching a Web App from a link. More...
 
struct  telebot_user_shared
 This object contains information about the user whose identifier was shared with the bot using a KeyboardButtonRequestUser button. More...
 
struct  telebot_chat_shared
 This object contains information about the chat whose identifier was shared with the bot using a KeyboardButtonRequestChat button. More...
 
struct  telebot_chat_invite_link
 This object represents a chat invite link. More...
 
struct  telebot_chat_member_updated
 This object represents changes in the status of a chat member. More...
 
struct  telebot_chat_join_request
 This object represents a join request sent to a chat. More...
 
struct  telebot_message_reaction_updated
 This object represents a change of a reaction on a message performed by a user. More...
 
struct  telebot_message_reaction_count_updated
 This object represents reaction changes on a message with anonymous reactions. More...
 
struct  telebot_reaction_type
 This object represents a reaction type. More...
 
struct  telebot_reaction_count
 This object represents a reaction count. More...
 
struct  telebot_chat_boost_updated
 This object represents a boost added to a chat. More...
 
struct  telebot_chat_boost
 This object contains information about a chat boost. More...
 
struct  telebot_chat_boost_source
 This object represents the source of a chat boost. More...
 
struct  telebot_chat_boost_removed
 This object represents a boost removed from a chat. More...
 
struct  telebot_message_origin
 This object describes the origin of a message. More...
 
struct  telebot_text_quote
 This object contains information about the quoted part of a message that is replied to by the given message. More...
 
struct  telebot_story
 This object contains information about a story. More...
 
struct  telebot_external_reply_info
 This object contains information about the message that is being replied to, which may come from another chat or forum topic. More...
 
struct  telebot_link_preview_options
 Describes the options used for link preview generation. More...
 
struct  telebot_paid_media
 This object describes paid media. More...
 
struct  telebot_paid_media_info
 Describes the paid media added to a message. More...
 
struct  telebot_giveaway
 This object represents a message about a scheduled giveaway. More...
 
struct  telebot_giveaway_winners
 This object represents a message about the completion of a giveaway with public winners. More...
 
struct  telebot_refunded_payment
 This object represents a service message about a refunded payment. More...
 
struct  telebot_users_shared
 This object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button. More...
 
struct  telebot_shared_user
 This object contains information about a user that was shared with the bot. More...
 
struct  telebot_gift
 This object represents a gift that can be sent by the bot. More...
 
struct  telebot_gift_info
 Describes a regular gift that was sent or received. More...
 
struct  telebot_unique_gift_info
 Describes a unique gift that was sent or received. More...
 
struct  telebot_unique_gift
 This object describes a unique gift that was upgraded from a regular gift. More...
 
struct  telebot_chat_boost_added
 This object represents a service message about a user boosting a chat. More...
 
struct  telebot_chat_background
 This object represents a chat background. More...
 
struct  telebot_giveaway_created
 This object represents a service message about the creation of a scheduled giveaway. More...
 
struct  telebot_giveaway_completed
 This object represents a service message about the completion of a giveaway without public winners. More...
 
struct  telebot_star_amount
 Describes an amount of Telegram Stars. More...
 
struct  telebot_affiliate_info
 Contains information about the affiliate that received a commission. More...
 
struct  telebot_revenue_withdrawal_state
 This object describes the state of a revenue withdrawal operation. More...
 
struct  telebot_transaction_partner
 This object describes the source of a transaction. More...
 
struct  telebot_star_transaction
 Describes a Telegram Star transaction. More...
 
struct  telebot_star_transactions
 Contains a list of Telegram Star transactions. More...
 
struct  telebot_paid_media_purchased
 This object contains information about a paid media purchase. More...
 
struct  telebot_passport_element_error
 This object represents an error in the Telegram Passport element. More...
 
struct  telebot_game_high_score
 This object represents a game high score row. More...
 
struct  telebot_message
 This object represents a message. More...
 
struct  telebot_message_entity
 This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc. More...
 
struct  telebot_photo
 This object represents one size of a photo or a file / sticker thumbnail. More...
 
struct  telebot_audio
 This object represents an audio file to be treated as music by the Telegram clients. More...
 
struct  telebot_gifts
 This object represent a list of gifts. More...
 
struct  telebot_user_profile_audios
 This object represents a list of user profile audios. More...
 
struct  telebot_user_gift
 This object represents a gift received by a user. More...
 
struct  telebot_user_gifts
 This object represents a list of gifts received by a user. More...
 
struct  telebot_user_chat_boosts
 This object represents a list of user chat boosts. More...
 
struct  telebot_document
 This object represents a general file (as opposed to photos, voice messages and audio files). More...
 
struct  telebot_video
 This object represents a video file. More...
 
struct  telebot_animation
 This object represents a video file. More...
 
struct  telebot_voice
 This object represents a voice note. More...
 
struct  telebot_video_note
 This object represents a video message (available in Telegram apps as of v.4.0). More...
 
struct  telebot_contact
 This object represents a phone contact. More...
 
struct  telebot_location
 This object represents a point on the map. More...
 
struct  telebot_venue
 This object represents a venue. More...
 
struct  telebot_poll_option
 This object contains information about one answer option in a poll. More...
 
struct  telebot_poll_answer
 This object represents an answer of a user in a non-anonymous poll. More...
 
struct  telebot_poll
 This object contains information about a poll. More...
 
struct  telebot_dice
 This object represents a dice with random value from 1 to 6. More...
 
struct  telebot_user_profile_photos
 This object represent a user's profile pictures. More...
 
struct  telebot_file
 This object represents a file ready to be downloaded. More...
 
struct  telebot_keyboard_button_poll_type
 This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed. More...
 
struct  telebot_keyboard_button_request_users
 This object defines the criteria used to request suitable users. More...
 
struct  telebot_keyboard_button_request_chat
 This object defines the criteria used to request a suitable chat. More...
 
struct  telebot_web_app_info
 Describes a Web App. More...
 
struct  telebot_keyboard_button
 This object represents one button of the reply keyboard. For simple text buttons String can be used instead of this object to specify text of the button. Optional fields request_contact, request_location, and request_poll are mutually exclusive. More...
 
struct  telebot_reply_keyboard_markup
 This object represents a custom keyboard with reply options. More...
 
struct  telebot_reply_keyboard_remove
 Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see telebot_reply_keyboard_markup_t). More...
 
struct  telebot_callback_query
 This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present. More...
 
struct  telebot_force_reply
 Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped ’Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. More...
 
struct  telebot_chat_photo
 This object represents a chat photo. More...
 
struct  telebot_chat_member
 This object contains information about one member of a chat. More...
 
struct  telebot_chat_permissions
 Describes actions that a non-administrator user is allowed to take in a chat. More...
 
struct  telebot_bot_command
 This object represents a bot command. More...
 
struct  telebot_response_paramters
 Contains information about why a request was unsuccessful. More...
 
struct  telebot_inline_query
 This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results. More...
 
struct  telebot_chosen_inline_result
 Represents a result of an inline query that was chosen by the user and sent to their chat partner. More...
 
struct  telebot_shipping_query
 This object contains information about an incoming shipping query. More...
 
struct  telebot_pre_checkout_query
 This object contains information about an incoming pre-checkout query. More...
 
struct  telebot_mask_position
 This object describes the position on faces where a mask should be placed by default. More...
 
struct  telebot_sticker
 This object represents a sticker. More...
 
struct  telebot_forum_topic
 This object represents a forum topic. More...
 
struct  telebot_prepared_inline_message
 This object represents a prepared inline message. More...
 
struct  telebot_sent_web_app_message
 This object represents a message sent via a Web App. More...
 
struct  telebot_update
 This object represents an incoming update. More...
 
struct  telebot_webhook_info
 Thi object represetns information about the current status of a webhook. More...
 
struct  telebot_chat_location
 Thi object represetns information about the current status of a webhook. More...
 
struct  telebot_message_auto_delete_timer_changed
 This object represents a service message about a change in auto-delete timer settings. More...
 

Typedefs

typedef enum telebot_update_type telebot_update_type_e
 Enumerations of telegram update types.
 
typedef struct telebot_birthdate telebot_birthdate_t
 Describes the birthdate of a user.
 
typedef struct telebot_business_intro telebot_business_intro_t
 Contains information about the start page settings of a Telegram Business account.
 
typedef struct telebot_business_location telebot_business_location_t
 Contains information about the location of a Telegram Business account.
 
typedef struct telebot_business_opening_hours_interval telebot_business_opening_hours_interval_t
 Describes an interval of time during which a business is open.
 
typedef struct telebot_business_opening_hours telebot_business_opening_hours_t
 Describes the opening hours of a business.
 
typedef struct telebot_business_bot_rights telebot_business_bot_rights_t
 Represents the rights of a business bot.
 
typedef struct telebot_business_connection telebot_business_connection_t
 Describes the connection of the bot with a business account.
 
typedef struct telebot_business_messages_deleted telebot_business_messages_deleted_t
 This object is received when messages are deleted from a connected business account.
 
typedef struct telebot_user telebot_user_t
 This object represents a Telegram user or bot.
 
typedef struct telebot_chat telebot_chat_t
 This object represents a chat.
 
typedef struct telebot_game telebot_game_t
 This object represents a game.
 
typedef struct telebot_shipping_address telebot_shipping_address_t
 This object represents a shipping address.
 
typedef struct telebot_order_info telebot_order_info_t
 This object represents information about an order.
 
typedef struct telebot_invoice telebot_invoice_t
 This object contains basic information about an invoice.
 
typedef struct telebot_successful_payment telebot_successful_payment_t
 This object contains basic information about a successful payment.
 
typedef struct telebot_passport_file telebot_passport_file_t
 This object represents an internal identifier of a user in Telegram Passport.
 
typedef struct telebot_encrypted_passport_element telebot_encrypted_passport_element_t
 This object represents one element of the Telegram Passport data.
 
typedef struct telebot_encrypted_credentials telebot_encrypted_credentials_t
 This object represents credentials required to decrypt the data.
 
typedef struct telebot_passport_data telebot_passport_data_t
 Contains information about Telegram Passport data which was shared with the bot by the user.
 
typedef struct telebot_proximity_alert_triggered telebot_proximity_alert_triggered_t
 This object represents a service message about a user in the chat triggered another user's proximity alert while sharing Live Location.
 
typedef struct telebot_forum_topic_created telebot_forum_topic_created_t
 This object represents a service message about a new forum topic created in the chat.
 
typedef struct telebot_forum_topic_closed telebot_forum_topic_closed_t
 This object represents a service message about a forum topic closed in the chat.
 
typedef struct telebot_forum_topic_reopened telebot_forum_topic_reopened_t
 This object represents a service message about a forum topic reopened in the chat.
 
typedef struct telebot_video_chat_scheduled telebot_video_chat_scheduled_t
 This object represents a service message about a video chat scheduled in the chat.
 
typedef struct telebot_video_chat_started telebot_video_chat_started_t
 This object represents a service message about a video chat started in the chat.
 
typedef struct telebot_video_chat_ended telebot_video_chat_ended_t
 This object represents a service message about a video chat ended in the chat.
 
typedef struct telebot_video_chat_participants_invited telebot_video_chat_participants_invited_t
 This object represents a service message about new members invited to a video chat.
 
typedef struct telebot_web_app_data telebot_web_app_data_t
 This object represents data sent by a Web App to the bot.
 
typedef struct telebot_callback_game telebot_callback_game_t
 A placeholder, currently holds no information. Use BotFather to set up your game.
 
typedef struct telebot_login_url telebot_login_url_t
 This object represents a parameter of the inline keyboard button used to automatically authorize a user.
 
typedef struct telebot_switch_inline_query_chosen_chat telebot_switch_inline_query_chosen_chat_t
 This object represents an inline button that switches the current user to inline mode in a chosen chat.
 
typedef struct telebot_copy_text_button telebot_copy_text_button_t
 This object represents an inline keyboard button that copies specified text to the clipboard.
 
typedef struct telebot_inline_keyboard_button telebot_inline_keyboard_button_t
 This object represents one button of an inline keyboard. You must use exactly one of the optional fields.
 
typedef struct telebot_inline_keyboard_markup telebot_inline_keyboard_markup_t
 This object represents an inline keyboard that appears right next to the message it belongs to.
 
typedef struct telebot_forum_topic_edited telebot_forum_topic_edited_t
 This object represents a service message about a forum topic edited in the chat.
 
typedef struct telebot_general_forum_topic_hidden telebot_general_forum_topic_hidden_t
 This object represents a service message about a general forum topic hidden in the chat.
 
typedef struct telebot_general_forum_topic_unhidden telebot_general_forum_topic_unhidden_t
 This object represents a service message about a general forum topic unhidden in the chat.
 
typedef struct telebot_write_access_allowed telebot_write_access_allowed_t
 This object represents a service message about a user allowing a bot to write messages after adding the bot to the attachment menu or launching a Web App from a link.
 
typedef struct telebot_user_shared telebot_user_shared_t
 This object contains information about the user whose identifier was shared with the bot using a KeyboardButtonRequestUser button.
 
typedef struct telebot_chat_shared telebot_chat_shared_t
 This object contains information about the chat whose identifier was shared with the bot using a KeyboardButtonRequestChat button.
 
typedef struct telebot_chat_invite_link telebot_chat_invite_link_t
 This object represents a chat invite link.
 
typedef struct telebot_chat_member_updated telebot_chat_member_updated_t
 This object represents changes in the status of a chat member.
 
typedef struct telebot_chat_join_request telebot_chat_join_request_t
 This object represents a join request sent to a chat.
 
typedef struct telebot_message_reaction_updated telebot_message_reaction_updated_t
 This object represents a change of a reaction on a message performed by a user.
 
typedef struct telebot_message_reaction_count_updated telebot_message_reaction_count_updated_t
 This object represents reaction changes on a message with anonymous reactions.
 
typedef struct telebot_reaction_type telebot_reaction_type_t
 This object represents a reaction type.
 
typedef struct telebot_reaction_count telebot_reaction_count_t
 This object represents a reaction count.
 
typedef struct telebot_chat_boost_updated telebot_chat_boost_updated_t
 This object represents a boost added to a chat.
 
typedef struct telebot_chat_boost telebot_chat_boost_t
 This object contains information about a chat boost.
 
typedef struct telebot_chat_boost_source telebot_chat_boost_source_t
 This object represents the source of a chat boost.
 
typedef struct telebot_chat_boost_removed telebot_chat_boost_removed_t
 This object represents a boost removed from a chat.
 
typedef struct telebot_message_origin telebot_message_origin_t
 This object describes the origin of a message.
 
typedef struct telebot_text_quote telebot_text_quote_t
 This object contains information about the quoted part of a message that is replied to by the given message.
 
typedef struct telebot_story telebot_story_t
 This object contains information about a story.
 
typedef struct telebot_external_reply_info telebot_external_reply_info_t
 This object contains information about the message that is being replied to, which may come from another chat or forum topic.
 
typedef struct telebot_link_preview_options telebot_link_preview_options_t
 Describes the options used for link preview generation.
 
typedef struct telebot_paid_media telebot_paid_media_t
 This object describes paid media.
 
typedef struct telebot_paid_media_info telebot_paid_media_info_t
 Describes the paid media added to a message.
 
typedef struct telebot_giveaway telebot_giveaway_t
 This object represents a message about a scheduled giveaway.
 
typedef struct telebot_giveaway_winners telebot_giveaway_winners_t
 This object represents a message about the completion of a giveaway with public winners.
 
typedef struct telebot_refunded_payment telebot_refunded_payment_t
 This object represents a service message about a refunded payment.
 
typedef struct telebot_users_shared telebot_users_shared_t
 This object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button.
 
typedef struct telebot_shared_user telebot_shared_user_t
 This object contains information about a user that was shared with the bot.
 
typedef struct telebot_gift telebot_gift_t
 This object represents a gift that can be sent by the bot.
 
typedef struct telebot_gift_info telebot_gift_info_t
 Describes a regular gift that was sent or received.
 
typedef struct telebot_unique_gift_info telebot_unique_gift_info_t
 Describes a unique gift that was sent or received.
 
typedef struct telebot_unique_gift telebot_unique_gift_t
 This object describes a unique gift that was upgraded from a regular gift.
 
typedef struct telebot_chat_boost_added telebot_chat_boost_added_t
 This object represents a service message about a user boosting a chat.
 
typedef struct telebot_chat_background telebot_chat_background_t
 This object represents a chat background.
 
typedef struct telebot_giveaway_created telebot_giveaway_created_t
 This object represents a service message about the creation of a scheduled giveaway.
 
typedef struct telebot_giveaway_completed telebot_giveaway_completed_t
 This object represents a service message about the completion of a giveaway without public winners.
 
typedef struct telebot_star_amount telebot_star_amount_t
 Describes an amount of Telegram Stars.
 
typedef struct telebot_affiliate_info telebot_affiliate_info_t
 Contains information about the affiliate that received a commission.
 
typedef struct telebot_revenue_withdrawal_state telebot_revenue_withdrawal_state_t
 This object describes the state of a revenue withdrawal operation.
 
typedef struct telebot_transaction_partner telebot_transaction_partner_t
 This object describes the source of a transaction.
 
typedef struct telebot_star_transaction telebot_star_transaction_t
 Describes a Telegram Star transaction.
 
typedef struct telebot_star_transactions telebot_star_transactions_t
 Contains a list of Telegram Star transactions.
 
typedef struct telebot_paid_media_purchased telebot_paid_media_purchased_t
 This object contains information about a paid media purchase.
 
typedef struct telebot_passport_element_error telebot_passport_element_error_t
 This object represents an error in the Telegram Passport element.
 
typedef struct telebot_game_high_score telebot_game_high_score_t
 This object represents a game high score row.
 
typedef struct telebot_message telebot_message_t
 This object represents a message.
 
typedef struct telebot_message_entity telebot_message_entity_t
 This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
 
typedef struct telebot_photo telebot_photo_t
 This object represents one size of a photo or a file / sticker thumbnail.
 
typedef struct telebot_audio telebot_audio_t
 This object represents an audio file to be treated as music by the Telegram clients.
 
typedef struct telebot_gifts telebot_gifts_t
 This object represent a list of gifts.
 
typedef struct telebot_user_profile_audios telebot_user_profile_audios_t
 This object represents a list of user profile audios.
 
typedef struct telebot_user_gift telebot_user_gift_t
 This object represents a gift received by a user.
 
typedef struct telebot_user_gifts telebot_user_gifts_t
 This object represents a list of gifts received by a user.
 
typedef struct telebot_user_chat_boosts telebot_user_chat_boosts_t
 This object represents a list of user chat boosts.
 
typedef struct telebot_document telebot_document_t
 This object represents a general file (as opposed to photos, voice messages and audio files).
 
typedef struct telebot_video telebot_video_t
 This object represents a video file.
 
typedef struct telebot_animation telebot_animation_t
 This object represents a video file.
 
typedef struct telebot_voice telebot_voice_t
 This object represents a voice note.
 
typedef struct telebot_video_note telebot_video_note_t
 This object represents a video message (available in Telegram apps as of v.4.0).
 
typedef struct telebot_contact telebot_contact_t
 This object represents a phone contact.
 
typedef struct telebot_location telebot_location_t
 This object represents a point on the map.
 
typedef struct telebot_venue telebot_venue_t
 This object represents a venue.
 
typedef struct telebot_poll_option telebot_poll_option_t
 This object contains information about one answer option in a poll.
 
typedef struct telebot_poll_answer telebot_poll_answer_t
 This object represents an answer of a user in a non-anonymous poll.
 
typedef struct telebot_poll telebot_poll_t
 This object contains information about a poll.
 
typedef struct telebot_dice telebot_dice_t
 This object represents a dice with random value from 1 to 6.
 
typedef struct telebot_user_profile_photos telebot_user_profile_photos_t
 This object represent a user's profile pictures.
 
typedef struct telebot_file telebot_file_t
 This object represents a file ready to be downloaded.
 
typedef struct telebot_keyboard_button_poll_type telebot_keyboard_button_poll_type_t
 This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.
 
typedef struct telebot_keyboard_button_request_users telebot_keyboard_button_request_users_t
 This object defines the criteria used to request suitable users.
 
typedef struct telebot_keyboard_button_request_chat telebot_keyboard_button_request_chat_t
 This object defines the criteria used to request a suitable chat.
 
typedef struct telebot_web_app_info telebot_web_app_info_t
 Describes a Web App.
 
typedef struct telebot_keyboard_button telebot_keyboard_button_t
 This object represents one button of the reply keyboard. For simple text buttons String can be used instead of this object to specify text of the button. Optional fields request_contact, request_location, and request_poll are mutually exclusive.
 
typedef struct telebot_reply_keyboard_markup telebot_reply_keyboard_markup_t
 This object represents a custom keyboard with reply options.
 
typedef struct telebot_reply_keyboard_remove telebot_reply_keyboard_remove_t
 Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see telebot_reply_keyboard_markup_t).
 
typedef struct telebot_callback_query telebot_callback_query_t
 This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present.
 
typedef struct telebot_force_reply telebot_force_reply_t
 Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped ’Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode.
 
typedef struct telebot_chat_photo telebot_chat_photo_t
 This object represents a chat photo.
 
typedef struct telebot_chat_member telebot_chat_member_t
 This object contains information about one member of a chat.
 
typedef struct telebot_chat_permissions telebot_chat_permissions_t
 Describes actions that a non-administrator user is allowed to take in a chat.
 
typedef struct telebot_bot_command telebot_bot_command_t
 This object represents a bot command.
 
typedef struct telebot_response_paramters telebot_response_paramters_t
 Contains information about why a request was unsuccessful.
 
typedef struct telebot_inline_query telebot_inline_query_t
 This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.
 
typedef struct telebot_chosen_inline_result telebot_chosen_inline_result_t
 Represents a result of an inline query that was chosen by the user and sent to their chat partner.
 
typedef struct telebot_shipping_query telebot_shipping_query_t
 This object contains information about an incoming shipping query.
 
typedef struct telebot_pre_checkout_query telebot_pre_checkout_query_t
 This object contains information about an incoming pre-checkout query.
 
typedef struct telebot_mask_position telebot_mask_position_t
 This object describes the position on faces where a mask should be placed by default.
 
typedef struct telebot_sticker telebot_sticker_t
 This object represents a sticker.
 
typedef struct telebot_forum_topic telebot_forum_topic_t
 This object represents a forum topic.
 
typedef struct telebot_prepared_inline_message telebot_prepared_inline_message_t
 This object represents a prepared inline message.
 
typedef struct telebot_sent_web_app_message telebot_sent_web_app_message_t
 This object represents a message sent via a Web App.
 
typedef struct telebot_update telebot_update_t
 This object represents an incoming update.
 
typedef struct telebot_webhook_info telebot_webhook_info_t
 Thi object represetns information about the current status of a webhook.
 
typedef struct telebot_chat_location telebot_chat_location_t
 Thi object represetns information about the current status of a webhook.
 
typedef struct telebot_message_auto_delete_timer_changed telebot_message_auto_delete_timer_changed_t
 This object represents a service message about a change in auto-delete timer settings.
 
typedef struct telebot_handler * telebot_handler_t
 This is opaque object to represent a telebot handler.
 

Enumerations

enum  telebot_update_type {
  TELEBOT_UPDATE_TYPE_MESSAGE = 0 , TELEBOT_UPDATE_TYPE_EDITED_MESSAGE , TELEBOT_UPDATE_TYPE_CHANNEL_POST , TELEBOT_UPDATE_TYPE_EDITED_CHANNEL_POST ,
  TELEBOT_UPDATE_TYPE_BUSINESS_CONNECTION , TELEBOT_UPDATE_TYPE_BUSINESS_MESSAGE , TELEBOT_UPDATE_TYPE_EDITED_BUSINESS_MESSAGE , TELEBOT_UPDATE_TYPE_DELETED_BUSINESS_MESSAGES ,
  TELEBOT_UPDATE_TYPE_MESSAGE_REACTION , TELEBOT_UPDATE_TYPE_MESSAGE_REACTION_COUNT , TELEBOT_UPDATE_TYPE_INLINE_QUERY , TELEBOT_UPDATE_TYPE_CHOSEN_INLINE_RESULT ,
  TELEBOT_UPDATE_TYPE_CALLBACK_QUERY , TELEBOT_UPDATE_TYPE_SHIPPING_QUERY , TELEBOT_UPDATE_TYPE_PRE_CHECKOUT_QUERY , TELEBOT_UPDATE_TYPE_PURCHASED_PAID_MEDIA ,
  TELEBOT_UPDATE_TYPE_POLL , TELEBOT_UPDATE_TYPE_POLL_ANSWER , TELEBOT_UPDATE_TYPE_MY_CHAT_MEMBER , TELEBOT_UPDATE_TYPE_CHAT_MEMBER ,
  TELEBOT_UPDATE_TYPE_CHAT_JOIN_REQUEST , TELEBOT_UPDATE_TYPE_CHAT_BOOST , TELEBOT_UPDATE_TYPE_REMOVED_CHAT_BOOST , TELEBOT_UPDATE_TYPE_MAX
}
 Enumerations of telegram update types. More...
 

Detailed Description

This file contains types used to create telegram bot.

Author
Elmurod Talipov
Date
2020-04-19