Telebot  4.7.0
Library for Telegram bot API
telebot-types.h
Go to the documentation of this file.
1 /*
2  * telebot
3  *
4  * Copyright (c) 2015 Elmurod Talipov.
5  *
6  * Licensed under the Apache License, Version 2.0 (the License);
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 
19 #ifndef __TELEBOT_TYPES_H__
20 #define __TELEBOT_TYPES_H__
21 
22 #include <stdbool.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
44 typedef enum telebot_update_type {
58 
62 typedef struct telebot_user {
64  int id;
65 
67  bool is_bot;
68 
70  char *first_name;
71 
73  char *last_name;
74 
76  char *username;
77 
80 
83 
86 
89 
91 
95 typedef struct telebot_chat {
97  long long int id;
98 
100  char *type;
101 
103  char *title;
104 
106  char *username;
107 
109  char *first_name;
110 
112  char *last_name;
113 
116 
121  char *description;
122 
127  char *invite_link;
128 
131 
136 
141 
147 
153 
155 
156 
160 typedef struct telebot_message {
163 
166 
168  long date;
169 
172 
175 
181 
187 
193 
199 
205 
212 
214  long edit_date;
215 
221 
224 
226  char *text;
227 
233  int count_entities;
234 
240  int count_caption_entities;
241 
244 
247 
250 
252  struct telebot_game *game; //TODO:define type
253 
256  int count_photos;
257 
260 
263 
266 
269 
271  char *caption;
272 
275 
278 
281 
284 
287 
293  int count_new_chat_members;
294 
300  int count_left_chat_members;
301 
304 
307  int count_new_chat_photos;
308 
311 
314 
317 
320 
325  long long int migrate_to_chat_id;
326 
331  long long int migrate_from_chat_id;
332 
339 
344  struct telebot_invoice *invoice; //TODO:define type
345 
350  struct telebot_successful_payment *successful_payment; //TODO:define type
351 
354 
356  struct telebot_passport_data *passport_data; //TODO:define type
357 
362  struct inline_keyboard_markup *reply_markup; //TODO:define type
364 
369 typedef struct telebot_message_entity {
376  char *type;
377 
379  int offset;
380 
382  int length;
383 
388  char *url;
389 
392 
394  char *language;
396 
397 
402 typedef struct telebot_photo {
404  char *file_id;
405 
411 
413  int width;
414 
416  int height;
417 
421 
422 
427 typedef struct telebot_audio {
429  char *file_id;
430 
436 
438  int duration;
439 
441  char *performer;
442 
444  char *title;
445 
447  char *mime_type;
448 
451 
455 
456 
461 typedef struct telebot_document {
463  char *file_id;
464 
470 
473 
475  char *file_name;
476 
478  char *mime_type;
479 
483 
484 
488 typedef struct telebot_video {
490  char *file_id;
491 
497 
499  int width;
500 
502  int height;
503 
505  int duration;
506 
509 
511  char *mime_type;
512 
516 
520 typedef struct telebot_animation {
522  char *file_id;
523 
529 
531  int width;
532 
534  int height;
535 
537  int duration;
538 
541 
543  char *file_name;
544 
546  char *mime_type;
547 
551 
555 typedef struct telebot_voice {
557  char *file_id;
558 
564 
566  int duration;
567 
569  char *mime_type;
570 
574 
575 
580 typedef struct telebot_video_note {
582  char *file_id;
583 
589 
591  int length;
592 
594  int duration;
595 
598 
602 
603 
607 typedef struct telebot_contact {
610 
612  char *first_name;
613 
615  char *last_name;
616 
618  int user_id;
619 
621  char *vcard;
623 
624 
628 typedef struct telebot_location {
630  float longitude;
631 
633  float latitude;
635 
636 
640 typedef struct telebot_venue {
643 
645  char *title;
646 
648  char *address;
649 
652 
660 
664 typedef struct telebot_poll_option {
666  char *text;
667 
671 
675 typedef struct telebot_poll_answer {
677  char *poll_id;
678 
681 
687 
688  /* Number of option ids */
689  int count_option_ids;
691 
695 typedef struct telebot_poll {
697  char *id;
698 
700  char *question;
701 
704 
705  /* Number of options */
706  int count_options;
707 
710 
712  bool is_closed;
713 
716 
718  char *type;
719 
722 
730 
734 typedef struct telebot_dice {
736  int value;
738 
745 
748 
750  struct telebot_photo *photos[4];
752 
762 typedef struct telebot_file {
764  char *file_id;
765 
771 
774 
776  char *file_path;
778 
784 
790  char *type;
792 
799 typedef struct telebot_keyboard_button {
804  char *text;
805 
816 
823 
833 
834  /* Number of keyboard rows */
835  int keyboard_rows;
836 
837  /* Number of keyboard columns */
838  int keyboard_cols;
839 
847 
856 
863  bool selective;
865 
873 {
880 
887  bool selective;
889 
898 typedef struct telebot_callback_query {
900  char *id;
901 
904 
911 
917 
924 
929  char *data;
930 
937 
945 typedef struct telebot_force_reply
946 {
952 
960  bool selective;
962 
963 
967 typedef struct telebot_chat_photo {
973 
980 
985  char *big_file_id;
986 
993 
997 typedef struct telebot_chat_member {
1000 
1005  char *status;
1006 
1009 
1015 
1021 
1027 
1033 
1039 
1045 
1053 
1059 
1065 
1071 
1077 
1083 
1089 
1092 
1098 
1105 
1115 
1121 
1127 
1133 
1139 
1145 
1148 
1155 
1157 typedef struct telebot_bot_command {
1162  char *command;
1163 
1167 
1180 
1187 
1191 typedef struct telebot_update {
1197 
1201  telebot_update_type_e update_type;
1202 
1203  union {
1206 
1209 
1212 
1215 
1217  //TODO: telebot_inline_query_t inline_query;
1218 
1224  //TODO: telebot_inline_query_result_t chosen_inline_result;
1225 
1228 
1230  //TODO: telebot_shipping_query_t shipping_query;
1231 
1233  //TODO: telebot_pre_checkout_query_t pre_checkout_query;
1234 
1240 
1246  };
1248 
1252 typedef struct telebot_webhook_info {
1254  char *url;
1255 
1258 
1261 
1267 
1273 
1279 
1284  telebot_update_type_e allowed_updates[TELEBOT_UPDATE_TYPE_MAX];
1285 
1290 
1292 
1296 typedef struct telebot_handler_s *telebot_handler_t;
1297 
1302 #ifdef __cplusplus
1303 }
1304 #endif
1305 
1306 #endif /* __TELEBOT_TYPES_H__ */
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
telebot_keyboard_button_poll_type_t * request_poll
Definition: telebot-types.h:821
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 * type
Definition: telebot-types.h:790
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
This object represents one button of the reply keyboard. For simple text buttons String can be used i...
Definition: telebot-types.h:799
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
This object represents type of a poll, which is allowed to be created and sent when the corresponding...
Definition: telebot-types.h:783
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
char * first_name
Definition: telebot-types.h:612
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
char * vcard
Definition: telebot-types.h:621
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.
bool request_contact
Definition: telebot-types.h:810
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&#39;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
char * phone_number
Definition: telebot-types.h:609
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:615
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.
This object represents a phone contact.
Definition: telebot-types.h:607
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
char * text
Definition: telebot-types.h:804
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
int user_id
Definition: telebot-types.h:618
telebot_message_t message
Definition: telebot-types.h:1205
This object represent a user&#39;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
bool request_location
Definition: telebot-types.h:815
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