19 #ifndef __TELEBOT_TYPES_H__ 20 #define __TELEBOT_TYPES_H__ 240 int count_caption_entities;
293 int count_new_chat_members;
300 int count_left_chat_members;
307 int count_new_chat_photos;
689 int count_option_ids;
int update_id
Definition: telebot-types.h:1196
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...
long long int migrate_to_chat_id
Definition: telebot-types.h:325
char * file_id
Definition: telebot-types.h:404
int offset
Definition: telebot-types.h:379
Upon receiving a message with this object, Telegram clients will display a reply interface to the use...
Definition: telebot-types.h:945
int correct_option_id
Definition: telebot-types.h:728
int current_count
Definition: telebot-types.h:747
This object represents a chat photo.
Definition: telebot-types.h:967
char * id
Definition: telebot-types.h:900
bool can_join_groups
Definition: telebot-types.h:82
int forward_from_message_id
Definition: telebot-types.h:186
bool is_member
Definition: telebot-types.h:1076
int width
Definition: telebot-types.h:499
struct telebot_video_note * video_note
Definition: telebot-types.h:268
struct telebot_message * reply_to_message
Definition: telebot-types.h:211
bool can_send_messages
Definition: telebot-types.h:1082
struct telebot_user telebot_user_t
This object represents a Telegram user or bot.
char * media_group_id
Definition: telebot-types.h:220
char * file_unique_id
Definition: telebot-types.h:770
struct telebot_animation * animation
Definition: telebot-types.h:249
Definition: telebot-types.h:56
struct telebot_dice telebot_dice_t
This object represents a dice with random value from 1 to 6.
This object contains information about one answer option in a poll.
Definition: telebot-types.h:664
char * foursquare_id
Definition: telebot-types.h:651
bool can_restrict_members
Definition: telebot-types.h:1044
long long int migrate_from_chat_id
Definition: telebot-types.h:331
bool selective
Definition: telebot-types.h:887
int height
Definition: telebot-types.h:502
long edit_date
Definition: telebot-types.h:214
char * language
Definition: telebot-types.h:394
char * inline_message_id
Definition: telebot-types.h:916
telebot_callback_query_t callback_query
Definition: telebot-types.h:1227
int file_size
Definition: telebot-types.h:572
int id
Definition: telebot-types.h:64
int file_size
Definition: telebot-types.h:600
This object represents one size of a photo or a file / sticker thumbnail.
Definition: telebot-types.h:402
bool resize_keyboard
Definition: telebot-types.h:846
char * mime_type
Definition: telebot-types.h:511
char * author_signature
Definition: telebot-types.h:223
struct telebot_passport_data * passport_data
Definition: telebot-types.h:356
struct telebot_photo * thumb
Definition: telebot-types.h:453
char * title
Definition: telebot-types.h:444
This object represents an incoming update.
Definition: telebot-types.h:1191
char * command
Definition: telebot-types.h:1162
char * mime_type
Definition: telebot-types.h:546
int total_voter_count
Definition: telebot-types.h:709
This object contains information about a poll.
Definition: telebot-types.h:695
char * file_unique_id
Definition: telebot-types.h:410
char * game_short_name
Definition: telebot-types.h:935
char * small_file_unique_id
Definition: telebot-types.h:979
int height
Definition: telebot-types.h:534
char * language_code
Definition: telebot-types.h:79
char * custom_title
Definition: telebot-types.h:1008
struct telebot_user * from
Definition: telebot-types.h:903
bool is_anonymous
Definition: telebot-types.h:715
char * file_unique_id
Definition: telebot-types.h:435
struct telebot_user * new_chat_members
Definition: telebot-types.h:292
char * file_id
Definition: telebot-types.h:557
char * data
Definition: telebot-types.h:929
Describes actions that a non-administrator user is allowed to take in a chat.
Definition: telebot-types.h:1109
enum telebot_update_type telebot_update_type_e
Enumerations of telegram update types.
struct telebot_location telebot_location_t
This object represents a point on the map.
int total_count
Definition: telebot-types.h:744
char * forward_sender_name
Definition: telebot-types.h:198
bool can_add_web_page_previews
Definition: telebot-types.h:1103
This object represents a video file.
Definition: telebot-types.h:488
int * option_ids
Definition: telebot-types.h:686
bool can_send_media_messages
Definition: telebot-types.h:1120
telebot_poll_option_t * options
Definition: telebot-types.h:703
char * file_unique_id
Definition: telebot-types.h:588
struct telebot_message * message
Definition: telebot-types.h:910
bool can_send_other_messages
Definition: telebot-types.h:1097
char * type
Definition: telebot-types.h:718
int length
Definition: telebot-types.h:382
struct telebot_update telebot_update_t
This object represents an incoming update.
struct telebot_animation telebot_animation_t
This object represents a video file.
struct telebot_photo * thumb
Definition: telebot-types.h:472
bool can_be_edited
Definition: telebot-types.h:1020
telebot_update_type_e update_type
Definition: telebot-types.h:1201
char * file_unique_id
Definition: telebot-types.h:563
telebot_message_t edited_message
Definition: telebot-types.h:1208
struct telebot_video_note telebot_video_note_t
This object represents a video message (available in Telegram apps as of v.4.0).
int duration
Definition: telebot-types.h:594
char * address
Definition: telebot-types.h:648
struct telebot_chat telebot_chat_t
This object represents a chat.
char * description
Definition: telebot-types.h:1165
This object represents a point on the map.
Definition: telebot-types.h:628
char * file_path
Definition: telebot-types.h:776
struct telebot_poll_option telebot_poll_option_t
This object contains information about one answer option in a poll.
int duration
Definition: telebot-types.h:505
struct telebot_audio telebot_audio_t
This object represents an audio file to be treated as music by the Telegram clients.
char * status
Definition: telebot-types.h:1005
char * file_unique_id
Definition: telebot-types.h:496
char * invite_link
Definition: telebot-types.h:127
telebot_update_type
Enumerations of telegram update types.
Definition: telebot-types.h:44
struct telebot_location * location
Definition: telebot-types.h:642
struct telebot_chat * chat
Definition: telebot-types.h:171
struct telebot_successful_payment * successful_payment
Definition: telebot-types.h:350
Definition: telebot-types.h:54
int duration
Definition: telebot-types.h:537
char * file_id
Definition: telebot-types.h:522
struct telebot_callback_query telebot_callback_query_t
This object represents an incoming callback query from a callback button in an inline keyboard...
This object represents a voice note.
Definition: telebot-types.h:555
long long int id
Definition: telebot-types.h:97
Contains information about why a request was unsuccessful.
Definition: telebot-types.h:1171
int allowed_updates_count
Definition: telebot-types.h:1289
struct telebot_video * video
Definition: telebot-types.h:262
struct telebot_chat_permissions * permissions
Definition: telebot-types.h:135
struct telebot_response_paramters telebot_response_paramters_t
Contains information about why a request was unsuccessful.
struct telebot_dice * dice
Definition: telebot-types.h:286
This object represents a chat.
Definition: telebot-types.h:95
bool can_promote_members
Definition: telebot-types.h:1052
char * new_chat_title
Definition: telebot-types.h:303
This object represents a file ready to be downloaded.
Definition: telebot-types.h:762
bool can_add_web_page_previews
Definition: telebot-types.h:1138
struct telebot_poll * poll
Definition: telebot-types.h:283
struct telebot_venue * venue
Definition: telebot-types.h:280
char * file_name
Definition: telebot-types.h:543
struct inline_keyboard_markup * reply_markup
Definition: telebot-types.h:362
struct telebot_chat_permissions telebot_chat_permissions_t
Describes actions that a non-administrator user is allowed to take in a chat.
This object represents a bot command.
Definition: telebot-types.h:1157
struct telebot_venue telebot_venue_t
This object represents a venue.
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Definition: telebot-types.h:369
long forward_date
Definition: telebot-types.h:204
bool one_time_keyboard
Definition: telebot-types.h:855
bool remove_keyboard
Definition: telebot-types.h:879
float latitude
Definition: telebot-types.h:633
This object contains information about one member of a chat.
Definition: telebot-types.h:997
This object represents a venue.
Definition: telebot-types.h:640
bool can_send_media_messages
Definition: telebot-types.h:1088
telebot_poll_answer_t poll_anser
Definition: telebot-types.h:1245
struct telebot_user * left_chat_members
Definition: telebot-types.h:299
int slow_mode_delay
Definition: telebot-types.h:140
struct telebot_photo * new_chat_photos
Definition: telebot-types.h:306
char * description
Definition: telebot-types.h:121
struct telebot_message_entity telebot_message_entity_t
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
struct telebot_document telebot_document_t
This object represents a general file (as opposed to photos, voice messages and audio files)...
int retry_after
Definition: telebot-types.h:1185
char * question
Definition: telebot-types.h:700
char * text
Definition: telebot-types.h:666
int file_size
Definition: telebot-types.h:773
telebot_poll_t poll
Definition: telebot-types.h:1239
struct telebot_user_profile_photos telebot_user_profile_photos_t
This object represent a user's profile pictures.
char * mime_type
Definition: telebot-types.h:447
This object represents a dice with random value from 1 to 6.
Definition: telebot-types.h:734
bool can_invite_users
Definition: telebot-types.h:1064
struct telebot_invoice * invoice
Definition: telebot-types.h:344
int value
Definition: telebot-types.h:736
bool delete_chat_photo
Definition: telebot-types.h:310
struct telebot_photo * thumb
Definition: telebot-types.h:540
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 a...
struct telebot_photo * photos
Definition: telebot-types.h:255
bool can_post_messages
Definition: telebot-types.h:1026
int file_size
Definition: telebot-types.h:514
int duration
Definition: telebot-types.h:438
struct telebot_photo telebot_photo_t
This object represents one size of a photo or a file / sticker thumbnail.
char * big_file_unique_id
Definition: telebot-types.h:991
char * mime_type
Definition: telebot-types.h:569
struct telebot_location * location
Definition: telebot-types.h:277
char * file_name
Definition: telebot-types.h:475
struct telebot_user * user
Definition: telebot-types.h:680
bool can_delete_messages
Definition: telebot-types.h:1038
telebot_message_t edited_channel_post
Definition: telebot-types.h:1214
This object represents a sticker.
Definition: telebot-stickers.h:75
bool supergroup_chat_created
Definition: telebot-types.h:316
struct telebot_reply_keyboard_markup telebot_reply_keyboard_markup_t
This object represents a custom keyboard with reply options.
char * url
Definition: telebot-types.h:1254
struct telebot_photo * thumb
Definition: telebot-types.h:597
char * first_name
Definition: telebot-types.h:109
This object represents a video message (available in Telegram apps as of v.4.0).
Definition: telebot-types.h:580
int message_id
Definition: telebot-types.h:162
char * file_unique_id
Definition: telebot-types.h:528
Definition: telebot-types.h:55
struct telebot_voice * voice
Definition: telebot-types.h:265
This object represents an audio file to be treated as music by the Telegram clients.
Definition: telebot-types.h:427
struct telebot_photo * thumb
Definition: telebot-types.h:508
struct telebot_game * game
Definition: telebot-types.h:252
char * title
Definition: telebot-types.h:645
bool channel_chat_created
Definition: telebot-types.h:319
Thi object represetns information about the current status of a webhook.
Definition: telebot-types.h:1252
bool can_set_sticker_set
Definition: telebot-types.h:152
struct telebot_message telebot_message_t
This object represents a message.
bool selective
Definition: telebot-types.h:960
long date
Definition: telebot-types.h:168
bool can_change_info
Definition: telebot-types.h:1144
int max_connections
Definition: telebot-types.h:1278
Definition: telebot-types.h:45
char * file_id
Definition: telebot-types.h:463
char * sticker_set_name
Definition: telebot-types.h:146
int file_size
Definition: telebot-types.h:450
struct telebot_poll telebot_poll_t
This object contains information about a poll.
char * last_name
Definition: telebot-types.h:112
telebot_keyboard_button_t * keyboard
Definition: telebot-types.h:832
bool can_read_all_group_messages
Definition: telebot-types.h:85
char * file_id
Definition: telebot-types.h:429
char * username
Definition: telebot-types.h:106
int width
Definition: telebot-types.h:531
bool group_chat_created
Definition: telebot-types.h:313
Definition: telebot-types.h:53
char * last_name
Definition: telebot-types.h:73
This object represents a general file (as opposed to photos, voice messages and audio files)...
Definition: telebot-types.h:461
char * url
Definition: telebot-types.h:388
int height
Definition: telebot-types.h:416
struct telebot_webhook_info telebot_webhook_info_t
Thi object represetns information about the current status of a webhook.
struct telebot_audio * audio
Definition: telebot-types.h:243
bool is_bot
Definition: telebot-types.h:67
Definition: telebot-types.h:50
struct telebot_video telebot_video_t
This object represents a video file.
This object represents a custom keyboard with reply options.
Definition: telebot-types.h:827
char * type
Definition: telebot-types.h:376
bool can_pin_messages
Definition: telebot-types.h:1153
struct telebot_contact * contact
Definition: telebot-types.h:274
Definition: telebot-types.h:46
char * file_unique_id
Definition: telebot-types.h:469
struct telebot_user * user
Definition: telebot-types.h:999
bool can_send_messages
Definition: telebot-types.h:1114
struct telebot_message_entity * caption_entities
Definition: telebot-types.h:239
struct telebot_chat_photo telebot_chat_photo_t
This object represents a chat photo.
bool can_send_other_messages
Definition: telebot-types.h:1132
This object represents a video file.
Definition: telebot-types.h:520
char * file_id
Definition: telebot-types.h:582
char * connected_website
Definition: telebot-types.h:353
Definition: telebot-types.h:49
int length
Definition: telebot-types.h:591
struct telebot_document * document
Definition: telebot-types.h:246
struct telebot_chat_member telebot_chat_member_t
This object contains information about one member of a chat.
int voter_count
Definition: telebot-types.h:669
This object represents an answer of a user in a non-anonymous poll.
Definition: telebot-types.h:675
Definition: telebot-types.h:47
Definition: telebot-types.h:52
char * file_id
Definition: telebot-types.h:490
struct telebot_user * from
Definition: telebot-types.h:165
char * last_error_message
Definition: telebot-types.h:1272
int pending_update_count
Definition: telebot-types.h:1260
int file_size
Definition: telebot-types.h:481
bool can_pin_messages
Definition: telebot-types.h:1070
char * performer
Definition: telebot-types.h:441
struct telebot_message_entity * entities
Definition: telebot-types.h:232
char * poll_id
Definition: telebot-types.h:677
char * type
Definition: telebot-types.h:100
char * first_name
Definition: telebot-types.h:70
bool supports_inline_queries
Definition: telebot-types.h:88
bool can_send_polls
Definition: telebot-types.h:1091
This object represents a message.
Definition: telebot-types.h:160
struct telebot_contact telebot_contact_t
This object represents a phone contact.
char * small_file_id
Definition: telebot-types.h:972
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 i...
float longitude
Definition: telebot-types.h:630
Upon receiving a message with this object, Telegram clients will remove the current custom keyboard a...
Definition: telebot-types.h:872
bool has_custom_certificate
Definition: telebot-types.h:1257
char * caption
Definition: telebot-types.h:271
bool force_reply
Definition: telebot-types.h:951
struct telebot_chat_photo * photo
Definition: telebot-types.h:115
char * text
Definition: telebot-types.h:226
struct telebot_bot_command telebot_bot_command_t
This object represents a bot command.
char * chat_instance
Definition: telebot-types.h:923
char * username
Definition: telebot-types.h:76
int file_size
Definition: telebot-types.h:419
telebot_message_t message
Definition: telebot-types.h:1205
This object represent a user's profile pictures.
Definition: telebot-types.h:742
telebot_user_t * user
Definition: telebot-types.h:391
char * file_id
Definition: telebot-types.h:764
char * foursquare_type
Definition: telebot-types.h:658
bool can_edit_messages
Definition: telebot-types.h:1032
telebot_message_t channel_post
Definition: telebot-types.h:1211
struct telebot_voice telebot_voice_t
This object represents a voice note.
int width
Definition: telebot-types.h:413
struct telebot_force_reply telebot_force_reply_t
Upon receiving a message with this object, Telegram clients will display a reply interface to the use...
bool allows_multiple_answers
Definition: telebot-types.h:721
struct telebot_message * pinned_message
Definition: telebot-types.h:130
bool can_send_polls
Definition: telebot-types.h:1126
int migrate_to_chat_id
Definition: telebot-types.h:1179
long until_date
Definition: telebot-types.h:1014
char * forward_signature
Definition: telebot-types.h:192
struct telebot_user * forward_from
Definition: telebot-types.h:174
Definition: telebot-types.h:51
int duration
Definition: telebot-types.h:566
struct telebot_message * pinned_message
Definition: telebot-types.h:338
This object represents a Telegram user or bot.
Definition: telebot-types.h:62
Definition: telebot-types.h:48
char * title
Definition: telebot-types.h:103
struct telebot_sticker * sticker
Definition: telebot-types.h:259
char * big_file_id
Definition: telebot-types.h:985
struct telebot_poll_answer telebot_poll_answer_t
This object represents an answer of a user in a non-anonymous poll.
struct telebot_chat * forward_from_chat
Definition: telebot-types.h:180
int file_size
Definition: telebot-types.h:549
struct telebot_file telebot_file_t
This object represents a file ready to be downloaded.
char * mime_type
Definition: telebot-types.h:478
This object represents an incoming callback query from a callback button in an inline keyboard...
Definition: telebot-types.h:898
struct telebot_handler_s * telebot_handler_t
This is opaque object to represent a telebot handler.
Definition: telebot-types.h:1296
long last_error_date
Definition: telebot-types.h:1266
bool can_change_info
Definition: telebot-types.h:1058
char * id
Definition: telebot-types.h:697
bool selective
Definition: telebot-types.h:863
bool can_invite_users
Definition: telebot-types.h:1147
bool is_closed
Definition: telebot-types.h:712