From d03eda27cdbe75470068d7513ecf510d8d342cf5 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:46:48 +0300 Subject: Docs --- Doxyfile | 44 +- docs/_api_8h.html | 129 + docs/_api_8h_source.html | 154 ++ docs/_audio_8h.html | 116 + docs/_audio_8h_source.html | 107 + docs/_bot_8h.html | 118 + docs/_bot_8h_source.html | 111 + docs/_callback_query_8h.html | 118 + docs/_callback_query_8h_source.html | 112 + docs/_chat_8h.html | 116 + docs/_chat_8h_source.html | 113 + docs/_chat_member_8h.html | 117 + docs/_chat_member_8h_source.html | 105 + docs/_chosen_inline_result_8h.html | 118 + docs/_chosen_inline_result_8h_source.html | 110 + docs/_contact_8h.html | 116 + docs/_contact_8h_source.html | 105 + docs/_document_8h.html | 117 + docs/_document_8h_source.html | 108 + docs/_event_broadcaster_8h.html | 122 + docs/_event_broadcaster_8h_source.html | 120 + docs/_event_handler_8h.html | 117 + docs/_event_handler_8h_source.html | 109 + docs/_file_8h.html | 116 + docs/_file_8h_source.html | 104 + docs/_force_reply_8h.html | 116 + docs/_force_reply_8h_source.html | 105 + docs/_generic_reply_8h.html | 115 + docs/_generic_reply_8h_source.html | 102 + docs/_http_client_8h.html | 119 + docs/_http_client_8h_source.html | 106 + docs/_http_parser_8h.html | 119 + docs/_http_parser_8h_source.html | 113 + docs/_http_req_arg_8h.html | 118 + docs/_http_req_arg_8h_source.html | 106 + docs/_http_server_8h.html | 119 + docs/_http_server_8h_source.html | 116 + docs/_inline_keyboard_button_8h.html | 116 + docs/_inline_keyboard_button_8h_source.html | 106 + docs/_inline_keyboard_markup_8h.html | 118 + docs/_inline_keyboard_markup_8h_source.html | 105 + docs/_inline_query_8h.html | 118 + docs/_inline_query_8h_source.html | 110 + docs/_inline_query_result_8h.html | 118 + docs/_inline_query_result_8h_source.html | 113 + docs/_inline_query_result_article_8h.html | 117 + docs/_inline_query_result_article_8h_source.html | 112 + docs/_inline_query_result_audio_8h.html | 117 + docs/_inline_query_result_audio_8h_source.html | 109 + docs/_inline_query_result_cached_audio_8h.html | 117 + ...inline_query_result_cached_audio_8h_source.html | 107 + docs/_inline_query_result_cached_document_8h.html | 117 + ...ine_query_result_cached_document_8h_source.html | 108 + docs/_inline_query_result_cached_gif_8h.html | 117 + .../_inline_query_result_cached_gif_8h_source.html | 107 + docs/_inline_query_result_cached_mpeg4_gif_8h.html | 117 + ...ne_query_result_cached_mpeg4_gif_8h_source.html | 107 + docs/_inline_query_result_cached_photo_8h.html | 117 + ...inline_query_result_cached_photo_8h_source.html | 108 + docs/_inline_query_result_cached_sticker_8h.html | 117 + ...line_query_result_cached_sticker_8h_source.html | 107 + docs/_inline_query_result_cached_video_8h.html | 117 + ...inline_query_result_cached_video_8h_source.html | 108 + docs/_inline_query_result_cached_voice_8h.html | 117 + ...inline_query_result_cached_voice_8h_source.html | 107 + docs/_inline_query_result_contact_8h.html | 117 + docs/_inline_query_result_contact_8h_source.html | 112 + docs/_inline_query_result_document_8h.html | 117 + docs/_inline_query_result_document_8h_source.html | 112 + docs/_inline_query_result_game_8h.html | 117 + docs/_inline_query_result_game_8h_source.html | 107 + docs/_inline_query_result_gif_8h.html | 117 + docs/_inline_query_result_gif_8h_source.html | 110 + docs/_inline_query_result_location_8h.html | 117 + docs/_inline_query_result_location_8h_source.html | 111 + docs/_inline_query_result_mpeg4_gif_8h.html | 114 + docs/_inline_query_result_mpeg4_gif_8h_source.html | 109 + docs/_inline_query_result_photo_8h.html | 117 + docs/_inline_query_result_photo_8h_source.html | 111 + docs/_inline_query_result_venue_8h.html | 117 + docs/_inline_query_result_venue_8h_source.html | 113 + docs/_inline_query_result_video_8h.html | 114 + docs/_inline_query_result_video_8h_source.html | 112 + docs/_inline_query_result_voice_8h.html | 114 + docs/_inline_query_result_voice_8h_source.html | 107 + docs/_input_contact_message_content_8h.html | 116 + docs/_input_contact_message_content_8h_source.html | 107 + docs/_input_file_8h.html | 117 + docs/_input_file_8h_source.html | 104 + docs/_input_location_message_content_8h.html | 115 + .../_input_location_message_content_8h_source.html | 106 + docs/_input_message_content_8h.html | 115 + docs/_input_message_content_8h_source.html | 104 + docs/_input_text_message_content_8h.html | 116 + docs/_input_text_message_content_8h_source.html | 107 + docs/_input_venue_message_content_8h.html | 116 + docs/_input_venue_message_content_8h_source.html | 109 + docs/_keyboard_button_8h.html | 116 + docs/_keyboard_button_8h_source.html | 104 + docs/_location_8h.html | 115 + docs/_location_8h_source.html | 103 + docs/_message_8h.html | 130 + docs/_message_8h_source.html | 158 ++ docs/_message_entity_8h.html | 117 + docs/_message_entity_8h_source.html | 108 + docs/_photo_size_8h.html | 116 + docs/_photo_size_8h_source.html | 105 + docs/_reply_keyboard_markup_8h.html | 119 + docs/_reply_keyboard_markup_8h_source.html | 108 + docs/_reply_keyboard_remove_8h.html | 116 + docs/_reply_keyboard_remove_8h_source.html | 105 + docs/_response_parameters_8h.html | 115 + docs/_response_parameters_8h_source.html | 103 + docs/_sticker_8h.html | 117 + docs/_sticker_8h_source.html | 109 + docs/_string_tools_8h.html | 129 + docs/_string_tools_8h.js | 10 + docs/_string_tools_8h_source.html | 105 + docs/_tg_exception_8h.html | 116 + docs/_tg_exception_8h_source.html | 101 + docs/_tg_long_poll_8h.html | 117 + docs/_tg_long_poll_8h_source.html | 108 + docs/_tg_type_parser_8h.html | 169 ++ docs/_tg_type_parser_8h_source.html | 322 +++ docs/_tg_webhook_local_server_8h.html | 100 + docs/_tg_webhook_local_server_8h_source.html | 100 + docs/_tg_webhook_server_8h.html | 118 + docs/_tg_webhook_server_8h_source.html | 115 + docs/_tg_webhook_tcp_server_8h.html | 115 + docs/_tg_webhook_tcp_server_8h_source.html | 108 + docs/_update_8h.html | 119 + docs/_update_8h_source.html | 117 + docs/_url_8h.html | 115 + docs/_url_8h_source.html | 106 + docs/_user_8h.html | 116 + docs/_user_8h_source.html | 105 + docs/_user_profile_photos_8h.html | 117 + docs/_user_profile_photos_8h_source.html | 104 + docs/_venue_8h.html | 117 + docs/_venue_8h_source.html | 107 + docs/_video_8h.html | 117 + docs/_video_8h_source.html | 110 + docs/_voice_8h.html | 116 + docs/_voice_8h_source.html | 105 + docs/_webhook_info_8h.html | 117 + docs/_webhook_info_8h_source.html | 108 + docs/annotated.html | 146 +- docs/annotated_dup.js | 2 +- docs/class_tg_bot_1_1_api-members.html | 139 + docs/class_tg_bot_1_1_api.html | 2201 ++++++++++++++++ docs/class_tg_bot_1_1_api.js | 42 + docs/class_tg_bot_1_1_audio-members.html | 107 + docs/class_tg_bot_1_1_audio.html | 252 ++ docs/class_tg_bot_1_1_audio.js | 10 + docs/class_tg_bot_1_1_bot-members.html | 105 + docs/class_tg_bot_1_1_bot.html | 266 ++ docs/class_tg_bot_1_1_bot.js | 8 + docs/class_tg_bot_1_1_callback_query-members.html | 108 + docs/class_tg_bot_1_1_callback_query.html | 270 ++ docs/class_tg_bot_1_1_callback_query.js | 11 + docs/class_tg_bot_1_1_chat-members.html | 109 + docs/class_tg_bot_1_1_chat.html | 309 +++ docs/class_tg_bot_1_1_chat.js | 17 + docs/class_tg_bot_1_1_chat_member-members.html | 103 + docs/class_tg_bot_1_1_chat_member.html | 176 ++ docs/class_tg_bot_1_1_chat_member.js | 6 + ...ss_tg_bot_1_1_chosen_inline_result-members.html | 106 + docs/class_tg_bot_1_1_chosen_inline_result.html | 233 ++ docs/class_tg_bot_1_1_chosen_inline_result.js | 9 + docs/class_tg_bot_1_1_contact-members.html | 105 + docs/class_tg_bot_1_1_contact.html | 214 ++ docs/class_tg_bot_1_1_contact.js | 8 + docs/class_tg_bot_1_1_document-members.html | 106 + docs/class_tg_bot_1_1_document.html | 233 ++ docs/class_tg_bot_1_1_document.js | 9 + ...class_tg_bot_1_1_event_broadcaster-members.html | 111 + docs/class_tg_bot_1_1_event_broadcaster.html | 449 ++++ docs/class_tg_bot_1_1_event_broadcaster.js | 14 + docs/class_tg_bot_1_1_event_handler-members.html | 102 + docs/class_tg_bot_1_1_event_handler.html | 175 ++ docs/class_tg_bot_1_1_event_handler.js | 5 + docs/class_tg_bot_1_1_file-members.html | 104 + docs/class_tg_bot_1_1_file.html | 195 ++ docs/class_tg_bot_1_1_file.js | 7 + docs/class_tg_bot_1_1_force_reply-members.html | 104 + docs/class_tg_bot_1_1_force_reply.html | 194 ++ docs/class_tg_bot_1_1_force_reply.js | 6 + docs/class_tg_bot_1_1_force_reply.png | Bin 0 -> 599 bytes docs/class_tg_bot_1_1_generic_reply-members.html | 102 + docs/class_tg_bot_1_1_generic_reply.html | 179 ++ docs/class_tg_bot_1_1_generic_reply.js | 5 + docs/class_tg_bot_1_1_generic_reply.png | Bin 0 -> 1578 bytes docs/class_tg_bot_1_1_http_client-members.html | 102 + docs/class_tg_bot_1_1_http_client.html | 178 ++ docs/class_tg_bot_1_1_http_client.js | 4 + docs/class_tg_bot_1_1_http_parser-members.html | 110 + docs/class_tg_bot_1_1_http_parser.html | 439 ++++ docs/class_tg_bot_1_1_http_parser.js | 12 + docs/class_tg_bot_1_1_http_req_arg-members.html | 106 + docs/class_tg_bot_1_1_http_req_arg.html | 276 ++ docs/class_tg_bot_1_1_http_req_arg.js | 9 + docs/class_tg_bot_1_1_http_server-members.html | 107 + docs/class_tg_bot_1_1_http_server.html | 354 +++ docs/class_tg_bot_1_1_http_server.js | 11 + docs/class_tg_bot_1_1_http_server.png | Bin 0 -> 857 bytes ...bot_1_1_http_server_1_1_connection-members.html | 105 + ...lass_tg_bot_1_1_http_server_1_1_connection.html | 268 ++ .../class_tg_bot_1_1_http_server_1_1_connection.js | 8 + ..._tg_bot_1_1_inline_keyboard_button-members.html | 106 + docs/class_tg_bot_1_1_inline_keyboard_button.html | 233 ++ docs/class_tg_bot_1_1_inline_keyboard_button.js | 9 + ..._tg_bot_1_1_inline_keyboard_markup-members.html | 103 + docs/class_tg_bot_1_1_inline_keyboard_markup.html | 175 ++ docs/class_tg_bot_1_1_inline_keyboard_markup.js | 5 + docs/class_tg_bot_1_1_inline_keyboard_markup.png | Bin 0 -> 748 bytes docs/class_tg_bot_1_1_inline_query-members.html | 106 + docs/class_tg_bot_1_1_inline_query.html | 233 ++ docs/class_tg_bot_1_1_inline_query.js | 9 + ...ass_tg_bot_1_1_inline_query_result-members.html | 109 + docs/class_tg_bot_1_1_inline_query_result.html | 343 +++ docs/class_tg_bot_1_1_inline_query_result.js | 12 + docs/class_tg_bot_1_1_inline_query_result.png | Bin 0 -> 11424 bytes ...ot_1_1_inline_query_result_article-members.html | 117 + ...ass_tg_bot_1_1_inline_query_result_article.html | 346 +++ ...class_tg_bot_1_1_inline_query_result_article.js | 11 + ...lass_tg_bot_1_1_inline_query_result_article.png | Bin 0 -> 778 bytes ..._bot_1_1_inline_query_result_audio-members.html | 114 + ...class_tg_bot_1_1_inline_query_result_audio.html | 289 +++ docs/class_tg_bot_1_1_inline_query_result_audio.js | 8 + .../class_tg_bot_1_1_inline_query_result_audio.png | Bin 0 -> 772 bytes ...1_inline_query_result_cached_audio-members.html | 112 + ...g_bot_1_1_inline_query_result_cached_audio.html | 251 ++ ..._tg_bot_1_1_inline_query_result_cached_audio.js | 6 + ...tg_bot_1_1_inline_query_result_cached_audio.png | Bin 0 -> 848 bytes ...nline_query_result_cached_document-members.html | 113 + ...ot_1_1_inline_query_result_cached_document.html | 270 ++ ..._bot_1_1_inline_query_result_cached_document.js | 7 + ...bot_1_1_inline_query_result_cached_document.png | Bin 0 -> 858 bytes ...1_1_inline_query_result_cached_gif-members.html | 112 + ..._tg_bot_1_1_inline_query_result_cached_gif.html | 251 ++ ...ss_tg_bot_1_1_inline_query_result_cached_gif.js | 6 + ...s_tg_bot_1_1_inline_query_result_cached_gif.png | Bin 0 -> 828 bytes ...line_query_result_cached_mpeg4_gif-members.html | 112 + ...t_1_1_inline_query_result_cached_mpeg4_gif.html | 251 ++ ...bot_1_1_inline_query_result_cached_mpeg4_gif.js | 6 + ...ot_1_1_inline_query_result_cached_mpeg4_gif.png | Bin 0 -> 877 bytes ...1_inline_query_result_cached_photo-members.html | 113 + ...g_bot_1_1_inline_query_result_cached_photo.html | 270 ++ ..._tg_bot_1_1_inline_query_result_cached_photo.js | 7 + ...tg_bot_1_1_inline_query_result_cached_photo.png | Bin 0 -> 830 bytes ...inline_query_result_cached_sticker-members.html | 112 + ...bot_1_1_inline_query_result_cached_sticker.html | 251 ++ ...g_bot_1_1_inline_query_result_cached_sticker.js | 6 + ..._bot_1_1_inline_query_result_cached_sticker.png | Bin 0 -> 856 bytes ...1_inline_query_result_cached_video-members.html | 113 + ...g_bot_1_1_inline_query_result_cached_video.html | 270 ++ ..._tg_bot_1_1_inline_query_result_cached_video.js | 7 + ...tg_bot_1_1_inline_query_result_cached_video.png | Bin 0 -> 846 bytes ...1_inline_query_result_cached_voice-members.html | 112 + ...g_bot_1_1_inline_query_result_cached_voice.html | 251 ++ ..._tg_bot_1_1_inline_query_result_cached_voice.js | 6 + ...tg_bot_1_1_inline_query_result_cached_voice.png | Bin 0 -> 846 bytes ...ot_1_1_inline_query_result_contact-members.html | 117 + ...ass_tg_bot_1_1_inline_query_result_contact.html | 346 +++ ...class_tg_bot_1_1_inline_query_result_contact.js | 11 + ...lass_tg_bot_1_1_inline_query_result_contact.png | Bin 0 -> 789 bytes ...t_1_1_inline_query_result_document-members.html | 117 + ...ss_tg_bot_1_1_inline_query_result_document.html | 346 +++ ...lass_tg_bot_1_1_inline_query_result_document.js | 11 + ...ass_tg_bot_1_1_inline_query_result_document.png | Bin 0 -> 814 bytes ...g_bot_1_1_inline_query_result_game-members.html | 112 + .../class_tg_bot_1_1_inline_query_result_game.html | 251 ++ docs/class_tg_bot_1_1_inline_query_result_game.js | 6 + docs/class_tg_bot_1_1_inline_query_result_game.png | Bin 0 -> 778 bytes ...tg_bot_1_1_inline_query_result_gif-members.html | 115 + docs/class_tg_bot_1_1_inline_query_result_gif.html | 308 +++ docs/class_tg_bot_1_1_inline_query_result_gif.js | 9 + docs/class_tg_bot_1_1_inline_query_result_gif.png | Bin 0 -> 747 bytes ...t_1_1_inline_query_result_location-members.html | 116 + ...ss_tg_bot_1_1_inline_query_result_location.html | 327 +++ ...lass_tg_bot_1_1_inline_query_result_location.js | 10 + ...ass_tg_bot_1_1_inline_query_result_location.png | Bin 0 -> 801 bytes ..._1_1_inline_query_result_mpeg4_gif-members.html | 115 + ...s_tg_bot_1_1_inline_query_result_mpeg4_gif.html | 308 +++ ...ass_tg_bot_1_1_inline_query_result_mpeg4_gif.js | 9 + ...ss_tg_bot_1_1_inline_query_result_mpeg4_gif.png | Bin 0 -> 831 bytes ..._bot_1_1_inline_query_result_photo-members.html | 116 + ...class_tg_bot_1_1_inline_query_result_photo.html | 327 +++ docs/class_tg_bot_1_1_inline_query_result_photo.js | 10 + .../class_tg_bot_1_1_inline_query_result_photo.png | Bin 0 -> 760 bytes ..._bot_1_1_inline_query_result_venue-members.html | 118 + ...class_tg_bot_1_1_inline_query_result_venue.html | 365 +++ docs/class_tg_bot_1_1_inline_query_result_venue.js | 12 + .../class_tg_bot_1_1_inline_query_result_venue.png | Bin 0 -> 776 bytes ..._bot_1_1_inline_query_result_video-members.html | 118 + ...class_tg_bot_1_1_inline_query_result_video.html | 365 +++ docs/class_tg_bot_1_1_inline_query_result_video.js | 12 + .../class_tg_bot_1_1_inline_query_result_video.png | Bin 0 -> 770 bytes ..._bot_1_1_inline_query_result_voice-members.html | 113 + ...class_tg_bot_1_1_inline_query_result_voice.html | 270 ++ docs/class_tg_bot_1_1_inline_query_result_voice.js | 7 + .../class_tg_bot_1_1_inline_query_result_voice.png | Bin 0 -> 768 bytes ..._1_1_input_contact_message_content-members.html | 109 + ...s_tg_bot_1_1_input_contact_message_content.html | 278 ++ ...ass_tg_bot_1_1_input_contact_message_content.js | 9 + ...ss_tg_bot_1_1_input_contact_message_content.png | Bin 0 -> 839 bytes docs/class_tg_bot_1_1_input_file-members.html | 104 + docs/class_tg_bot_1_1_input_file.html | 195 ++ docs/class_tg_bot_1_1_input_file.js | 7 + ...1_1_input_location_message_content-members.html | 108 + ..._tg_bot_1_1_input_location_message_content.html | 259 ++ ...ss_tg_bot_1_1_input_location_message_content.js | 8 + ...s_tg_bot_1_1_input_location_message_content.png | Bin 0 -> 857 bytes ...s_tg_bot_1_1_input_message_content-members.html | 104 + docs/class_tg_bot_1_1_input_message_content.html | 233 ++ docs/class_tg_bot_1_1_input_message_content.js | 7 + docs/class_tg_bot_1_1_input_message_content.png | Bin 0 -> 1699 bytes ...bot_1_1_input_text_message_content-members.html | 109 + ...lass_tg_bot_1_1_input_text_message_content.html | 278 ++ .../class_tg_bot_1_1_input_text_message_content.js | 9 + ...class_tg_bot_1_1_input_text_message_content.png | Bin 0 -> 829 bytes ...ot_1_1_input_venue_message_content-members.html | 111 + ...ass_tg_bot_1_1_input_venue_message_content.html | 316 +++ ...class_tg_bot_1_1_input_venue_message_content.js | 11 + ...lass_tg_bot_1_1_input_venue_message_content.png | Bin 0 -> 851 bytes docs/class_tg_bot_1_1_keyboard_button-members.html | 104 + docs/class_tg_bot_1_1_keyboard_button.html | 195 ++ docs/class_tg_bot_1_1_keyboard_button.js | 7 + docs/class_tg_bot_1_1_location-members.html | 103 + docs/class_tg_bot_1_1_location.html | 176 ++ docs/class_tg_bot_1_1_location.js | 6 + docs/class_tg_bot_1_1_message-members.html | 135 + docs/class_tg_bot_1_1_message.html | 799 ++++++ docs/class_tg_bot_1_1_message.js | 38 + docs/class_tg_bot_1_1_message_entity-members.html | 106 + docs/class_tg_bot_1_1_message_entity.html | 233 ++ docs/class_tg_bot_1_1_message_entity.js | 9 + docs/class_tg_bot_1_1_photo_size-members.html | 105 + docs/class_tg_bot_1_1_photo_size.html | 214 ++ docs/class_tg_bot_1_1_photo_size.js | 8 + ...s_tg_bot_1_1_reply_keyboard_markup-members.html | 106 + docs/class_tg_bot_1_1_reply_keyboard_markup.html | 232 ++ docs/class_tg_bot_1_1_reply_keyboard_markup.js | 8 + docs/class_tg_bot_1_1_reply_keyboard_markup.png | Bin 0 -> 777 bytes ...s_tg_bot_1_1_reply_keyboard_remove-members.html | 104 + docs/class_tg_bot_1_1_reply_keyboard_remove.html | 194 ++ docs/class_tg_bot_1_1_reply_keyboard_remove.js | 6 + docs/class_tg_bot_1_1_reply_keyboard_remove.png | Bin 0 -> 772 bytes ...ass_tg_bot_1_1_response_parameters-members.html | 103 + docs/class_tg_bot_1_1_response_parameters.html | 176 ++ docs/class_tg_bot_1_1_response_parameters.js | 6 + docs/class_tg_bot_1_1_sticker-members.html | 107 + docs/class_tg_bot_1_1_sticker.html | 252 ++ docs/class_tg_bot_1_1_sticker.js | 10 + docs/class_tg_bot_1_1_tg_exception-members.html | 101 + docs/class_tg_bot_1_1_tg_exception.html | 151 ++ docs/class_tg_bot_1_1_tg_exception.js | 4 + docs/class_tg_bot_1_1_tg_exception.png | Bin 0 -> 545 bytes docs/class_tg_bot_1_1_tg_long_poll-members.html | 103 + docs/class_tg_bot_1_1_tg_long_poll.html | 186 ++ docs/class_tg_bot_1_1_tg_long_poll.js | 6 + docs/class_tg_bot_1_1_tg_type_parser-members.html | 217 ++ docs/class_tg_bot_1_1_tg_type_parser.html | 2690 ++++++++++++++++++++ docs/class_tg_bot_1_1_tg_type_parser.js | 119 + ...class_tg_bot_1_1_tg_webhook_server-members.html | 110 + docs/class_tg_bot_1_1_tg_webhook_server.html | 282 ++ docs/class_tg_bot_1_1_tg_webhook_server.js | 6 + docs/class_tg_bot_1_1_tg_webhook_server.png | Bin 0 -> 851 bytes ...s_tg_bot_1_1_tg_webhook_tcp_server-members.html | 113 + docs/class_tg_bot_1_1_tg_webhook_tcp_server.html | 282 ++ docs/class_tg_bot_1_1_tg_webhook_tcp_server.js | 6 + docs/class_tg_bot_1_1_tg_webhook_tcp_server.png | Bin 0 -> 1486 bytes docs/class_tg_bot_1_1_update-members.html | 109 + docs/class_tg_bot_1_1_update.html | 290 +++ docs/class_tg_bot_1_1_update.js | 12 + docs/class_tg_bot_1_1_url-members.html | 106 + docs/class_tg_bot_1_1_url.html | 235 ++ docs/class_tg_bot_1_1_url.js | 9 + docs/class_tg_bot_1_1_user-members.html | 105 + docs/class_tg_bot_1_1_user.html | 214 ++ docs/class_tg_bot_1_1_user.js | 8 + ...ass_tg_bot_1_1_user_profile_photos-members.html | 103 + docs/class_tg_bot_1_1_user_profile_photos.html | 176 ++ docs/class_tg_bot_1_1_user_profile_photos.js | 6 + docs/class_tg_bot_1_1_venue-members.html | 105 + docs/class_tg_bot_1_1_venue.html | 214 ++ docs/class_tg_bot_1_1_venue.js | 8 + docs/class_tg_bot_1_1_video-members.html | 108 + docs/class_tg_bot_1_1_video.html | 271 ++ docs/class_tg_bot_1_1_video.js | 11 + docs/class_tg_bot_1_1_voice-members.html | 105 + docs/class_tg_bot_1_1_voice.html | 214 ++ docs/class_tg_bot_1_1_voice.js | 8 + docs/class_tg_bot_1_1_webhook_info-members.html | 108 + docs/class_tg_bot_1_1_webhook_info.html | 271 ++ docs/class_tg_bot_1_1_webhook_info.js | 11 + docs/classes.html | 52 +- ...t_1_1_inline_query_result_cached_mpeg4_gif.html | 251 -- ...bot_1_1_inline_query_result_cached_mpeg4_gif.js | 6 - ...ot_1_1_inline_query_result_cached_mpeg4_gif.png | Bin 877 -> 0 bytes docs/d0/d26/class_tg_bot_1_1_chat-members.html | 109 - docs/d0/d38/class_tg_bot_1_1_input_file.html | 195 -- docs/d0/d38/class_tg_bot_1_1_input_file.js | 7 - .../class_tg_bot_1_1_message_entity-members.html | 106 - docs/d0/d72/_tg_exception_8h.html | 116 - docs/d0/d72/_tg_exception_8h_source.html | 101 - docs/d0/d87/_tg_webhook_server_8h.html | 118 - docs/d0/d87/_tg_webhook_server_8h_source.html | 115 - ...ass_tg_bot_1_1_inline_query_result-members.html | 109 - .../db4/class_tg_bot_1_1_force_reply-members.html | 104 - ...bot_1_1_inline_query_result_cached_sticker.html | 251 -- ...g_bot_1_1_inline_query_result_cached_sticker.js | 6 - ..._bot_1_1_inline_query_result_cached_sticker.png | Bin 856 -> 0 bytes ..._1_1_inline_query_result_mpeg4_gif-members.html | 115 - .../class_tg_bot_1_1_reply_keyboard_remove.html | 194 -- .../dff/class_tg_bot_1_1_reply_keyboard_remove.js | 6 - .../dff/class_tg_bot_1_1_reply_keyboard_remove.png | Bin 772 -> 0 bytes docs/d1/d00/class_tg_bot_1_1_audio.html | 252 -- docs/d1/d00/class_tg_bot_1_1_audio.js | 10 - .../class_tg_bot_1_1_inline_query_result_game.html | 251 -- .../class_tg_bot_1_1_inline_query_result_game.js | 6 - .../class_tg_bot_1_1_inline_query_result_game.png | Bin 778 -> 0 bytes docs/d1/d15/class_tg_bot_1_1_tg_type_parser.html | 2690 -------------------- docs/d1/d15/class_tg_bot_1_1_tg_type_parser.js | 119 - docs/d1/d22/_inline_query_result_article_8h.html | 117 - .../_inline_query_result_article_8h_source.html | 112 - ...ss_tg_bot_1_1_inline_query_result_document.html | 346 --- ...lass_tg_bot_1_1_inline_query_result_document.js | 11 - ...ass_tg_bot_1_1_inline_query_result_document.png | Bin 814 -> 0 bytes docs/d1/d2a/class_tg_bot_1_1_tg_long_poll.html | 186 -- docs/d1/d2a/class_tg_bot_1_1_tg_long_poll.js | 6 - .../class_tg_bot_1_1_inline_query_result_gif.html | 308 --- .../class_tg_bot_1_1_inline_query_result_gif.js | 9 - .../class_tg_bot_1_1_inline_query_result_gif.png | Bin 747 -> 0 bytes docs/d1/d53/class_tg_bot_1_1_user.html | 214 -- docs/d1/d53/class_tg_bot_1_1_user.js | 8 - docs/d1/d6f/class_tg_bot_1_1_location.html | 176 -- docs/d1/d6f/class_tg_bot_1_1_location.js | 6 - docs/d1/d8f/_keyboard_button_8h.html | 116 - docs/d1/d8f/_keyboard_button_8h_source.html | 104 - .../_inline_query_result_cached_sticker_8h.html | 117 - ...line_query_result_cached_sticker_8h_source.html | 107 - docs/d1/da8/group__general.html | 112 - docs/d1/da8/group__general.js | 67 - ...class_tg_bot_1_1_tg_webhook_server-members.html | 110 - .../dbe/class_tg_bot_1_1_http_server-members.html | 107 - docs/d1/dd9/class_tg_bot_1_1_bot.html | 266 -- docs/d1/dd9/class_tg_bot_1_1_bot.js | 8 - ...ass_tg_bot_1_1_input_venue_message_content.html | 316 --- ...class_tg_bot_1_1_input_venue_message_content.js | 11 - ...lass_tg_bot_1_1_input_venue_message_content.png | Bin 851 -> 0 bytes ...ass_tg_bot_1_1_inline_query_result_contact.html | 346 --- ...class_tg_bot_1_1_inline_query_result_contact.js | 11 - ...lass_tg_bot_1_1_inline_query_result_contact.png | Bin 789 -> 0 bytes .../def/class_tg_bot_1_1_response_parameters.html | 176 -- .../d1/def/class_tg_bot_1_1_response_parameters.js | 6 - ...tg_bot_1_1_inline_query_result_gif-members.html | 115 - .../d11/class_tg_bot_1_1_chat_member-members.html | 103 - docs/d2/d2f/_inline_query_result_audio_8h.html | 117 - .../d2f/_inline_query_result_audio_8h_source.html | 109 - docs/d2/d32/_input_file_8h.html | 117 - docs/d2/d32/_input_file_8h_source.html | 104 - docs/d2/d55/_chat_8h.html | 116 - docs/d2/d55/_chat_8h_source.html | 113 - docs/d2/d60/class_tg_bot_1_1_generic_reply.html | 179 -- docs/d2/d60/class_tg_bot_1_1_generic_reply.js | 5 - docs/d2/d60/class_tg_bot_1_1_generic_reply.png | Bin 1578 -> 0 bytes docs/d2/d62/class_tg_bot_1_1_inline_query.html | 233 -- docs/d2/d62/class_tg_bot_1_1_inline_query.js | 9 - ...s_tg_bot_1_1_reply_keyboard_remove-members.html | 104 - .../class_tg_bot_1_1_inline_keyboard_button.html | 233 -- .../d70/class_tg_bot_1_1_inline_keyboard_button.js | 9 - .../class_tg_bot_1_1_event_handler-members.html | 102 - .../class_tg_bot_1_1_reply_keyboard_markup.html | 232 -- .../d80/class_tg_bot_1_1_reply_keyboard_markup.js | 8 - .../d80/class_tg_bot_1_1_reply_keyboard_markup.png | Bin 777 -> 0 bytes docs/d2/d81/_audio_8h.html | 116 - docs/d2/d81/_audio_8h_source.html | 107 - ..._bot_1_1_inline_query_result_venue-members.html | 118 - docs/d2/d9a/_message_entity_8h.html | 117 - docs/d2/d9a/_message_entity_8h_source.html | 108 - docs/d2/df5/class_tg_bot_1_1_event_handler.html | 175 -- docs/d2/df5/class_tg_bot_1_1_event_handler.js | 5 - docs/d2/dfb/class_tg_bot_1_1_chat.html | 309 --- docs/d2/dfb/class_tg_bot_1_1_chat.js | 17 - ...s_tg_bot_1_1_input_message_content-members.html | 104 - ...ass_tg_bot_1_1_user_profile_photos-members.html | 103 - .../d21/class_tg_bot_1_1_tg_exception-members.html | 101 - ..._bot_1_1_inline_query_result_video-members.html | 118 - .../class_tg_bot_1_1_input_message_content.html | 233 -- .../d6c/class_tg_bot_1_1_input_message_content.js | 7 - .../d6c/class_tg_bot_1_1_input_message_content.png | Bin 1699 -> 0 bytes ...ass_tg_bot_1_1_inline_query_result_article.html | 346 --- ...class_tg_bot_1_1_inline_query_result_article.js | 11 - ...lass_tg_bot_1_1_inline_query_result_article.png | Bin 778 -> 0 bytes docs/d3/d75/_user_8h.html | 116 - docs/d3/d75/_user_8h_source.html | 105 - .../class_tg_bot_1_1_callback_query-members.html | 108 - docs/d3/d9a/_tg_webhook_local_server_8h.html | 100 - .../d3/d9a/_tg_webhook_local_server_8h_source.html | 100 - docs/d3/d9c/_input_text_message_content_8h.html | 116 - .../d9c/_input_text_message_content_8h_source.html | 107 - docs/d3/dab/class_tg_bot_1_1_update.html | 290 --- docs/d3/dab/class_tg_bot_1_1_update.js | 12 - ..._bot_1_1_inline_query_result_audio-members.html | 114 - docs/d3/dc0/class_tg_bot_1_1_bot-members.html | 105 - docs/d3/dcb/_inline_query_result_document_8h.html | 117 - .../_inline_query_result_document_8h_source.html | 112 - docs/d3/deb/class_tg_bot_1_1_tg_exception.html | 151 -- docs/d3/deb/class_tg_bot_1_1_tg_exception.js | 4 - docs/d3/deb/class_tg_bot_1_1_tg_exception.png | Bin 545 -> 0 bytes docs/d3/df8/class_tg_bot_1_1_callback_query.html | 270 -- docs/d3/df8/class_tg_bot_1_1_callback_query.js | 11 - docs/d4/d47/_http_server_8h.html | 119 - docs/d4/d47/_http_server_8h_source.html | 116 - ...t_1_1_inline_query_result_location-members.html | 116 - docs/d4/d61/class_tg_bot_1_1_document.html | 233 -- docs/d4/d61/class_tg_bot_1_1_document.js | 9 - docs/d4/d84/_event_handler_8h.html | 117 - docs/d4/d84/_event_handler_8h_source.html | 109 - docs/d4/d8b/class_tg_bot_1_1_http_server.html | 354 --- docs/d4/d8b/class_tg_bot_1_1_http_server.js | 11 - docs/d4/d8b/class_tg_bot_1_1_http_server.png | Bin 857 -> 0 bytes .../d91/class_tg_bot_1_1_http_client-members.html | 102 - .../d9c/class_tg_bot_1_1_tg_long_poll-members.html | 103 - .../dbc/class_tg_bot_1_1_chosen_inline_result.html | 233 -- .../dbc/class_tg_bot_1_1_chosen_inline_result.js | 9 - docs/d4/ddd/_api_8h.html | 129 - docs/d4/ddd/_api_8h_source.html | 154 -- docs/d4/de1/class_tg_bot_1_1_force_reply.html | 194 -- docs/d4/de1/class_tg_bot_1_1_force_reply.js | 6 - docs/d4/de1/class_tg_bot_1_1_force_reply.png | Bin 599 -> 0 bytes docs/d4/deb/class_tg_bot_1_1_api-members.html | 139 - docs/d5/d01/_user_profile_photos_8h.html | 117 - docs/d5/d01/_user_profile_photos_8h_source.html | 104 - ...lass_tg_bot_1_1_http_server_1_1_connection.html | 268 -- .../class_tg_bot_1_1_http_server_1_1_connection.js | 8 - docs/d5/d13/namespace_string_tools.html | 362 --- ..._bot_1_1_inline_query_result_photo-members.html | 116 - docs/d5/d61/_document_8h.html | 117 - docs/d5/d61/_document_8h_source.html | 108 - docs/d5/d61/_inline_query_result_mpeg4_gif_8h.html | 114 - .../_inline_query_result_mpeg4_gif_8h_source.html | 109 - docs/d5/d66/_venue_8h.html | 117 - docs/d5/d66/_venue_8h_source.html | 107 - docs/d5/d76/_update_8h.html | 119 - docs/d5/d76/_update_8h_source.html | 117 - docs/d5/d77/_response_parameters_8h.html | 115 - docs/d5/d77/_response_parameters_8h_source.html | 103 - docs/d5/d82/class_tg_bot_1_1_http_client.html | 178 -- docs/d5/d82/class_tg_bot_1_1_http_client.js | 4 - .../class_tg_bot_1_1_inline_keyboard_markup.html | 175 -- .../d8a/class_tg_bot_1_1_inline_keyboard_markup.js | 5 - .../class_tg_bot_1_1_inline_keyboard_markup.png | Bin 748 -> 0 bytes .../d5/d98/class_tg_bot_1_1_tg_webhook_server.html | 282 -- docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.js | 6 - docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.png | Bin 851 -> 0 bytes ...g_bot_1_1_inline_query_result_game-members.html | 112 - docs/d5/db4/_sticker_8h.html | 117 - docs/d5/db4/_sticker_8h_source.html | 109 - docs/d5/df0/_input_contact_message_content_8h.html | 116 - .../_input_contact_message_content_8h_source.html | 107 - docs/d5/dfd/_force_reply_8h.html | 116 - docs/d5/dfd/_force_reply_8h_source.html | 105 - ...t_1_1_inline_query_result_document-members.html | 117 - docs/d6/d59/group__types.html | 216 -- docs/d6/d59/group__types.js | 450 ---- ...s_tg_bot_1_1_reply_keyboard_markup-members.html | 106 - docs/d6/d74/class_tg_bot_1_1_contact-members.html | 105 - docs/d6/d75/_reply_keyboard_markup_8h.html | 119 - docs/d6/d75/_reply_keyboard_markup_8h_source.html | 108 - docs/d6/d78/class_tg_bot_1_1_location-members.html | 103 - docs/d6/d91/class_tg_bot_1_1_voice.html | 214 -- docs/d6/d91/class_tg_bot_1_1_voice.js | 8 - .../class_tg_bot_1_1_tg_webhook_tcp_server.html | 282 -- .../d97/class_tg_bot_1_1_tg_webhook_tcp_server.js | 6 - .../d97/class_tg_bot_1_1_tg_webhook_tcp_server.png | Bin 1486 -> 0 bytes ...ss_tg_bot_1_1_chosen_inline_result-members.html | 106 - docs/d6/dce/class_tg_bot_1_1_message.html | 799 ------ docs/d6/dce/class_tg_bot_1_1_message.js | 38 - ...line_query_result_cached_mpeg4_gif-members.html | 112 - docs/d6/df3/_callback_query_8h.html | 118 - docs/d6/df3/_callback_query_8h_source.html | 112 - .../d06/class_tg_bot_1_1_input_file-members.html | 104 - ...g_bot_1_1_inline_query_result_cached_audio.html | 251 -- ..._tg_bot_1_1_inline_query_result_cached_audio.js | 6 - ...tg_bot_1_1_inline_query_result_cached_audio.png | Bin 848 -> 0 bytes docs/d7/d17/_video_8h.html | 117 - docs/d7/d17/_video_8h_source.html | 110 - docs/d7/d1a/_tg_type_parser_8h.html | 169 -- docs/d7/d1a/_tg_type_parser_8h_source.html | 322 --- docs/d7/d25/class_tg_bot_1_1_webhook_info.html | 271 -- docs/d7/d25/class_tg_bot_1_1_webhook_info.js | 11 - .../d5c/_inline_query_result_cached_audio_8h.html | 117 - ...inline_query_result_cached_audio_8h_source.html | 107 - ..._tg_bot_1_1_inline_query_result_cached_gif.html | 251 -- ...ss_tg_bot_1_1_inline_query_result_cached_gif.js | 6 - ...s_tg_bot_1_1_inline_query_result_cached_gif.png | Bin 828 -> 0 bytes docs/d7/d7d/_inline_query_result_venue_8h.html | 117 - .../d7d/_inline_query_result_venue_8h_source.html | 113 - docs/d7/d8b/_chosen_inline_result_8h.html | 118 - docs/d7/d8b/_chosen_inline_result_8h_source.html | 110 - .../d90/_inline_query_result_cached_voice_8h.html | 117 - ...inline_query_result_cached_voice_8h_source.html | 107 - ...s_tg_bot_1_1_tg_webhook_tcp_server-members.html | 113 - ...class_tg_bot_1_1_inline_query_result_audio.html | 289 --- .../class_tg_bot_1_1_inline_query_result_audio.js | 8 - .../class_tg_bot_1_1_inline_query_result_audio.png | Bin 772 -> 0 bytes docs/d7/dbb/class_tg_bot_1_1_venue-members.html | 105 - docs/d7/dfe/_photo_size_8h.html | 116 - docs/d7/dfe/_photo_size_8h_source.html | 105 - docs/d8/d05/_reply_keyboard_remove_8h.html | 116 - docs/d8/d05/_reply_keyboard_remove_8h_source.html | 105 - docs/d8/d12/_http_client_8h.html | 119 - docs/d8/d12/_http_client_8h_source.html | 106 - .../d14/class_tg_bot_1_1_http_req_arg-members.html | 106 - ...1_inline_query_result_cached_video-members.html | 113 - ...g_bot_1_1_inline_query_result_cached_video.html | 270 -- ..._tg_bot_1_1_inline_query_result_cached_video.js | 7 - ...tg_bot_1_1_inline_query_result_cached_video.png | Bin 846 -> 0 bytes docs/d8/d47/_string_tools_8h.html | 129 - docs/d8/d47/_string_tools_8h.js | 10 - docs/d8/d47/_string_tools_8h_source.html | 105 - docs/d8/d6e/_inline_query_8h.html | 118 - docs/d8/d6e/_inline_query_8h_source.html | 110 - docs/d8/d74/_http_parser_8h.html | 119 - docs/d8/d74/_http_parser_8h_source.html | 113 - ...1_inline_query_result_cached_audio-members.html | 112 - docs/d8/d9d/namespace_tg_bot.html | 244 -- docs/d8/d9d/namespace_tg_bot.js | 73 - docs/d8/dae/_inline_keyboard_button_8h.html | 116 - docs/d8/dae/_inline_keyboard_button_8h_source.html | 106 - ...1_1_inline_query_result_cached_gif-members.html | 112 - docs/d8/dd7/_inline_query_result_contact_8h.html | 117 - .../_inline_query_result_contact_8h_source.html | 112 - docs/d8/ddf/class_tg_bot_1_1_video.html | 271 -- docs/d8/ddf/class_tg_bot_1_1_video.js | 11 - ..._tg_bot_1_1_inline_keyboard_markup-members.html | 103 - docs/d8/ded/class_tg_bot_1_1_http_req_arg.html | 276 -- docs/d8/ded/class_tg_bot_1_1_http_req_arg.js | 9 - ..._1_1_input_contact_message_content-members.html | 109 - docs/d8/df3/tgbot_8h.html | 140 - docs/d8/df3/tgbot_8h_source.html | 138 - ...ass_tg_bot_1_1_response_parameters-members.html | 103 - ...class_tg_bot_1_1_event_broadcaster-members.html | 111 - docs/d9/d5a/class_tg_bot_1_1_audio-members.html | 107 - docs/d9/d69/class_tg_bot_1_1_api.html | 2201 ---------------- docs/d9/d69/class_tg_bot_1_1_api.js | 42 - docs/d9/d70/class_tg_bot_1_1_keyboard_button.html | 195 -- docs/d9/d70/class_tg_bot_1_1_keyboard_button.js | 7 - ...class_tg_bot_1_1_inline_query_result_voice.html | 270 -- .../class_tg_bot_1_1_inline_query_result_voice.js | 7 - .../class_tg_bot_1_1_inline_query_result_voice.png | Bin 768 -> 0 bytes docs/d9/d86/class_tg_bot_1_1_url.html | 235 -- docs/d9/d86/class_tg_bot_1_1_url.js | 9 - docs/d9/dac/_location_8h.html | 115 - docs/d9/dac/_location_8h_source.html | 103 - ...ot_1_1_inline_query_result_contact-members.html | 117 - docs/d9/dd2/group__net.html | 116 - docs/d9/dd2/group__net.js | 48 - docs/d9/dd7/_url_8h.html | 115 - docs/d9/dd7/_url_8h_source.html | 106 - ..._tg_bot_1_1_input_location_message_content.html | 259 -- ...ss_tg_bot_1_1_input_location_message_content.js | 8 - ...s_tg_bot_1_1_input_location_message_content.png | Bin 857 -> 0 bytes docs/da/d09/_inline_query_result_gif_8h.html | 117 - .../da/d09/_inline_query_result_gif_8h_source.html | 110 - docs/da/d17/class_tg_bot_1_1_sticker.html | 252 -- docs/da/d17/class_tg_bot_1_1_sticker.js | 10 - .../d19/class_tg_bot_1_1_photo_size-members.html | 105 - docs/da/d3b/_inline_query_result_voice_8h.html | 114 - .../d3b/_inline_query_result_voice_8h_source.html | 107 - ...g_bot_1_1_inline_query_result_cached_voice.html | 251 -- ..._tg_bot_1_1_inline_query_result_cached_voice.js | 6 - ...tg_bot_1_1_inline_query_result_cached_voice.png | Bin 846 -> 0 bytes .../d80/class_tg_bot_1_1_inline_query-members.html | 106 - ...nline_query_result_cached_document-members.html | 113 - docs/da/d92/_inline_query_result_8h.html | 118 - docs/da/d92/_inline_query_result_8h_source.html | 113 - ...ot_1_1_inline_query_result_article-members.html | 117 - ...ss_tg_bot_1_1_inline_query_result_location.html | 327 --- ...lass_tg_bot_1_1_inline_query_result_location.js | 10 - ...ass_tg_bot_1_1_inline_query_result_location.png | Bin 801 -> 0 bytes ...1_inline_query_result_cached_photo-members.html | 113 - docs/da/db1/_inline_keyboard_markup_8h.html | 118 - docs/da/db1/_inline_keyboard_markup_8h_source.html | 105 - docs/da/df7/group__tools.html | 106 - docs/da/df7/group__tools.js | 4 - docs/da/dfa/class_tg_bot_1_1_message-members.html | 135 - ...bot_1_1_http_server_1_1_connection-members.html | 105 - .../_inline_query_result_cached_mpeg4_gif_8h.html | 117 - ...ne_query_result_cached_mpeg4_gif_8h_source.html | 107 - docs/db/d2a/_webhook_info_8h.html | 117 - docs/db/d2a/_webhook_info_8h_source.html | 108 - ..._bot_1_1_inline_query_result_voice-members.html | 113 - docs/db/d8b/class_tg_bot_1_1_venue.html | 214 -- docs/db/d8b/class_tg_bot_1_1_venue.js | 8 - docs/db/dac/class_tg_bot_1_1_user-members.html | 105 - docs/db/db6/_message_8h.html | 130 - docs/db/db6/_message_8h_source.html | 158 -- ...class_tg_bot_1_1_inline_query_result_photo.html | 327 --- .../class_tg_bot_1_1_inline_query_result_photo.js | 10 - .../class_tg_bot_1_1_inline_query_result_photo.png | Bin 760 -> 0 bytes docs/dc/d05/class_tg_bot_1_1_video-members.html | 108 - docs/dc/d29/_inline_query_result_video_8h.html | 114 - .../d29/_inline_query_result_video_8h_source.html | 112 - docs/dc/d30/_voice_8h.html | 116 - docs/dc/d30/_voice_8h_source.html | 105 - docs/dc/d66/class_tg_bot_1_1_document-members.html | 106 - docs/dc/d67/_http_req_arg_8h.html | 118 - docs/dc/d67/_http_req_arg_8h_source.html | 106 - .../d6f/_inline_query_result_cached_photo_8h.html | 117 - ...inline_query_result_cached_photo_8h_source.html | 108 - docs/dc/d75/class_tg_bot_1_1_file-members.html | 104 - docs/dc/d83/_input_message_content_8h.html | 115 - docs/dc/d83/_input_message_content_8h_source.html | 104 - docs/dc/d83/_input_venue_message_content_8h.html | 116 - .../_input_venue_message_content_8h_source.html | 109 - .../class_tg_bot_1_1_keyboard_button-members.html | 104 - docs/dc/d93/class_tg_bot_1_1_sticker-members.html | 107 - ...inline_query_result_cached_sticker-members.html | 112 - .../dc/db7/class_tg_bot_1_1_event_broadcaster.html | 449 ---- docs/dc/db7/class_tg_bot_1_1_event_broadcaster.js | 14 - ...s_tg_bot_1_1_input_contact_message_content.html | 278 -- ...ass_tg_bot_1_1_input_contact_message_content.js | 9 - ...ss_tg_bot_1_1_input_contact_message_content.png | Bin 839 -> 0 bytes .../_inline_query_result_cached_document_8h.html | 117 - ...ine_query_result_cached_document_8h_source.html | 108 - docs/dd/d05/class_tg_bot_1_1_chat_member.html | 176 -- docs/dd/d05/class_tg_bot_1_1_chat_member.js | 6 - docs/dd/d2e/class_tg_bot_1_1_voice-members.html | 105 - ...ot_1_1_input_venue_message_content-members.html | 111 - ...bot_1_1_input_text_message_content-members.html | 109 - .../d3b/_inline_query_result_cached_video_8h.html | 117 - ...inline_query_result_cached_video_8h_source.html | 108 - docs/dd/d7e/class_tg_bot_1_1_message_entity.html | 233 -- docs/dd/d7e/class_tg_bot_1_1_message_entity.js | 9 - docs/dd/d95/_tg_long_poll_8h.html | 117 - docs/dd/d95/_tg_long_poll_8h_source.html | 108 - docs/dd/d98/class_tg_bot_1_1_update-members.html | 109 - docs/dd/dbe/class_tg_bot_1_1_file.html | 195 -- docs/dd/dbe/class_tg_bot_1_1_file.js | 7 - docs/dd/def/_inline_query_result_location_8h.html | 117 - .../_inline_query_result_location_8h_source.html | 111 - docs/dd/df6/_inline_query_result_game_8h.html | 117 - .../df6/_inline_query_result_game_8h_source.html | 107 - .../dfd/class_tg_bot_1_1_inline_query_result.html | 343 --- .../dd/dfd/class_tg_bot_1_1_inline_query_result.js | 12 - .../dfd/class_tg_bot_1_1_inline_query_result.png | Bin 11424 -> 0 bytes .../de/d05/_inline_query_result_cached_gif_8h.html | 117 - .../_inline_query_result_cached_gif_8h_source.html | 107 - docs/de/d0d/class_tg_bot_1_1_http_parser.html | 439 ---- docs/de/d0d/class_tg_bot_1_1_http_parser.js | 12 - docs/de/d0f/_chat_member_8h.html | 117 - docs/de/d0f/_chat_member_8h_source.html | 105 - ...ot_1_1_inline_query_result_cached_document.html | 270 -- ..._bot_1_1_inline_query_result_cached_document.js | 7 - ...bot_1_1_inline_query_result_cached_document.png | Bin 858 -> 0 bytes ...class_tg_bot_1_1_inline_query_result_video.html | 365 --- .../class_tg_bot_1_1_inline_query_result_video.js | 12 - .../class_tg_bot_1_1_inline_query_result_video.png | Bin 770 -> 0 bytes docs/de/d53/_inline_query_result_photo_8h.html | 117 - .../d53/_inline_query_result_photo_8h_source.html | 111 - docs/de/d63/class_tg_bot_1_1_url-members.html | 106 - docs/de/d67/_bot_8h.html | 118 - docs/de/d67/_bot_8h_source.html | 111 - docs/de/d9f/class_tg_bot_1_1_photo_size.html | 214 -- docs/de/d9f/class_tg_bot_1_1_photo_size.js | 8 - ...lass_tg_bot_1_1_input_text_message_content.html | 278 -- .../class_tg_bot_1_1_input_text_message_content.js | 9 - ...class_tg_bot_1_1_input_text_message_content.png | Bin 829 -> 0 bytes .../class_tg_bot_1_1_generic_reply-members.html | 102 - docs/df/d0c/_file_8h.html | 116 - docs/df/d0c/_file_8h_source.html | 104 - ...1_1_input_location_message_content-members.html | 108 - ...s_tg_bot_1_1_inline_query_result_mpeg4_gif.html | 308 --- ...ass_tg_bot_1_1_inline_query_result_mpeg4_gif.js | 9 - ...ss_tg_bot_1_1_inline_query_result_mpeg4_gif.png | Bin 831 -> 0 bytes .../class_tg_bot_1_1_tg_type_parser-members.html | 217 -- docs/df/d32/class_tg_bot_1_1_contact.html | 214 -- docs/df/d32/class_tg_bot_1_1_contact.js | 8 - .../d40/class_tg_bot_1_1_user_profile_photos.html | 176 -- .../df/d40/class_tg_bot_1_1_user_profile_photos.js | 6 - docs/df/d4d/_generic_reply_8h.html | 115 - docs/df/d4d/_generic_reply_8h_source.html | 102 - ...1_inline_query_result_cached_voice-members.html | 112 - ..._tg_bot_1_1_inline_keyboard_button-members.html | 106 - docs/df/d65/_tg_webhook_tcp_server_8h.html | 115 - docs/df/d65/_tg_webhook_tcp_server_8h_source.html | 108 - .../df/d6f/_input_location_message_content_8h.html | 115 - .../_input_location_message_content_8h_source.html | 106 - docs/df/d88/_contact_8h.html | 116 - docs/df/d88/_contact_8h_source.html | 105 - ...class_tg_bot_1_1_inline_query_result_venue.html | 365 --- .../class_tg_bot_1_1_inline_query_result_venue.js | 12 - .../class_tg_bot_1_1_inline_query_result_venue.png | Bin 776 -> 0 bytes .../dae/class_tg_bot_1_1_http_parser-members.html | 110 - docs/df/dcb/_event_broadcaster_8h.html | 122 - docs/df/dcb/_event_broadcaster_8h_source.html | 120 - .../dde/class_tg_bot_1_1_webhook_info-members.html | 108 - ...g_bot_1_1_inline_query_result_cached_photo.html | 270 -- ..._tg_bot_1_1_inline_query_result_cached_photo.js | 7 - ...tg_bot_1_1_inline_query_result_cached_photo.png | Bin 830 -> 0 bytes docs/dir_25b26b9fa3b0bd1537052b03f43dd617.html | 16 +- docs/dir_25b26b9fa3b0bd1537052b03f43dd617.js | 18 +- docs/dir_933963de0e9d7c93f6217fb7d7e6c3ad.html | 20 +- docs/dir_933963de0e9d7c93f6217fb7d7e6c3ad.js | 24 +- docs/dir_d3a0916884c776a83ed0f419714df887.html | 4 +- docs/dir_d3a0916884c776a83ed0f419714df887.js | 2 +- docs/dir_d44c64559bbebec7f509842c48db8b23.html | 2 +- docs/dir_edd914e3fbf8e89da3c33d1968dd487e.html | 114 +- docs/dir_edd914e3fbf8e89da3c33d1968dd487e.js | 112 +- docs/files.html | 148 +- docs/functions.html | 10 +- docs/functions_0x7e.html | 16 +- docs/functions_a.html | 26 +- docs/functions_b.html | 6 +- docs/functions_c.html | 28 +- docs/functions_d.html | 42 +- docs/functions_e.html | 20 +- docs/functions_enum.html | 4 +- docs/functions_f.html | 76 +- docs/functions_func.html | 8 +- docs/functions_func_0x7e.html | 16 +- docs/functions_func_b.html | 4 +- docs/functions_func_c.html | 4 +- docs/functions_func_d.html | 4 +- docs/functions_func_e.html | 10 +- docs/functions_func_f.html | 4 +- docs/functions_func_g.html | 44 +- docs/functions_func_h.html | 8 +- docs/functions_func_i.html | 54 +- docs/functions_func_k.html | 4 +- docs/functions_func_l.html | 4 +- docs/functions_func_m.html | 6 +- docs/functions_func_o.html | 16 +- docs/functions_func_p.html | 226 +- docs/functions_func_s.html | 34 +- docs/functions_func_t.html | 12 +- docs/functions_func_u.html | 6 +- docs/functions_g.html | 58 +- docs/functions_h.html | 20 +- docs/functions_i.html | 78 +- docs/functions_j.html | 4 +- docs/functions_k.html | 6 +- docs/functions_l.html | 50 +- docs/functions_m.html | 48 +- docs/functions_n.html | 10 +- docs/functions_o.html | 22 +- docs/functions_p.html | 370 +-- docs/functions_q.html | 8 +- docs/functions_r.html | 18 +- docs/functions_rela.html | 4 +- docs/functions_s.html | 56 +- docs/functions_t.html | 126 +- docs/functions_type.html | 128 +- docs/functions_u.html | 26 +- docs/functions_v.html | 26 +- docs/functions_vars.html | 10 +- docs/functions_vars_a.html | 20 +- docs/functions_vars_c.html | 22 +- docs/functions_vars_d.html | 40 +- docs/functions_vars_e.html | 12 +- docs/functions_vars_f.html | 74 +- docs/functions_vars_g.html | 16 +- docs/functions_vars_h.html | 14 +- docs/functions_vars_i.html | 24 +- docs/functions_vars_k.html | 4 +- docs/functions_vars_l.html | 48 +- docs/functions_vars_m.html | 42 +- docs/functions_vars_n.html | 10 +- docs/functions_vars_o.html | 8 +- docs/functions_vars_p.html | 34 +- docs/functions_vars_q.html | 8 +- docs/functions_vars_r.html | 18 +- docs/functions_vars_s.html | 22 +- docs/functions_vars_t.html | 112 +- docs/functions_vars_u.html | 22 +- docs/functions_vars_v.html | 26 +- docs/functions_vars_w.html | 8 +- docs/functions_w.html | 8 +- docs/group__general.html | 112 + docs/group__general.js | 67 + docs/group__net.html | 116 + docs/group__net.js | 48 + docs/group__tools.html | 106 + docs/group__tools.js | 4 + docs/group__types.html | 216 ++ docs/group__types.js | 450 ++++ docs/hierarchy.html | 148 +- docs/hierarchy.js | 146 +- docs/index.html | 6 +- docs/modules.html | 10 +- docs/modules.js | 8 +- docs/namespace_string_tools.html | 362 +++ docs/namespace_tg_bot.html | 244 ++ docs/namespace_tg_bot.js | 73 + docs/namespacemembers.html | 14 +- docs/namespacemembers_func.html | 14 +- docs/namespaces.html | 6 +- docs/namespaces.js | 4 +- docs/navtreedata.js | 8 +- docs/navtreeindex0.js | 498 ++-- docs/navtreeindex1.js | 500 ++-- docs/navtreeindex2.js | 500 ++-- docs/navtreeindex3.js | 74 +- docs/search/all_0.js | 6 +- docs/search/all_1.js | 24 +- docs/search/all_10.js | 258 +- docs/search/all_11.js | 2 +- docs/search/all_12.js | 28 +- docs/search/all_13.js | 58 +- docs/search/all_14.js | 52 +- docs/search/all_15.js | 28 +- docs/search/all_16.js | 30 +- docs/search/all_17.js | 6 +- docs/search/all_18.js | 14 +- docs/search/all_2.js | 4 +- docs/search/all_3.js | 38 +- docs/search/all_4.js | 22 +- docs/search/all_5.js | 26 +- docs/search/all_6.js | 40 +- docs/search/all_7.js | 60 +- docs/search/all_8.js | 28 +- docs/search/all_9.js | 130 +- docs/search/all_a.js | 2 +- docs/search/all_b.js | 8 +- docs/search/all_c.js | 20 +- docs/search/all_d.js | 34 +- docs/search/all_e.js | 10 +- docs/search/all_f.js | 18 +- docs/search/classes_0.js | 4 +- docs/search/classes_1.js | 2 +- docs/search/classes_10.js | 8 +- docs/search/classes_11.js | 6 +- docs/search/classes_12.js | 2 +- docs/search/classes_2.js | 12 +- docs/search/classes_3.js | 2 +- docs/search/classes_4.js | 4 +- docs/search/classes_5.js | 4 +- docs/search/classes_6.js | 2 +- docs/search/classes_7.js | 10 +- docs/search/classes_8.js | 60 +- docs/search/classes_9.js | 2 +- docs/search/classes_a.js | 2 +- docs/search/classes_b.js | 4 +- docs/search/classes_c.js | 2 +- docs/search/classes_d.js | 6 +- docs/search/classes_e.js | 2 +- docs/search/classes_f.js | 12 +- docs/search/enums_0.js | 2 +- docs/search/enumvalues_0.js | 2 +- docs/search/enumvalues_1.js | 2 +- docs/search/enumvalues_2.js | 2 +- docs/search/enumvalues_3.js | 2 +- docs/search/files_0.js | 4 +- docs/search/files_1.js | 2 +- docs/search/files_10.js | 8 +- docs/search/files_11.js | 6 +- docs/search/files_12.js | 2 +- docs/search/files_2.js | 10 +- docs/search/files_3.js | 2 +- docs/search/files_4.js | 4 +- docs/search/files_5.js | 4 +- docs/search/files_6.js | 2 +- docs/search/files_7.js | 8 +- docs/search/files_8.js | 60 +- docs/search/files_9.js | 2 +- docs/search/files_a.js | 2 +- docs/search/files_b.js | 4 +- docs/search/files_c.js | 2 +- docs/search/files_d.js | 6 +- docs/search/files_e.js | 4 +- docs/search/files_f.js | 14 +- docs/search/functions_0.js | 6 +- docs/search/functions_1.js | 2 +- docs/search/functions_10.js | 8 +- docs/search/functions_11.js | 14 +- docs/search/functions_2.js | 2 +- docs/search/functions_3.js | 2 +- docs/search/functions_4.js | 10 +- docs/search/functions_5.js | 2 +- docs/search/functions_6.js | 40 +- docs/search/functions_7.js | 6 +- docs/search/functions_8.js | 52 +- docs/search/functions_9.js | 2 +- docs/search/functions_a.js | 2 +- docs/search/functions_b.js | 4 +- docs/search/functions_c.js | 14 +- docs/search/functions_d.js | 224 +- docs/search/functions_e.js | 32 +- docs/search/functions_f.js | 10 +- docs/search/groups_0.js | 2 +- docs/search/groups_1.js | 2 +- docs/search/groups_2.js | 4 +- docs/search/namespaces_0.js | 2 +- docs/search/namespaces_1.js | 2 +- docs/search/related_0.js | 2 +- docs/search/typedefs_0.js | 4 +- docs/search/typedefs_1.js | 2 +- docs/search/typedefs_2.js | 2 +- docs/search/typedefs_3.js | 2 +- docs/search/typedefs_4.js | 2 +- docs/search/typedefs_5.js | 2 +- docs/search/typedefs_6.js | 2 +- docs/search/variables_0.js | 6 +- docs/search/variables_1.js | 14 +- docs/search/variables_10.js | 16 +- docs/search/variables_11.js | 16 +- docs/search/variables_12.js | 16 +- docs/search/variables_13.js | 10 +- docs/search/variables_14.js | 24 +- docs/search/variables_15.js | 2 +- docs/search/variables_2.js | 18 +- docs/search/variables_3.js | 18 +- docs/search/variables_4.js | 10 +- docs/search/variables_5.js | 32 +- docs/search/variables_6.js | 12 +- docs/search/variables_7.js | 8 +- docs/search/variables_8.js | 12 +- docs/search/variables_9.js | 2 +- docs/search/variables_a.js | 16 +- docs/search/variables_b.js | 24 +- docs/search/variables_c.js | 8 +- docs/search/variables_d.js | 4 +- docs/search/variables_e.js | 26 +- docs/search/variables_f.js | 2 +- docs/tgbot_8h.html | 140 + docs/tgbot_8h_source.html | 138 + include/tgbot/tgbot.h | 7 +- 1030 files changed, 54065 insertions(+), 54030 deletions(-) create mode 100644 docs/_api_8h.html create mode 100644 docs/_api_8h_source.html create mode 100644 docs/_audio_8h.html create mode 100644 docs/_audio_8h_source.html create mode 100644 docs/_bot_8h.html create mode 100644 docs/_bot_8h_source.html create mode 100644 docs/_callback_query_8h.html create mode 100644 docs/_callback_query_8h_source.html create mode 100644 docs/_chat_8h.html create mode 100644 docs/_chat_8h_source.html create mode 100644 docs/_chat_member_8h.html create mode 100644 docs/_chat_member_8h_source.html create mode 100644 docs/_chosen_inline_result_8h.html create mode 100644 docs/_chosen_inline_result_8h_source.html create mode 100644 docs/_contact_8h.html create mode 100644 docs/_contact_8h_source.html create mode 100644 docs/_document_8h.html create mode 100644 docs/_document_8h_source.html create mode 100644 docs/_event_broadcaster_8h.html create mode 100644 docs/_event_broadcaster_8h_source.html create mode 100644 docs/_event_handler_8h.html create mode 100644 docs/_event_handler_8h_source.html create mode 100644 docs/_file_8h.html create mode 100644 docs/_file_8h_source.html create mode 100644 docs/_force_reply_8h.html create mode 100644 docs/_force_reply_8h_source.html create mode 100644 docs/_generic_reply_8h.html create mode 100644 docs/_generic_reply_8h_source.html create mode 100644 docs/_http_client_8h.html create mode 100644 docs/_http_client_8h_source.html create mode 100644 docs/_http_parser_8h.html create mode 100644 docs/_http_parser_8h_source.html create mode 100644 docs/_http_req_arg_8h.html create mode 100644 docs/_http_req_arg_8h_source.html create mode 100644 docs/_http_server_8h.html create mode 100644 docs/_http_server_8h_source.html create mode 100644 docs/_inline_keyboard_button_8h.html create mode 100644 docs/_inline_keyboard_button_8h_source.html create mode 100644 docs/_inline_keyboard_markup_8h.html create mode 100644 docs/_inline_keyboard_markup_8h_source.html create mode 100644 docs/_inline_query_8h.html create mode 100644 docs/_inline_query_8h_source.html create mode 100644 docs/_inline_query_result_8h.html create mode 100644 docs/_inline_query_result_8h_source.html create mode 100644 docs/_inline_query_result_article_8h.html create mode 100644 docs/_inline_query_result_article_8h_source.html create mode 100644 docs/_inline_query_result_audio_8h.html create mode 100644 docs/_inline_query_result_audio_8h_source.html create mode 100644 docs/_inline_query_result_cached_audio_8h.html create mode 100644 docs/_inline_query_result_cached_audio_8h_source.html create mode 100644 docs/_inline_query_result_cached_document_8h.html create mode 100644 docs/_inline_query_result_cached_document_8h_source.html create mode 100644 docs/_inline_query_result_cached_gif_8h.html create mode 100644 docs/_inline_query_result_cached_gif_8h_source.html create mode 100644 docs/_inline_query_result_cached_mpeg4_gif_8h.html create mode 100644 docs/_inline_query_result_cached_mpeg4_gif_8h_source.html create mode 100644 docs/_inline_query_result_cached_photo_8h.html create mode 100644 docs/_inline_query_result_cached_photo_8h_source.html create mode 100644 docs/_inline_query_result_cached_sticker_8h.html create mode 100644 docs/_inline_query_result_cached_sticker_8h_source.html create mode 100644 docs/_inline_query_result_cached_video_8h.html create mode 100644 docs/_inline_query_result_cached_video_8h_source.html create mode 100644 docs/_inline_query_result_cached_voice_8h.html create mode 100644 docs/_inline_query_result_cached_voice_8h_source.html create mode 100644 docs/_inline_query_result_contact_8h.html create mode 100644 docs/_inline_query_result_contact_8h_source.html create mode 100644 docs/_inline_query_result_document_8h.html create mode 100644 docs/_inline_query_result_document_8h_source.html create mode 100644 docs/_inline_query_result_game_8h.html create mode 100644 docs/_inline_query_result_game_8h_source.html create mode 100644 docs/_inline_query_result_gif_8h.html create mode 100644 docs/_inline_query_result_gif_8h_source.html create mode 100644 docs/_inline_query_result_location_8h.html create mode 100644 docs/_inline_query_result_location_8h_source.html create mode 100644 docs/_inline_query_result_mpeg4_gif_8h.html create mode 100644 docs/_inline_query_result_mpeg4_gif_8h_source.html create mode 100644 docs/_inline_query_result_photo_8h.html create mode 100644 docs/_inline_query_result_photo_8h_source.html create mode 100644 docs/_inline_query_result_venue_8h.html create mode 100644 docs/_inline_query_result_venue_8h_source.html create mode 100644 docs/_inline_query_result_video_8h.html create mode 100644 docs/_inline_query_result_video_8h_source.html create mode 100644 docs/_inline_query_result_voice_8h.html create mode 100644 docs/_inline_query_result_voice_8h_source.html create mode 100644 docs/_input_contact_message_content_8h.html create mode 100644 docs/_input_contact_message_content_8h_source.html create mode 100644 docs/_input_file_8h.html create mode 100644 docs/_input_file_8h_source.html create mode 100644 docs/_input_location_message_content_8h.html create mode 100644 docs/_input_location_message_content_8h_source.html create mode 100644 docs/_input_message_content_8h.html create mode 100644 docs/_input_message_content_8h_source.html create mode 100644 docs/_input_text_message_content_8h.html create mode 100644 docs/_input_text_message_content_8h_source.html create mode 100644 docs/_input_venue_message_content_8h.html create mode 100644 docs/_input_venue_message_content_8h_source.html create mode 100644 docs/_keyboard_button_8h.html create mode 100644 docs/_keyboard_button_8h_source.html create mode 100644 docs/_location_8h.html create mode 100644 docs/_location_8h_source.html create mode 100644 docs/_message_8h.html create mode 100644 docs/_message_8h_source.html create mode 100644 docs/_message_entity_8h.html create mode 100644 docs/_message_entity_8h_source.html create mode 100644 docs/_photo_size_8h.html create mode 100644 docs/_photo_size_8h_source.html create mode 100644 docs/_reply_keyboard_markup_8h.html create mode 100644 docs/_reply_keyboard_markup_8h_source.html create mode 100644 docs/_reply_keyboard_remove_8h.html create mode 100644 docs/_reply_keyboard_remove_8h_source.html create mode 100644 docs/_response_parameters_8h.html create mode 100644 docs/_response_parameters_8h_source.html create mode 100644 docs/_sticker_8h.html create mode 100644 docs/_sticker_8h_source.html create mode 100644 docs/_string_tools_8h.html create mode 100644 docs/_string_tools_8h.js create mode 100644 docs/_string_tools_8h_source.html create mode 100644 docs/_tg_exception_8h.html create mode 100644 docs/_tg_exception_8h_source.html create mode 100644 docs/_tg_long_poll_8h.html create mode 100644 docs/_tg_long_poll_8h_source.html create mode 100644 docs/_tg_type_parser_8h.html create mode 100644 docs/_tg_type_parser_8h_source.html create mode 100644 docs/_tg_webhook_local_server_8h.html create mode 100644 docs/_tg_webhook_local_server_8h_source.html create mode 100644 docs/_tg_webhook_server_8h.html create mode 100644 docs/_tg_webhook_server_8h_source.html create mode 100644 docs/_tg_webhook_tcp_server_8h.html create mode 100644 docs/_tg_webhook_tcp_server_8h_source.html create mode 100644 docs/_update_8h.html create mode 100644 docs/_update_8h_source.html create mode 100644 docs/_url_8h.html create mode 100644 docs/_url_8h_source.html create mode 100644 docs/_user_8h.html create mode 100644 docs/_user_8h_source.html create mode 100644 docs/_user_profile_photos_8h.html create mode 100644 docs/_user_profile_photos_8h_source.html create mode 100644 docs/_venue_8h.html create mode 100644 docs/_venue_8h_source.html create mode 100644 docs/_video_8h.html create mode 100644 docs/_video_8h_source.html create mode 100644 docs/_voice_8h.html create mode 100644 docs/_voice_8h_source.html create mode 100644 docs/_webhook_info_8h.html create mode 100644 docs/_webhook_info_8h_source.html create mode 100644 docs/class_tg_bot_1_1_api-members.html create mode 100644 docs/class_tg_bot_1_1_api.html create mode 100644 docs/class_tg_bot_1_1_api.js create mode 100644 docs/class_tg_bot_1_1_audio-members.html create mode 100644 docs/class_tg_bot_1_1_audio.html create mode 100644 docs/class_tg_bot_1_1_audio.js create mode 100644 docs/class_tg_bot_1_1_bot-members.html create mode 100644 docs/class_tg_bot_1_1_bot.html create mode 100644 docs/class_tg_bot_1_1_bot.js create mode 100644 docs/class_tg_bot_1_1_callback_query-members.html create mode 100644 docs/class_tg_bot_1_1_callback_query.html create mode 100644 docs/class_tg_bot_1_1_callback_query.js create mode 100644 docs/class_tg_bot_1_1_chat-members.html create mode 100644 docs/class_tg_bot_1_1_chat.html create mode 100644 docs/class_tg_bot_1_1_chat.js create mode 100644 docs/class_tg_bot_1_1_chat_member-members.html create mode 100644 docs/class_tg_bot_1_1_chat_member.html create mode 100644 docs/class_tg_bot_1_1_chat_member.js create mode 100644 docs/class_tg_bot_1_1_chosen_inline_result-members.html create mode 100644 docs/class_tg_bot_1_1_chosen_inline_result.html create mode 100644 docs/class_tg_bot_1_1_chosen_inline_result.js create mode 100644 docs/class_tg_bot_1_1_contact-members.html create mode 100644 docs/class_tg_bot_1_1_contact.html create mode 100644 docs/class_tg_bot_1_1_contact.js create mode 100644 docs/class_tg_bot_1_1_document-members.html create mode 100644 docs/class_tg_bot_1_1_document.html create mode 100644 docs/class_tg_bot_1_1_document.js create mode 100644 docs/class_tg_bot_1_1_event_broadcaster-members.html create mode 100644 docs/class_tg_bot_1_1_event_broadcaster.html create mode 100644 docs/class_tg_bot_1_1_event_broadcaster.js create mode 100644 docs/class_tg_bot_1_1_event_handler-members.html create mode 100644 docs/class_tg_bot_1_1_event_handler.html create mode 100644 docs/class_tg_bot_1_1_event_handler.js create mode 100644 docs/class_tg_bot_1_1_file-members.html create mode 100644 docs/class_tg_bot_1_1_file.html create mode 100644 docs/class_tg_bot_1_1_file.js create mode 100644 docs/class_tg_bot_1_1_force_reply-members.html create mode 100644 docs/class_tg_bot_1_1_force_reply.html create mode 100644 docs/class_tg_bot_1_1_force_reply.js create mode 100644 docs/class_tg_bot_1_1_force_reply.png create mode 100644 docs/class_tg_bot_1_1_generic_reply-members.html create mode 100644 docs/class_tg_bot_1_1_generic_reply.html create mode 100644 docs/class_tg_bot_1_1_generic_reply.js create mode 100644 docs/class_tg_bot_1_1_generic_reply.png create mode 100644 docs/class_tg_bot_1_1_http_client-members.html create mode 100644 docs/class_tg_bot_1_1_http_client.html create mode 100644 docs/class_tg_bot_1_1_http_client.js create mode 100644 docs/class_tg_bot_1_1_http_parser-members.html create mode 100644 docs/class_tg_bot_1_1_http_parser.html create mode 100644 docs/class_tg_bot_1_1_http_parser.js create mode 100644 docs/class_tg_bot_1_1_http_req_arg-members.html create mode 100644 docs/class_tg_bot_1_1_http_req_arg.html create mode 100644 docs/class_tg_bot_1_1_http_req_arg.js create mode 100644 docs/class_tg_bot_1_1_http_server-members.html create mode 100644 docs/class_tg_bot_1_1_http_server.html create mode 100644 docs/class_tg_bot_1_1_http_server.js create mode 100644 docs/class_tg_bot_1_1_http_server.png create mode 100644 docs/class_tg_bot_1_1_http_server_1_1_connection-members.html create mode 100644 docs/class_tg_bot_1_1_http_server_1_1_connection.html create mode 100644 docs/class_tg_bot_1_1_http_server_1_1_connection.js create mode 100644 docs/class_tg_bot_1_1_inline_keyboard_button-members.html create mode 100644 docs/class_tg_bot_1_1_inline_keyboard_button.html create mode 100644 docs/class_tg_bot_1_1_inline_keyboard_button.js create mode 100644 docs/class_tg_bot_1_1_inline_keyboard_markup-members.html create mode 100644 docs/class_tg_bot_1_1_inline_keyboard_markup.html create mode 100644 docs/class_tg_bot_1_1_inline_keyboard_markup.js create mode 100644 docs/class_tg_bot_1_1_inline_keyboard_markup.png create mode 100644 docs/class_tg_bot_1_1_inline_query-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query.html create mode 100644 docs/class_tg_bot_1_1_inline_query.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_article-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_article.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_article.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_article.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_audio-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_audio.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_audio.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_audio.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_audio-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_audio.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_audio.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_audio.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_document-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_document.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_document.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_document.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_gif-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_gif.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_gif.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_gif.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_photo-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_photo.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_photo.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_photo.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_sticker-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_sticker.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_sticker.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_sticker.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_video-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_video.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_video.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_video.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_voice-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_voice.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_voice.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_cached_voice.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_contact-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_contact.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_contact.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_contact.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_document-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_document.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_document.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_document.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_game-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_game.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_game.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_game.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_gif-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_gif.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_gif.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_gif.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_location-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_location.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_location.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_location.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_mpeg4_gif-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_mpeg4_gif.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_mpeg4_gif.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_mpeg4_gif.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_photo-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_photo.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_photo.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_photo.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_venue-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_venue.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_venue.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_venue.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_video-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_video.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_video.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_video.png create mode 100644 docs/class_tg_bot_1_1_inline_query_result_voice-members.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_voice.html create mode 100644 docs/class_tg_bot_1_1_inline_query_result_voice.js create mode 100644 docs/class_tg_bot_1_1_inline_query_result_voice.png create mode 100644 docs/class_tg_bot_1_1_input_contact_message_content-members.html create mode 100644 docs/class_tg_bot_1_1_input_contact_message_content.html create mode 100644 docs/class_tg_bot_1_1_input_contact_message_content.js create mode 100644 docs/class_tg_bot_1_1_input_contact_message_content.png create mode 100644 docs/class_tg_bot_1_1_input_file-members.html create mode 100644 docs/class_tg_bot_1_1_input_file.html create mode 100644 docs/class_tg_bot_1_1_input_file.js create mode 100644 docs/class_tg_bot_1_1_input_location_message_content-members.html create mode 100644 docs/class_tg_bot_1_1_input_location_message_content.html create mode 100644 docs/class_tg_bot_1_1_input_location_message_content.js create mode 100644 docs/class_tg_bot_1_1_input_location_message_content.png create mode 100644 docs/class_tg_bot_1_1_input_message_content-members.html create mode 100644 docs/class_tg_bot_1_1_input_message_content.html create mode 100644 docs/class_tg_bot_1_1_input_message_content.js create mode 100644 docs/class_tg_bot_1_1_input_message_content.png create mode 100644 docs/class_tg_bot_1_1_input_text_message_content-members.html create mode 100644 docs/class_tg_bot_1_1_input_text_message_content.html create mode 100644 docs/class_tg_bot_1_1_input_text_message_content.js create mode 100644 docs/class_tg_bot_1_1_input_text_message_content.png create mode 100644 docs/class_tg_bot_1_1_input_venue_message_content-members.html create mode 100644 docs/class_tg_bot_1_1_input_venue_message_content.html create mode 100644 docs/class_tg_bot_1_1_input_venue_message_content.js create mode 100644 docs/class_tg_bot_1_1_input_venue_message_content.png create mode 100644 docs/class_tg_bot_1_1_keyboard_button-members.html create mode 100644 docs/class_tg_bot_1_1_keyboard_button.html create mode 100644 docs/class_tg_bot_1_1_keyboard_button.js create mode 100644 docs/class_tg_bot_1_1_location-members.html create mode 100644 docs/class_tg_bot_1_1_location.html create mode 100644 docs/class_tg_bot_1_1_location.js create mode 100644 docs/class_tg_bot_1_1_message-members.html create mode 100644 docs/class_tg_bot_1_1_message.html create mode 100644 docs/class_tg_bot_1_1_message.js create mode 100644 docs/class_tg_bot_1_1_message_entity-members.html create mode 100644 docs/class_tg_bot_1_1_message_entity.html create mode 100644 docs/class_tg_bot_1_1_message_entity.js create mode 100644 docs/class_tg_bot_1_1_photo_size-members.html create mode 100644 docs/class_tg_bot_1_1_photo_size.html create mode 100644 docs/class_tg_bot_1_1_photo_size.js create mode 100644 docs/class_tg_bot_1_1_reply_keyboard_markup-members.html create mode 100644 docs/class_tg_bot_1_1_reply_keyboard_markup.html create mode 100644 docs/class_tg_bot_1_1_reply_keyboard_markup.js create mode 100644 docs/class_tg_bot_1_1_reply_keyboard_markup.png create mode 100644 docs/class_tg_bot_1_1_reply_keyboard_remove-members.html create mode 100644 docs/class_tg_bot_1_1_reply_keyboard_remove.html create mode 100644 docs/class_tg_bot_1_1_reply_keyboard_remove.js create mode 100644 docs/class_tg_bot_1_1_reply_keyboard_remove.png create mode 100644 docs/class_tg_bot_1_1_response_parameters-members.html create mode 100644 docs/class_tg_bot_1_1_response_parameters.html create mode 100644 docs/class_tg_bot_1_1_response_parameters.js create mode 100644 docs/class_tg_bot_1_1_sticker-members.html create mode 100644 docs/class_tg_bot_1_1_sticker.html create mode 100644 docs/class_tg_bot_1_1_sticker.js create mode 100644 docs/class_tg_bot_1_1_tg_exception-members.html create mode 100644 docs/class_tg_bot_1_1_tg_exception.html create mode 100644 docs/class_tg_bot_1_1_tg_exception.js create mode 100644 docs/class_tg_bot_1_1_tg_exception.png create mode 100644 docs/class_tg_bot_1_1_tg_long_poll-members.html create mode 100644 docs/class_tg_bot_1_1_tg_long_poll.html create mode 100644 docs/class_tg_bot_1_1_tg_long_poll.js create mode 100644 docs/class_tg_bot_1_1_tg_type_parser-members.html create mode 100644 docs/class_tg_bot_1_1_tg_type_parser.html create mode 100644 docs/class_tg_bot_1_1_tg_type_parser.js create mode 100644 docs/class_tg_bot_1_1_tg_webhook_server-members.html create mode 100644 docs/class_tg_bot_1_1_tg_webhook_server.html create mode 100644 docs/class_tg_bot_1_1_tg_webhook_server.js create mode 100644 docs/class_tg_bot_1_1_tg_webhook_server.png create mode 100644 docs/class_tg_bot_1_1_tg_webhook_tcp_server-members.html create mode 100644 docs/class_tg_bot_1_1_tg_webhook_tcp_server.html create mode 100644 docs/class_tg_bot_1_1_tg_webhook_tcp_server.js create mode 100644 docs/class_tg_bot_1_1_tg_webhook_tcp_server.png create mode 100644 docs/class_tg_bot_1_1_update-members.html create mode 100644 docs/class_tg_bot_1_1_update.html create mode 100644 docs/class_tg_bot_1_1_update.js create mode 100644 docs/class_tg_bot_1_1_url-members.html create mode 100644 docs/class_tg_bot_1_1_url.html create mode 100644 docs/class_tg_bot_1_1_url.js create mode 100644 docs/class_tg_bot_1_1_user-members.html create mode 100644 docs/class_tg_bot_1_1_user.html create mode 100644 docs/class_tg_bot_1_1_user.js create mode 100644 docs/class_tg_bot_1_1_user_profile_photos-members.html create mode 100644 docs/class_tg_bot_1_1_user_profile_photos.html create mode 100644 docs/class_tg_bot_1_1_user_profile_photos.js create mode 100644 docs/class_tg_bot_1_1_venue-members.html create mode 100644 docs/class_tg_bot_1_1_venue.html create mode 100644 docs/class_tg_bot_1_1_venue.js create mode 100644 docs/class_tg_bot_1_1_video-members.html create mode 100644 docs/class_tg_bot_1_1_video.html create mode 100644 docs/class_tg_bot_1_1_video.js create mode 100644 docs/class_tg_bot_1_1_voice-members.html create mode 100644 docs/class_tg_bot_1_1_voice.html create mode 100644 docs/class_tg_bot_1_1_voice.js create mode 100644 docs/class_tg_bot_1_1_webhook_info-members.html create mode 100644 docs/class_tg_bot_1_1_webhook_info.html create mode 100644 docs/class_tg_bot_1_1_webhook_info.js delete mode 100644 docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.html delete mode 100644 docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.js delete mode 100644 docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.png delete mode 100644 docs/d0/d26/class_tg_bot_1_1_chat-members.html delete mode 100644 docs/d0/d38/class_tg_bot_1_1_input_file.html delete mode 100644 docs/d0/d38/class_tg_bot_1_1_input_file.js delete mode 100644 docs/d0/d39/class_tg_bot_1_1_message_entity-members.html delete mode 100644 docs/d0/d72/_tg_exception_8h.html delete mode 100644 docs/d0/d72/_tg_exception_8h_source.html delete mode 100644 docs/d0/d87/_tg_webhook_server_8h.html delete mode 100644 docs/d0/d87/_tg_webhook_server_8h_source.html delete mode 100644 docs/d0/dad/class_tg_bot_1_1_inline_query_result-members.html delete mode 100644 docs/d0/db4/class_tg_bot_1_1_force_reply-members.html delete mode 100644 docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.html delete mode 100644 docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.js delete mode 100644 docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.png delete mode 100644 docs/d0/de7/class_tg_bot_1_1_inline_query_result_mpeg4_gif-members.html delete mode 100644 docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.html delete mode 100644 docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.js delete mode 100644 docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.png delete mode 100644 docs/d1/d00/class_tg_bot_1_1_audio.html delete mode 100644 docs/d1/d00/class_tg_bot_1_1_audio.js delete mode 100644 docs/d1/d0b/class_tg_bot_1_1_inline_query_result_game.html delete mode 100644 docs/d1/d0b/class_tg_bot_1_1_inline_query_result_game.js delete mode 100644 docs/d1/d0b/class_tg_bot_1_1_inline_query_result_game.png delete mode 100644 docs/d1/d15/class_tg_bot_1_1_tg_type_parser.html delete mode 100644 docs/d1/d15/class_tg_bot_1_1_tg_type_parser.js delete mode 100644 docs/d1/d22/_inline_query_result_article_8h.html delete mode 100644 docs/d1/d22/_inline_query_result_article_8h_source.html delete mode 100644 docs/d1/d25/class_tg_bot_1_1_inline_query_result_document.html delete mode 100644 docs/d1/d25/class_tg_bot_1_1_inline_query_result_document.js delete mode 100644 docs/d1/d25/class_tg_bot_1_1_inline_query_result_document.png delete mode 100644 docs/d1/d2a/class_tg_bot_1_1_tg_long_poll.html delete mode 100644 docs/d1/d2a/class_tg_bot_1_1_tg_long_poll.js delete mode 100644 docs/d1/d3b/class_tg_bot_1_1_inline_query_result_gif.html delete mode 100644 docs/d1/d3b/class_tg_bot_1_1_inline_query_result_gif.js delete mode 100644 docs/d1/d3b/class_tg_bot_1_1_inline_query_result_gif.png delete mode 100644 docs/d1/d53/class_tg_bot_1_1_user.html delete mode 100644 docs/d1/d53/class_tg_bot_1_1_user.js delete mode 100644 docs/d1/d6f/class_tg_bot_1_1_location.html delete mode 100644 docs/d1/d6f/class_tg_bot_1_1_location.js delete mode 100644 docs/d1/d8f/_keyboard_button_8h.html delete mode 100644 docs/d1/d8f/_keyboard_button_8h_source.html delete mode 100644 docs/d1/da0/_inline_query_result_cached_sticker_8h.html delete mode 100644 docs/d1/da0/_inline_query_result_cached_sticker_8h_source.html delete mode 100644 docs/d1/da8/group__general.html delete mode 100644 docs/d1/da8/group__general.js delete mode 100644 docs/d1/dbb/class_tg_bot_1_1_tg_webhook_server-members.html delete mode 100644 docs/d1/dbe/class_tg_bot_1_1_http_server-members.html delete mode 100644 docs/d1/dd9/class_tg_bot_1_1_bot.html delete mode 100644 docs/d1/dd9/class_tg_bot_1_1_bot.js delete mode 100644 docs/d1/de8/class_tg_bot_1_1_input_venue_message_content.html delete mode 100644 docs/d1/de8/class_tg_bot_1_1_input_venue_message_content.js delete mode 100644 docs/d1/de8/class_tg_bot_1_1_input_venue_message_content.png delete mode 100644 docs/d1/dea/class_tg_bot_1_1_inline_query_result_contact.html delete mode 100644 docs/d1/dea/class_tg_bot_1_1_inline_query_result_contact.js delete mode 100644 docs/d1/dea/class_tg_bot_1_1_inline_query_result_contact.png delete mode 100644 docs/d1/def/class_tg_bot_1_1_response_parameters.html delete mode 100644 docs/d1/def/class_tg_bot_1_1_response_parameters.js delete mode 100644 docs/d2/d01/class_tg_bot_1_1_inline_query_result_gif-members.html delete mode 100644 docs/d2/d11/class_tg_bot_1_1_chat_member-members.html delete mode 100644 docs/d2/d2f/_inline_query_result_audio_8h.html delete mode 100644 docs/d2/d2f/_inline_query_result_audio_8h_source.html delete mode 100644 docs/d2/d32/_input_file_8h.html delete mode 100644 docs/d2/d32/_input_file_8h_source.html delete mode 100644 docs/d2/d55/_chat_8h.html delete mode 100644 docs/d2/d55/_chat_8h_source.html delete mode 100644 docs/d2/d60/class_tg_bot_1_1_generic_reply.html delete mode 100644 docs/d2/d60/class_tg_bot_1_1_generic_reply.js delete mode 100644 docs/d2/d60/class_tg_bot_1_1_generic_reply.png delete mode 100644 docs/d2/d62/class_tg_bot_1_1_inline_query.html delete mode 100644 docs/d2/d62/class_tg_bot_1_1_inline_query.js delete mode 100644 docs/d2/d6e/class_tg_bot_1_1_reply_keyboard_remove-members.html delete mode 100644 docs/d2/d70/class_tg_bot_1_1_inline_keyboard_button.html delete mode 100644 docs/d2/d70/class_tg_bot_1_1_inline_keyboard_button.js delete mode 100644 docs/d2/d80/class_tg_bot_1_1_event_handler-members.html delete mode 100644 docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.html delete mode 100644 docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.js delete mode 100644 docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.png delete mode 100644 docs/d2/d81/_audio_8h.html delete mode 100644 docs/d2/d81/_audio_8h_source.html delete mode 100644 docs/d2/d99/class_tg_bot_1_1_inline_query_result_venue-members.html delete mode 100644 docs/d2/d9a/_message_entity_8h.html delete mode 100644 docs/d2/d9a/_message_entity_8h_source.html delete mode 100644 docs/d2/df5/class_tg_bot_1_1_event_handler.html delete mode 100644 docs/d2/df5/class_tg_bot_1_1_event_handler.js delete mode 100644 docs/d2/dfb/class_tg_bot_1_1_chat.html delete mode 100644 docs/d2/dfb/class_tg_bot_1_1_chat.js delete mode 100644 docs/d3/d00/class_tg_bot_1_1_input_message_content-members.html delete mode 100644 docs/d3/d04/class_tg_bot_1_1_user_profile_photos-members.html delete mode 100644 docs/d3/d21/class_tg_bot_1_1_tg_exception-members.html delete mode 100644 docs/d3/d33/class_tg_bot_1_1_inline_query_result_video-members.html delete mode 100644 docs/d3/d6c/class_tg_bot_1_1_input_message_content.html delete mode 100644 docs/d3/d6c/class_tg_bot_1_1_input_message_content.js delete mode 100644 docs/d3/d6c/class_tg_bot_1_1_input_message_content.png delete mode 100644 docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.html delete mode 100644 docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.js delete mode 100644 docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.png delete mode 100644 docs/d3/d75/_user_8h.html delete mode 100644 docs/d3/d75/_user_8h_source.html delete mode 100644 docs/d3/d88/class_tg_bot_1_1_callback_query-members.html delete mode 100644 docs/d3/d9a/_tg_webhook_local_server_8h.html delete mode 100644 docs/d3/d9a/_tg_webhook_local_server_8h_source.html delete mode 100644 docs/d3/d9c/_input_text_message_content_8h.html delete mode 100644 docs/d3/d9c/_input_text_message_content_8h_source.html delete mode 100644 docs/d3/dab/class_tg_bot_1_1_update.html delete mode 100644 docs/d3/dab/class_tg_bot_1_1_update.js delete mode 100644 docs/d3/db6/class_tg_bot_1_1_inline_query_result_audio-members.html delete mode 100644 docs/d3/dc0/class_tg_bot_1_1_bot-members.html delete mode 100644 docs/d3/dcb/_inline_query_result_document_8h.html delete mode 100644 docs/d3/dcb/_inline_query_result_document_8h_source.html delete mode 100644 docs/d3/deb/class_tg_bot_1_1_tg_exception.html delete mode 100644 docs/d3/deb/class_tg_bot_1_1_tg_exception.js delete mode 100644 docs/d3/deb/class_tg_bot_1_1_tg_exception.png delete mode 100644 docs/d3/df8/class_tg_bot_1_1_callback_query.html delete mode 100644 docs/d3/df8/class_tg_bot_1_1_callback_query.js delete mode 100644 docs/d4/d47/_http_server_8h.html delete mode 100644 docs/d4/d47/_http_server_8h_source.html delete mode 100644 docs/d4/d53/class_tg_bot_1_1_inline_query_result_location-members.html delete mode 100644 docs/d4/d61/class_tg_bot_1_1_document.html delete mode 100644 docs/d4/d61/class_tg_bot_1_1_document.js delete mode 100644 docs/d4/d84/_event_handler_8h.html delete mode 100644 docs/d4/d84/_event_handler_8h_source.html delete mode 100644 docs/d4/d8b/class_tg_bot_1_1_http_server.html delete mode 100644 docs/d4/d8b/class_tg_bot_1_1_http_server.js delete mode 100644 docs/d4/d8b/class_tg_bot_1_1_http_server.png delete mode 100644 docs/d4/d91/class_tg_bot_1_1_http_client-members.html delete mode 100644 docs/d4/d9c/class_tg_bot_1_1_tg_long_poll-members.html delete mode 100644 docs/d4/dbc/class_tg_bot_1_1_chosen_inline_result.html delete mode 100644 docs/d4/dbc/class_tg_bot_1_1_chosen_inline_result.js delete mode 100644 docs/d4/ddd/_api_8h.html delete mode 100644 docs/d4/ddd/_api_8h_source.html delete mode 100644 docs/d4/de1/class_tg_bot_1_1_force_reply.html delete mode 100644 docs/d4/de1/class_tg_bot_1_1_force_reply.js delete mode 100644 docs/d4/de1/class_tg_bot_1_1_force_reply.png delete mode 100644 docs/d4/deb/class_tg_bot_1_1_api-members.html delete mode 100644 docs/d5/d01/_user_profile_photos_8h.html delete mode 100644 docs/d5/d01/_user_profile_photos_8h_source.html delete mode 100644 docs/d5/d11/class_tg_bot_1_1_http_server_1_1_connection.html delete mode 100644 docs/d5/d11/class_tg_bot_1_1_http_server_1_1_connection.js delete mode 100644 docs/d5/d13/namespace_string_tools.html delete mode 100644 docs/d5/d2f/class_tg_bot_1_1_inline_query_result_photo-members.html delete mode 100644 docs/d5/d61/_document_8h.html delete mode 100644 docs/d5/d61/_document_8h_source.html delete mode 100644 docs/d5/d61/_inline_query_result_mpeg4_gif_8h.html delete mode 100644 docs/d5/d61/_inline_query_result_mpeg4_gif_8h_source.html delete mode 100644 docs/d5/d66/_venue_8h.html delete mode 100644 docs/d5/d66/_venue_8h_source.html delete mode 100644 docs/d5/d76/_update_8h.html delete mode 100644 docs/d5/d76/_update_8h_source.html delete mode 100644 docs/d5/d77/_response_parameters_8h.html delete mode 100644 docs/d5/d77/_response_parameters_8h_source.html delete mode 100644 docs/d5/d82/class_tg_bot_1_1_http_client.html delete mode 100644 docs/d5/d82/class_tg_bot_1_1_http_client.js delete mode 100644 docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.html delete mode 100644 docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.js delete mode 100644 docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.png delete mode 100644 docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.html delete mode 100644 docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.js delete mode 100644 docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.png delete mode 100644 docs/d5/dac/class_tg_bot_1_1_inline_query_result_game-members.html delete mode 100644 docs/d5/db4/_sticker_8h.html delete mode 100644 docs/d5/db4/_sticker_8h_source.html delete mode 100644 docs/d5/df0/_input_contact_message_content_8h.html delete mode 100644 docs/d5/df0/_input_contact_message_content_8h_source.html delete mode 100644 docs/d5/dfd/_force_reply_8h.html delete mode 100644 docs/d5/dfd/_force_reply_8h_source.html delete mode 100644 docs/d6/d11/class_tg_bot_1_1_inline_query_result_document-members.html delete mode 100644 docs/d6/d59/group__types.html delete mode 100644 docs/d6/d59/group__types.js delete mode 100644 docs/d6/d6c/class_tg_bot_1_1_reply_keyboard_markup-members.html delete mode 100644 docs/d6/d74/class_tg_bot_1_1_contact-members.html delete mode 100644 docs/d6/d75/_reply_keyboard_markup_8h.html delete mode 100644 docs/d6/d75/_reply_keyboard_markup_8h_source.html delete mode 100644 docs/d6/d78/class_tg_bot_1_1_location-members.html delete mode 100644 docs/d6/d91/class_tg_bot_1_1_voice.html delete mode 100644 docs/d6/d91/class_tg_bot_1_1_voice.js delete mode 100644 docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.html delete mode 100644 docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.js delete mode 100644 docs/d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.png delete mode 100644 docs/d6/dce/class_tg_bot_1_1_chosen_inline_result-members.html delete mode 100644 docs/d6/dce/class_tg_bot_1_1_message.html delete mode 100644 docs/d6/dce/class_tg_bot_1_1_message.js delete mode 100644 docs/d6/dd2/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif-members.html delete mode 100644 docs/d6/df3/_callback_query_8h.html delete mode 100644 docs/d6/df3/_callback_query_8h_source.html delete mode 100644 docs/d7/d06/class_tg_bot_1_1_input_file-members.html delete mode 100644 docs/d7/d0b/class_tg_bot_1_1_inline_query_result_cached_audio.html delete mode 100644 docs/d7/d0b/class_tg_bot_1_1_inline_query_result_cached_audio.js delete mode 100644 docs/d7/d0b/class_tg_bot_1_1_inline_query_result_cached_audio.png delete mode 100644 docs/d7/d17/_video_8h.html delete mode 100644 docs/d7/d17/_video_8h_source.html delete mode 100644 docs/d7/d1a/_tg_type_parser_8h.html delete mode 100644 docs/d7/d1a/_tg_type_parser_8h_source.html delete mode 100644 docs/d7/d25/class_tg_bot_1_1_webhook_info.html delete mode 100644 docs/d7/d25/class_tg_bot_1_1_webhook_info.js delete mode 100644 docs/d7/d5c/_inline_query_result_cached_audio_8h.html delete mode 100644 docs/d7/d5c/_inline_query_result_cached_audio_8h_source.html delete mode 100644 docs/d7/d65/class_tg_bot_1_1_inline_query_result_cached_gif.html delete mode 100644 docs/d7/d65/class_tg_bot_1_1_inline_query_result_cached_gif.js delete mode 100644 docs/d7/d65/class_tg_bot_1_1_inline_query_result_cached_gif.png delete mode 100644 docs/d7/d7d/_inline_query_result_venue_8h.html delete mode 100644 docs/d7/d7d/_inline_query_result_venue_8h_source.html delete mode 100644 docs/d7/d8b/_chosen_inline_result_8h.html delete mode 100644 docs/d7/d8b/_chosen_inline_result_8h_source.html delete mode 100644 docs/d7/d90/_inline_query_result_cached_voice_8h.html delete mode 100644 docs/d7/d90/_inline_query_result_cached_voice_8h_source.html delete mode 100644 docs/d7/d9d/class_tg_bot_1_1_tg_webhook_tcp_server-members.html delete mode 100644 docs/d7/d9e/class_tg_bot_1_1_inline_query_result_audio.html delete mode 100644 docs/d7/d9e/class_tg_bot_1_1_inline_query_result_audio.js delete mode 100644 docs/d7/d9e/class_tg_bot_1_1_inline_query_result_audio.png delete mode 100644 docs/d7/dbb/class_tg_bot_1_1_venue-members.html delete mode 100644 docs/d7/dfe/_photo_size_8h.html delete mode 100644 docs/d7/dfe/_photo_size_8h_source.html delete mode 100644 docs/d8/d05/_reply_keyboard_remove_8h.html delete mode 100644 docs/d8/d05/_reply_keyboard_remove_8h_source.html delete mode 100644 docs/d8/d12/_http_client_8h.html delete mode 100644 docs/d8/d12/_http_client_8h_source.html delete mode 100644 docs/d8/d14/class_tg_bot_1_1_http_req_arg-members.html delete mode 100644 docs/d8/d21/class_tg_bot_1_1_inline_query_result_cached_video-members.html delete mode 100644 docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.html delete mode 100644 docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.js delete mode 100644 docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.png delete mode 100644 docs/d8/d47/_string_tools_8h.html delete mode 100644 docs/d8/d47/_string_tools_8h.js delete mode 100644 docs/d8/d47/_string_tools_8h_source.html delete mode 100644 docs/d8/d6e/_inline_query_8h.html delete mode 100644 docs/d8/d6e/_inline_query_8h_source.html delete mode 100644 docs/d8/d74/_http_parser_8h.html delete mode 100644 docs/d8/d74/_http_parser_8h_source.html delete mode 100644 docs/d8/d99/class_tg_bot_1_1_inline_query_result_cached_audio-members.html delete mode 100644 docs/d8/d9d/namespace_tg_bot.html delete mode 100644 docs/d8/d9d/namespace_tg_bot.js delete mode 100644 docs/d8/dae/_inline_keyboard_button_8h.html delete mode 100644 docs/d8/dae/_inline_keyboard_button_8h_source.html delete mode 100644 docs/d8/dd0/class_tg_bot_1_1_inline_query_result_cached_gif-members.html delete mode 100644 docs/d8/dd7/_inline_query_result_contact_8h.html delete mode 100644 docs/d8/dd7/_inline_query_result_contact_8h_source.html delete mode 100644 docs/d8/ddf/class_tg_bot_1_1_video.html delete mode 100644 docs/d8/ddf/class_tg_bot_1_1_video.js delete mode 100644 docs/d8/de9/class_tg_bot_1_1_inline_keyboard_markup-members.html delete mode 100644 docs/d8/ded/class_tg_bot_1_1_http_req_arg.html delete mode 100644 docs/d8/ded/class_tg_bot_1_1_http_req_arg.js delete mode 100644 docs/d8/df2/class_tg_bot_1_1_input_contact_message_content-members.html delete mode 100644 docs/d8/df3/tgbot_8h.html delete mode 100644 docs/d8/df3/tgbot_8h_source.html delete mode 100644 docs/d9/d00/class_tg_bot_1_1_response_parameters-members.html delete mode 100644 docs/d9/d27/class_tg_bot_1_1_event_broadcaster-members.html delete mode 100644 docs/d9/d5a/class_tg_bot_1_1_audio-members.html delete mode 100644 docs/d9/d69/class_tg_bot_1_1_api.html delete mode 100644 docs/d9/d69/class_tg_bot_1_1_api.js delete mode 100644 docs/d9/d70/class_tg_bot_1_1_keyboard_button.html delete mode 100644 docs/d9/d70/class_tg_bot_1_1_keyboard_button.js delete mode 100644 docs/d9/d76/class_tg_bot_1_1_inline_query_result_voice.html delete mode 100644 docs/d9/d76/class_tg_bot_1_1_inline_query_result_voice.js delete mode 100644 docs/d9/d76/class_tg_bot_1_1_inline_query_result_voice.png delete mode 100644 docs/d9/d86/class_tg_bot_1_1_url.html delete mode 100644 docs/d9/d86/class_tg_bot_1_1_url.js delete mode 100644 docs/d9/dac/_location_8h.html delete mode 100644 docs/d9/dac/_location_8h_source.html delete mode 100644 docs/d9/db4/class_tg_bot_1_1_inline_query_result_contact-members.html delete mode 100644 docs/d9/dd2/group__net.html delete mode 100644 docs/d9/dd2/group__net.js delete mode 100644 docs/d9/dd7/_url_8h.html delete mode 100644 docs/d9/dd7/_url_8h_source.html delete mode 100644 docs/d9/dec/class_tg_bot_1_1_input_location_message_content.html delete mode 100644 docs/d9/dec/class_tg_bot_1_1_input_location_message_content.js delete mode 100644 docs/d9/dec/class_tg_bot_1_1_input_location_message_content.png delete mode 100644 docs/da/d09/_inline_query_result_gif_8h.html delete mode 100644 docs/da/d09/_inline_query_result_gif_8h_source.html delete mode 100644 docs/da/d17/class_tg_bot_1_1_sticker.html delete mode 100644 docs/da/d17/class_tg_bot_1_1_sticker.js delete mode 100644 docs/da/d19/class_tg_bot_1_1_photo_size-members.html delete mode 100644 docs/da/d3b/_inline_query_result_voice_8h.html delete mode 100644 docs/da/d3b/_inline_query_result_voice_8h_source.html delete mode 100644 docs/da/d5b/class_tg_bot_1_1_inline_query_result_cached_voice.html delete mode 100644 docs/da/d5b/class_tg_bot_1_1_inline_query_result_cached_voice.js delete mode 100644 docs/da/d5b/class_tg_bot_1_1_inline_query_result_cached_voice.png delete mode 100644 docs/da/d80/class_tg_bot_1_1_inline_query-members.html delete mode 100644 docs/da/d90/class_tg_bot_1_1_inline_query_result_cached_document-members.html delete mode 100644 docs/da/d92/_inline_query_result_8h.html delete mode 100644 docs/da/d92/_inline_query_result_8h_source.html delete mode 100644 docs/da/d96/class_tg_bot_1_1_inline_query_result_article-members.html delete mode 100644 docs/da/d97/class_tg_bot_1_1_inline_query_result_location.html delete mode 100644 docs/da/d97/class_tg_bot_1_1_inline_query_result_location.js delete mode 100644 docs/da/d97/class_tg_bot_1_1_inline_query_result_location.png delete mode 100644 docs/da/da8/class_tg_bot_1_1_inline_query_result_cached_photo-members.html delete mode 100644 docs/da/db1/_inline_keyboard_markup_8h.html delete mode 100644 docs/da/db1/_inline_keyboard_markup_8h_source.html delete mode 100644 docs/da/df7/group__tools.html delete mode 100644 docs/da/df7/group__tools.js delete mode 100644 docs/da/dfa/class_tg_bot_1_1_message-members.html delete mode 100644 docs/db/d15/class_tg_bot_1_1_http_server_1_1_connection-members.html delete mode 100644 docs/db/d2a/_inline_query_result_cached_mpeg4_gif_8h.html delete mode 100644 docs/db/d2a/_inline_query_result_cached_mpeg4_gif_8h_source.html delete mode 100644 docs/db/d2a/_webhook_info_8h.html delete mode 100644 docs/db/d2a/_webhook_info_8h_source.html delete mode 100644 docs/db/d54/class_tg_bot_1_1_inline_query_result_voice-members.html delete mode 100644 docs/db/d8b/class_tg_bot_1_1_venue.html delete mode 100644 docs/db/d8b/class_tg_bot_1_1_venue.js delete mode 100644 docs/db/dac/class_tg_bot_1_1_user-members.html delete mode 100644 docs/db/db6/_message_8h.html delete mode 100644 docs/db/db6/_message_8h_source.html delete mode 100644 docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.html delete mode 100644 docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.js delete mode 100644 docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.png delete mode 100644 docs/dc/d05/class_tg_bot_1_1_video-members.html delete mode 100644 docs/dc/d29/_inline_query_result_video_8h.html delete mode 100644 docs/dc/d29/_inline_query_result_video_8h_source.html delete mode 100644 docs/dc/d30/_voice_8h.html delete mode 100644 docs/dc/d30/_voice_8h_source.html delete mode 100644 docs/dc/d66/class_tg_bot_1_1_document-members.html delete mode 100644 docs/dc/d67/_http_req_arg_8h.html delete mode 100644 docs/dc/d67/_http_req_arg_8h_source.html delete mode 100644 docs/dc/d6f/_inline_query_result_cached_photo_8h.html delete mode 100644 docs/dc/d6f/_inline_query_result_cached_photo_8h_source.html delete mode 100644 docs/dc/d75/class_tg_bot_1_1_file-members.html delete mode 100644 docs/dc/d83/_input_message_content_8h.html delete mode 100644 docs/dc/d83/_input_message_content_8h_source.html delete mode 100644 docs/dc/d83/_input_venue_message_content_8h.html delete mode 100644 docs/dc/d83/_input_venue_message_content_8h_source.html delete mode 100644 docs/dc/d85/class_tg_bot_1_1_keyboard_button-members.html delete mode 100644 docs/dc/d93/class_tg_bot_1_1_sticker-members.html delete mode 100644 docs/dc/dae/class_tg_bot_1_1_inline_query_result_cached_sticker-members.html delete mode 100644 docs/dc/db7/class_tg_bot_1_1_event_broadcaster.html delete mode 100644 docs/dc/db7/class_tg_bot_1_1_event_broadcaster.js delete mode 100644 docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.html delete mode 100644 docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.js delete mode 100644 docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.png delete mode 100644 docs/dc/dc7/_inline_query_result_cached_document_8h.html delete mode 100644 docs/dc/dc7/_inline_query_result_cached_document_8h_source.html delete mode 100644 docs/dd/d05/class_tg_bot_1_1_chat_member.html delete mode 100644 docs/dd/d05/class_tg_bot_1_1_chat_member.js delete mode 100644 docs/dd/d2e/class_tg_bot_1_1_voice-members.html delete mode 100644 docs/dd/d31/class_tg_bot_1_1_input_venue_message_content-members.html delete mode 100644 docs/dd/d38/class_tg_bot_1_1_input_text_message_content-members.html delete mode 100644 docs/dd/d3b/_inline_query_result_cached_video_8h.html delete mode 100644 docs/dd/d3b/_inline_query_result_cached_video_8h_source.html delete mode 100644 docs/dd/d7e/class_tg_bot_1_1_message_entity.html delete mode 100644 docs/dd/d7e/class_tg_bot_1_1_message_entity.js delete mode 100644 docs/dd/d95/_tg_long_poll_8h.html delete mode 100644 docs/dd/d95/_tg_long_poll_8h_source.html delete mode 100644 docs/dd/d98/class_tg_bot_1_1_update-members.html delete mode 100644 docs/dd/dbe/class_tg_bot_1_1_file.html delete mode 100644 docs/dd/dbe/class_tg_bot_1_1_file.js delete mode 100644 docs/dd/def/_inline_query_result_location_8h.html delete mode 100644 docs/dd/def/_inline_query_result_location_8h_source.html delete mode 100644 docs/dd/df6/_inline_query_result_game_8h.html delete mode 100644 docs/dd/df6/_inline_query_result_game_8h_source.html delete mode 100644 docs/dd/dfd/class_tg_bot_1_1_inline_query_result.html delete mode 100644 docs/dd/dfd/class_tg_bot_1_1_inline_query_result.js delete mode 100644 docs/dd/dfd/class_tg_bot_1_1_inline_query_result.png delete mode 100644 docs/de/d05/_inline_query_result_cached_gif_8h.html delete mode 100644 docs/de/d05/_inline_query_result_cached_gif_8h_source.html delete mode 100644 docs/de/d0d/class_tg_bot_1_1_http_parser.html delete mode 100644 docs/de/d0d/class_tg_bot_1_1_http_parser.js delete mode 100644 docs/de/d0f/_chat_member_8h.html delete mode 100644 docs/de/d0f/_chat_member_8h_source.html delete mode 100644 docs/de/d17/class_tg_bot_1_1_inline_query_result_cached_document.html delete mode 100644 docs/de/d17/class_tg_bot_1_1_inline_query_result_cached_document.js delete mode 100644 docs/de/d17/class_tg_bot_1_1_inline_query_result_cached_document.png delete mode 100644 docs/de/d19/class_tg_bot_1_1_inline_query_result_video.html delete mode 100644 docs/de/d19/class_tg_bot_1_1_inline_query_result_video.js delete mode 100644 docs/de/d19/class_tg_bot_1_1_inline_query_result_video.png delete mode 100644 docs/de/d53/_inline_query_result_photo_8h.html delete mode 100644 docs/de/d53/_inline_query_result_photo_8h_source.html delete mode 100644 docs/de/d63/class_tg_bot_1_1_url-members.html delete mode 100644 docs/de/d67/_bot_8h.html delete mode 100644 docs/de/d67/_bot_8h_source.html delete mode 100644 docs/de/d9f/class_tg_bot_1_1_photo_size.html delete mode 100644 docs/de/d9f/class_tg_bot_1_1_photo_size.js delete mode 100644 docs/de/dac/class_tg_bot_1_1_input_text_message_content.html delete mode 100644 docs/de/dac/class_tg_bot_1_1_input_text_message_content.js delete mode 100644 docs/de/dac/class_tg_bot_1_1_input_text_message_content.png delete mode 100644 docs/de/dcb/class_tg_bot_1_1_generic_reply-members.html delete mode 100644 docs/df/d0c/_file_8h.html delete mode 100644 docs/df/d0c/_file_8h_source.html delete mode 100644 docs/df/d1a/class_tg_bot_1_1_input_location_message_content-members.html delete mode 100644 docs/df/d1e/class_tg_bot_1_1_inline_query_result_mpeg4_gif.html delete mode 100644 docs/df/d1e/class_tg_bot_1_1_inline_query_result_mpeg4_gif.js delete mode 100644 docs/df/d1e/class_tg_bot_1_1_inline_query_result_mpeg4_gif.png delete mode 100644 docs/df/d31/class_tg_bot_1_1_tg_type_parser-members.html delete mode 100644 docs/df/d32/class_tg_bot_1_1_contact.html delete mode 100644 docs/df/d32/class_tg_bot_1_1_contact.js delete mode 100644 docs/df/d40/class_tg_bot_1_1_user_profile_photos.html delete mode 100644 docs/df/d40/class_tg_bot_1_1_user_profile_photos.js delete mode 100644 docs/df/d4d/_generic_reply_8h.html delete mode 100644 docs/df/d4d/_generic_reply_8h_source.html delete mode 100644 docs/df/d52/class_tg_bot_1_1_inline_query_result_cached_voice-members.html delete mode 100644 docs/df/d55/class_tg_bot_1_1_inline_keyboard_button-members.html delete mode 100644 docs/df/d65/_tg_webhook_tcp_server_8h.html delete mode 100644 docs/df/d65/_tg_webhook_tcp_server_8h_source.html delete mode 100644 docs/df/d6f/_input_location_message_content_8h.html delete mode 100644 docs/df/d6f/_input_location_message_content_8h_source.html delete mode 100644 docs/df/d88/_contact_8h.html delete mode 100644 docs/df/d88/_contact_8h_source.html delete mode 100644 docs/df/d8f/class_tg_bot_1_1_inline_query_result_venue.html delete mode 100644 docs/df/d8f/class_tg_bot_1_1_inline_query_result_venue.js delete mode 100644 docs/df/d8f/class_tg_bot_1_1_inline_query_result_venue.png delete mode 100644 docs/df/dae/class_tg_bot_1_1_http_parser-members.html delete mode 100644 docs/df/dcb/_event_broadcaster_8h.html delete mode 100644 docs/df/dcb/_event_broadcaster_8h_source.html delete mode 100644 docs/df/dde/class_tg_bot_1_1_webhook_info-members.html delete mode 100644 docs/df/ddf/class_tg_bot_1_1_inline_query_result_cached_photo.html delete mode 100644 docs/df/ddf/class_tg_bot_1_1_inline_query_result_cached_photo.js delete mode 100644 docs/df/ddf/class_tg_bot_1_1_inline_query_result_cached_photo.png create mode 100644 docs/group__general.html create mode 100644 docs/group__general.js create mode 100644 docs/group__net.html create mode 100644 docs/group__net.js create mode 100644 docs/group__tools.html create mode 100644 docs/group__tools.js create mode 100644 docs/group__types.html create mode 100644 docs/group__types.js create mode 100644 docs/namespace_string_tools.html create mode 100644 docs/namespace_tg_bot.html create mode 100644 docs/namespace_tg_bot.js create mode 100644 docs/tgbot_8h.html create mode 100644 docs/tgbot_8h_source.html diff --git a/Doxyfile b/Doxyfile index 9acb8dc..4bec8df 100644 --- a/Doxyfile +++ b/Doxyfile @@ -1,4 +1,4 @@ -# Doxyfile 1.8.10 +# Doxyfile 1.8.13 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project. @@ -303,6 +303,15 @@ EXTENSION_MAPPING = MARKDOWN_SUPPORT = YES +# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up +# to that level are automatically included in the table of contents, even if +# they do not have an id attribute. +# Note: This feature currently applies only to Markdown headings. +# Minimum value: 0, maximum value: 99, default value: 0. +# This tag requires that the tag MARKDOWN_SUPPORT is set to YES. + +TOC_INCLUDE_HEADINGS = 0 + # When enabled doxygen tries to link words that correspond to documented # classes, or namespaces to their corresponding documentation. Such a link can # be prevented in individual cases by putting a % sign in front of the word or @@ -749,6 +758,12 @@ WARN_IF_DOC_ERROR = YES WARN_NO_PARAMDOC = NO +# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when +# a warning is encountered. +# The default value is: NO. + +WARN_AS_ERROR = NO + # The WARN_FORMAT tag determines the format of the warning messages that doxygen # can produce. The string should contain the $file, $line, and $text tags, which # will be replaced by the file and line number from which the warning originated @@ -797,8 +812,8 @@ INPUT_ENCODING = UTF-8 # If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, # *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, # *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, -# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, -# *.vhdl, *.ucf, *.qsf, *.as and *.js. +# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, +# *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf and *.qsf. FILE_PATTERNS = *.h \ *.hh \ @@ -888,6 +903,10 @@ IMAGE_PATH = # Note that the filter must not add or remove lines; it is applied before the # code is scanned, but not when the output code is generated. If lines are added # or removed, the anchors will not be placed correctly. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. INPUT_FILTER = @@ -897,6 +916,10 @@ INPUT_FILTER = # (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how # filters are used. If the FILTER_PATTERNS tag is empty or if none of the # patterns match the file name, INPUT_FILTER is applied. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. FILTER_PATTERNS = @@ -1014,7 +1037,7 @@ VERBATIM_HEADERS = YES # rich C++ code for which doxygen's built-in parser lacks the necessary type # information. # Note: The availability of this option depends on whether or not doxygen was -# compiled with the --with-libclang option. +# generated with the -Duse-libclang=ON option for CMake. # The default value is: NO. CLANG_ASSISTED_PARSING = NO @@ -1758,6 +1781,14 @@ LATEX_SOURCE_CODE = NO LATEX_BIB_STYLE = plain +# If the LATEX_TIMESTAMP tag is set to YES then the footer of each generated +# page will contain the date and time when the page was generated. Setting this +# to NO can help when comparing the output of multiple runs. +# The default value is: NO. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_TIMESTAMP = NO + #--------------------------------------------------------------------------- # Configuration options related to the RTF output #--------------------------------------------------------------------------- @@ -2351,6 +2382,11 @@ DIAFILE_DIRS = PLANTUML_JAR_PATH = +# When using plantuml, the PLANTUML_CFG_FILE tag can be used to specify a +# configuration file for plantuml. + +PLANTUML_CFG_FILE = + # When using plantuml, the specified paths are searched for files specified by # the !include statement in a plantuml block. diff --git a/docs/_api_8h.html b/docs/_api_8h.html new file mode 100644 index 0000000..67379d9 --- /dev/null +++ b/docs/_api_8h.html @@ -0,0 +1,129 @@ + + + + + + + +tgbot-cpp: include/tgbot/Api.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Api.h File Reference
+
+
+
#include <string>
+#include <vector>
+#include <boost/property_tree/ptree.hpp>
+#include "tgbot/net/HttpReqArg.h"
+#include "tgbot/types/User.h"
+#include "tgbot/types/Message.h"
+#include "tgbot/types/GenericReply.h"
+#include "tgbot/types/InputFile.h"
+#include "tgbot/types/UserProfilePhotos.h"
+#include "tgbot/types/Update.h"
+#include "tgbot/types/InlineQueryResult.h"
+#include "tgbot/types/Venue.h"
+#include "tgbot/types/WebhookInfo.h"
+#include "tgbot/types/ChatMember.h"
+#include "tgbot/types/File.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Api
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_api_8h_source.html b/docs/_api_8h_source.html new file mode 100644 index 0000000..5b1334a --- /dev/null +++ b/docs/_api_8h_source.html @@ -0,0 +1,154 @@ + + + + + + + +tgbot-cpp: include/tgbot/Api.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Api.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_API_H
24 #define TGBOT_CPP_API_H
25 
26 #include <string>
27 #include <vector>
28 
29 #include <boost/property_tree/ptree.hpp>
30 
31 #include "tgbot/net/HttpReqArg.h"
32 #include "tgbot/types/User.h"
33 #include "tgbot/types/Message.h"
35 #include "tgbot/types/InputFile.h"
37 #include "tgbot/types/Update.h"
39 #include "tgbot/types/Venue.h"
41 #include "tgbot/types/ChatMember.h"
42 #include "tgbot/types/File.h"
43 
44 namespace TgBot {
45 
46 class Bot;
47 
52 class Api {
53 
54 typedef std::shared_ptr<std::vector<std::string>> StringArrayPtr;
55 
56 friend class Bot;
57 
58 public:
59  Api(const std::string& token);
60 
65  User::Ptr getMe() const;
66 
78  Message::Ptr sendMessage(int64_t chatId, const std::string& text, bool disableWebPagePreview = false, int32_t replyToMessageId = 0, const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), const std::string& parseMode = "", bool disableNotification = false) const;
79 
88  Message::Ptr forwardMessage(int64_t chatId, int64_t fromChatId, int32_t messageId, bool disableNotification = false) const;
89 
100  Message::Ptr sendPhoto(int64_t chatId, const InputFile::Ptr& photo, const std::string& caption = "", int32_t replyToMessageId = 0,
101  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
102 
113  Message::Ptr sendPhoto(int64_t chatId, const std::string& photoId, const std::string& caption = "", int32_t replyToMessageId = 0,
114  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
115 
129  Message::Ptr sendAudio(int64_t chatId, const InputFile::Ptr& audio, const std::string &caption = "", int32_t duration = 0,
130  const std::string& performer = "", const std::string& title = "", int32_t replyToMessageId = 0,
131  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
132 
146  Message::Ptr sendAudio(int64_t chatId, const std::string& audioId, const std::string &caption = "", int32_t duration = 0,
147  const std::string& performer = "", const std::string& title = "", int32_t replyToMessageId = 0,
148  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
149 
160  Message::Ptr sendDocument(int64_t chatId, const InputFile::Ptr& document, const std::string &caption = "", int32_t replyToMessageId = 0,
161  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
162 
173  Message::Ptr sendDocument(int64_t chatId, const std::string& documentId, const std::string &caption = "", int32_t replyToMessageId = 0,
174  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
175 
185  Message::Ptr sendSticker(int64_t chatId, const InputFile::Ptr& sticker, int32_t replyToMessageId = 0,
186  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
187 
197  Message::Ptr sendSticker(int64_t chatId, const std::string& stickerId, int32_t replyToMessageId = 0,
198  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
199 
213  Message::Ptr sendVideo(int64_t chatId, const InputFile::Ptr& video, int32_t duration = 0, int32_t width = 0, int32_t height = 0, const std::string &caption = "",
214  int32_t replyToMessageId = 0, const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
215 
229  Message::Ptr sendVideo(int64_t chatId, const std::string& videoId, int32_t duration = 0, int32_t width = 0, int32_t height = 0, const std::string &caption = "",
230  int32_t replyToMessageId = 0, const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
231 
243  Message::Ptr sendVoice(int64_t chatId, const InputFile::Ptr& voice, const std::string &caption = "", int duration = 0, int32_t replyToMessageId = 0,
244  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
245 
257  Message::Ptr sendVoice(int64_t chatId, const std::string& voiceId, const std::string &caption = "", int duration = 0, int32_t replyToMessageId = 0,
258  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
259 
270  Message::Ptr sendLocation(int64_t chatId, float latitude, float longitude, int32_t replyToMessageId = 0,
271  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), bool disableNotification = false) const;
272 
286  Message::Ptr sendVenue(int64_t chatId, float latitude, float longitude, std::string title, std::string address, std::string foursquareId = "",
287  bool disableNotification = false, int32_t replyToMessageId = 0, const GenericReply::Ptr& replyMarkup = GenericReply::Ptr()) const;
288 
300  Message::Ptr sendContact(int64_t chatId, std::string phoneNumber, std::string firstName, std::string lastName = "", bool disableNotification = false,
301  int32_t replyToMessageId = 0, const GenericReply::Ptr& replyMarkup = GenericReply::Ptr()) const;
302 
310  void sendChatAction(int64_t chatId, const std::string& action) const;
311 
319  UserProfilePhotos::Ptr getUserProfilePhotos(int32_t userId, int32_t offset = 0, int32_t limit = 100) const;
320 
326  File::Ptr getFile(int32_t fileId) const;
327 
333  bool leaveChat(int64_t chatId) const;
334 
340  Chat::Ptr getChat(int64_t chatId) const;
341 
347  std::vector<ChatMember::Ptr> getChatAdministrators(int64_t chatId) const;
348 
354  int32_t getChatMembersCount(int64_t chatId) const;
355 
362  ChatMember::Ptr getChatMember(int64_t chatId, int32_t userId) const;
363 
373  bool answerCallbackQuery(const std::string & callbackQueryId, const std::string & text="", bool showAlert=false, const std::string &url="", int32_t cacheTime=0) const;
374 
386  Message::Ptr editMessageText(const std::string& text, int64_t chatId=0, int32_t messageId=0, const std::string& inlineMessageId="",
387  const std::string& parseMode = "", bool disableWebPagePreview = false, const GenericReply::Ptr& replyMarkup = GenericReply::Ptr()) const;
388 
398  Message::Ptr editMessageCaption(int64_t chatId = 0, int32_t messageId = 0, const std::string& caption = "",
399  const std::string& inlineMessageId = "", const GenericReply::Ptr& replyMarkup = GenericReply::Ptr()) const;
400 
409  Message::Ptr editMessageReplyMarkup(int64_t chatId = 0, int32_t messageId = 0, const std::string& inlineMessageId = "",
410  const GenericReply::Ptr& replyMarkup = GenericReply::Ptr()) const;
411 
422  std::vector<Update::Ptr> getUpdates(int32_t offset = 0, int32_t limit = 100, int32_t timeout = 0, const StringArrayPtr &allowedUpdates = nullptr) const;
423 
432  void setWebhook(const std::string& url = "", const InputFile::Ptr& certificate = nullptr, int32_t maxConnection = 40, const StringArrayPtr &allowedUpdates = nullptr) const;
433 
438  bool deleteWebhook() const;
439 
446 
459  bool answerInlineQuery(const std::string& inlineQueryId, const std::vector<InlineQueryResult::Ptr>& results,
460  int32_t cacheTime=300, bool isPersonal=false, const std::string& nextOffset="", const std::string& switchPmText="", const std::string& switchPmParameter="") const;
461 
468  bool kickChatMember(int64_t chatId, int32_t userId) const;
469 
476  bool unbanChatMember(int64_t chatId, int32_t userId) const;
477 
478 private:
479  boost::property_tree::ptree sendRequest(const std::string& method, const std::vector<HttpReqArg>& args = std::vector<HttpReqArg>()) const;
480 
481  const std::string _token;
482 };
483 
484 }
485 
486 #endif //TGBOT_CPP_API_H
Chat::Ptr getChat(int64_t chatId) const
+
Message::Ptr sendLocation(int64_t chatId, float latitude, float longitude, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const
+
std::shared_ptr< File > Ptr
Definition: File.h:24
+
std::vector< Update::Ptr > getUpdates(int32_t offset=0, int32_t limit=100, int32_t timeout=0, const StringArrayPtr &allowedUpdates=nullptr) const
+ +
Definition: Api.h:44
+ + +
Message::Ptr editMessageText(const std::string &text, int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const std::string &parseMode="", bool disableWebPagePreview=false, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr()) const
+
bool answerCallbackQuery(const std::string &callbackQueryId, const std::string &text="", bool showAlert=false, const std::string &url="", int32_t cacheTime=0) const
+ +
Definition: Api.h:52
+
std::shared_ptr< Message > Ptr
Definition: Message.h:52
+
Message::Ptr sendPhoto(int64_t chatId, const InputFile::Ptr &photo, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const
+
Message::Ptr sendDocument(int64_t chatId, const InputFile::Ptr &document, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const
+ +
User::Ptr getMe() const
+
Message::Ptr sendSticker(int64_t chatId, const InputFile::Ptr &sticker, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const
+
Message::Ptr sendContact(int64_t chatId, std::string phoneNumber, std::string firstName, std::string lastName="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr()) const
+
std::shared_ptr< UserProfilePhotos > Ptr
+
Message::Ptr sendVoice(int64_t chatId, const InputFile::Ptr &voice, const std::string &caption="", int duration=0, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const
+
Message::Ptr sendMessage(int64_t chatId, const std::string &text, bool disableWebPagePreview=false, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), const std::string &parseMode="", bool disableNotification=false) const
+
std::shared_ptr< WebhookInfo > Ptr
Definition: WebhookInfo.h:20
+
WebhookInfo::Ptr getWebhookInfo() const
+
void setWebhook(const std::string &url="", const InputFile::Ptr &certificate=nullptr, int32_t maxConnection=40, const StringArrayPtr &allowedUpdates=nullptr) const
+ + +
Definition: Bot.h:38
+
bool unbanChatMember(int64_t chatId, int32_t userId) const
+ +
int32_t getChatMembersCount(int64_t chatId) const
+
std::shared_ptr< GenericReply > Ptr
Definition: GenericReply.h:37
+
Message::Ptr editMessageReplyMarkup(int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const GenericReply::Ptr &replyMarkup=GenericReply::Ptr()) const
+
std::shared_ptr< InputFile > Ptr
Definition: InputFile.h:39
+
Message::Ptr forwardMessage(int64_t chatId, int64_t fromChatId, int32_t messageId, bool disableNotification=false) const
+
std::shared_ptr< Chat > Ptr
Definition: Chat.h:38
+
bool kickChatMember(int64_t chatId, int32_t userId) const
+
bool leaveChat(int64_t chatId) const
+
void sendChatAction(int64_t chatId, const std::string &action) const
+
bool answerInlineQuery(const std::string &inlineQueryId, const std::vector< InlineQueryResult::Ptr > &results, int32_t cacheTime=300, bool isPersonal=false, const std::string &nextOffset="", const std::string &switchPmText="", const std::string &switchPmParameter="") const
+
ChatMember::Ptr getChatMember(int64_t chatId, int32_t userId) const
+ +
bool deleteWebhook() const
+
Api(const std::string &token)
+
Message::Ptr sendVenue(int64_t chatId, float latitude, float longitude, std::string title, std::string address, std::string foursquareId="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr()) const
+ +
std::vector< ChatMember::Ptr > getChatAdministrators(int64_t chatId) const
+
UserProfilePhotos::Ptr getUserProfilePhotos(int32_t userId, int32_t offset=0, int32_t limit=100) const
+
std::shared_ptr< ChatMember > Ptr
Definition: ChatMember.h:21
+ +
Message::Ptr sendAudio(int64_t chatId, const InputFile::Ptr &audio, const std::string &caption="", int32_t duration=0, const std::string &performer="", const std::string &title="", int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const
+
Message::Ptr editMessageCaption(int64_t chatId=0, int32_t messageId=0, const std::string &caption="", const std::string &inlineMessageId="", const GenericReply::Ptr &replyMarkup=GenericReply::Ptr()) const
+
Message::Ptr sendVideo(int64_t chatId, const InputFile::Ptr &video, int32_t duration=0, int32_t width=0, int32_t height=0, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const
+
File::Ptr getFile(int32_t fileId) const
+
std::shared_ptr< User > Ptr
Definition: User.h:38
+ +
+
+ + + + diff --git a/docs/_audio_8h.html b/docs/_audio_8h.html new file mode 100644 index 0000000..b163693 --- /dev/null +++ b/docs/_audio_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Audio.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Audio.h File Reference
+
+
+
#include <string>
+#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Audio
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_audio_8h_source.html b/docs/_audio_8h_source.html new file mode 100644 index 0000000..a3ece1a --- /dev/null +++ b/docs/_audio_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Audio.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Audio.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_AUDIO_H
24 #define TGBOT_CPP_AUDIO_H
25 
26 #include <string>
27 #include <memory>
28 
29 namespace TgBot {
30 
35 class Audio {
36 
37 public:
38  typedef std::shared_ptr<Audio> Ptr;
39 
43  std::string fileId;
44 
48  int32_t duration;
49 
54  std::string performer;
55 
60  std::string title;
61 
65  std::string mimeType;
66 
70  int32_t fileSize;
71 };
72 
73 }
74 
75 #endif //TGBOT_CPP_AUDIO_H
int32_t duration
Definition: Audio.h:48
+
std::shared_ptr< Audio > Ptr
Definition: Audio.h:38
+
Definition: Api.h:44
+
std::string mimeType
Definition: Audio.h:65
+
std::string title
Definition: Audio.h:60
+ +
std::string fileId
Definition: Audio.h:43
+
int32_t fileSize
Definition: Audio.h:70
+
std::string performer
Definition: Audio.h:54
+
+
+ + + + diff --git a/docs/_bot_8h.html b/docs/_bot_8h.html new file mode 100644 index 0000000..6a382d3 --- /dev/null +++ b/docs/_bot_8h.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: include/tgbot/Bot.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Bot.h File Reference
+
+
+
#include <string>
+#include "tgbot/Api.h"
+#include "tgbot/EventBroadcaster.h"
+#include "tgbot/EventHandler.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Bot
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_bot_8h_source.html b/docs/_bot_8h_source.html new file mode 100644 index 0000000..b5aba8e --- /dev/null +++ b/docs/_bot_8h_source.html @@ -0,0 +1,111 @@ + + + + + + + +tgbot-cpp: include/tgbot/Bot.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Bot.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_BOT_H
24 #define TGBOT_CPP_BOT_H
25 
26 #include <string>
27 
28 #include "tgbot/Api.h"
29 #include "tgbot/EventBroadcaster.h"
30 #include "tgbot/EventHandler.h"
31 
32 namespace TgBot {
33 
38 class Bot {
39 
40 public:
41  explicit Bot(const std::string& token) : _token(token), _api(token), _eventHandler(&_eventBroadcaster) {
42  }
43 
47  inline const std::string& getToken() const {
48  return _token;
49  }
50 
54  inline const Api& getApi() const {
55  return _api;
56  }
57 
62  return _eventBroadcaster;
63  }
64 
68  inline const EventHandler& getEventHandler() const {
69  return _eventHandler;
70  }
71 
72 private:
73  const std::string _token;
74  const Api _api;
75  EventBroadcaster _eventBroadcaster;
76  const EventHandler _eventHandler;
77 };
78 
79 }
80 
81 #endif //TGBOT_CPP_BOT_H
+
Definition: Api.h:44
+ +
Definition: Api.h:52
+ +
const Api & getApi() const
Definition: Bot.h:54
+ +
Bot(const std::string &token)
Definition: Bot.h:41
+ +
Definition: Bot.h:38
+
const std::string & getToken() const
Definition: Bot.h:47
+
const EventHandler & getEventHandler() const
Definition: Bot.h:68
+
EventBroadcaster & getEvents()
Definition: Bot.h:61
+
+
+ + + + diff --git a/docs/_callback_query_8h.html b/docs/_callback_query_8h.html new file mode 100644 index 0000000..0649107 --- /dev/null +++ b/docs/_callback_query_8h.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/CallbackQuery.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
CallbackQuery.h File Reference
+
+
+
#include <memory>
+#include <string>
+#include "tgbot/types/User.h"
+#include "tgbot/types/Message.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::CallbackQuery
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_callback_query_8h_source.html b/docs/_callback_query_8h_source.html new file mode 100644 index 0000000..da6ac5c --- /dev/null +++ b/docs/_callback_query_8h_source.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/CallbackQuery.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
CallbackQuery.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_CALLBACKQUERY_H
6 #define TGBOT_CALLBACKQUERY_H
7 
8 #include <memory>
9 #include <string>
10 
11 #include "tgbot/types/User.h"
12 #include "tgbot/types/Message.h"
13 
14 namespace TgBot {
15 
21 public:
22  typedef std::shared_ptr<CallbackQuery> Ptr;
23 
27  std::string id;
28 
33 
38 
42  std::string inlineMessageId;
43 
47  std::string chatInstance;
48 
52  std::string data;
53 
54  /*
55  * Optional. Short name of a Game to be returned, serves as the unique identifier for the game
56  */
57  std::string gameShortName;
58 };
59 }
60 
61 #endif //TGBOT_CALLBACKQUERY_H
std::shared_ptr< CallbackQuery > Ptr
Definition: CallbackQuery.h:22
+
Definition: Api.h:44
+ +
std::shared_ptr< Message > Ptr
Definition: Message.h:52
+ +
Message::Ptr message
Definition: CallbackQuery.h:37
+
std::string gameShortName
Definition: CallbackQuery.h:57
+
std::string chatInstance
Definition: CallbackQuery.h:47
+ + + +
std::string inlineMessageId
Definition: CallbackQuery.h:42
+
std::shared_ptr< User > Ptr
Definition: User.h:38
+ +
+
+ + + + diff --git a/docs/_chat_8h.html b/docs/_chat_8h.html new file mode 100644 index 0000000..a9d696e --- /dev/null +++ b/docs/_chat_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Chat.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Chat.h File Reference
+
+
+
#include <string>
+#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Chat
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_chat_8h_source.html b/docs/_chat_8h_source.html new file mode 100644 index 0000000..10892e0 --- /dev/null +++ b/docs/_chat_8h_source.html @@ -0,0 +1,113 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Chat.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Chat.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_CHAT_H
24 #define TGBOT_CPP_CHAT_H
25 
26 #include <string>
27 #include <memory>
28 
29 namespace TgBot {
30 
35 class Chat {
36 
37 public:
38  typedef std::shared_ptr<Chat> Ptr;
39 
43  enum class Type {
45  };
46 
50  int64_t id;
51 
56 
60  std::string title;
61 
66  std::string username;
67 
72  std::string firstName;
73 
78  std::string lastName;
79 
85 };
86 
87 }
88 
89 #endif //TGBOT_CPP_CHAT_H
Type type
Definition: Chat.h:55
+
Definition: Api.h:44
+ + +
std::string firstName
Definition: Chat.h:72
+
bool allMembersAreAdministrators
Definition: Chat.h:84
+ + + +
int64_t id
Definition: Chat.h:50
+
std::shared_ptr< Chat > Ptr
Definition: Chat.h:38
+
std::string lastName
Definition: Chat.h:78
+
std::string title
Definition: Chat.h:60
+ +
std::string username
Definition: Chat.h:66
+
+
+ + + + diff --git a/docs/_chat_member_8h.html b/docs/_chat_member_8h.html new file mode 100644 index 0000000..ba17f2b --- /dev/null +++ b/docs/_chat_member_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ChatMember.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ChatMember.h File Reference
+
+
+
#include <memory>
+#include <string>
+#include "tgbot/types/User.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::ChatMember
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_chat_member_8h_source.html b/docs/_chat_member_8h_source.html new file mode 100644 index 0000000..58adcdd --- /dev/null +++ b/docs/_chat_member_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ChatMember.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ChatMember.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_CHATMEMBER_H
6 #define TGBOT_CHATMEMBER_H
7 
8 #include <memory>
9 #include <string>
10 
11 #include "tgbot/types/User.h"
12 
13 namespace TgBot {
14 
19 class ChatMember {
20 public:
21  typedef std::shared_ptr<ChatMember> Ptr;
22 
27 
31  std::string status;
32 };
33 }
34 
35 #endif //TGBOT_CHATMEMBER_H
Definition: Api.h:44
+ +
std::string status
Definition: ChatMember.h:31
+
User::Ptr user
Definition: ChatMember.h:26
+ +
std::shared_ptr< ChatMember > Ptr
Definition: ChatMember.h:21
+
std::shared_ptr< User > Ptr
Definition: User.h:38
+
+
+ + + + diff --git a/docs/_chosen_inline_result_8h.html b/docs/_chosen_inline_result_8h.html new file mode 100644 index 0000000..862e91d --- /dev/null +++ b/docs/_chosen_inline_result_8h.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ChosenInlineResult.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ChosenInlineResult.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/User.h"
+#include "tgbot/types/Location.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::ChosenInlineResult
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_chosen_inline_result_8h_source.html b/docs/_chosen_inline_result_8h_source.html new file mode 100644 index 0000000..53fe2e3 --- /dev/null +++ b/docs/_chosen_inline_result_8h_source.html @@ -0,0 +1,110 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ChosenInlineResult.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ChosenInlineResult.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 27/03/16.
3 //
4 
5 #ifndef TGBOT_CHOSENINLINERESULT_H
6 #define TGBOT_CHOSENINLINERESULT_H
7 
8 #include <string>
9 #include <memory>
10 
11 #include "tgbot/types/User.h"
12 #include "tgbot/types/Location.h"
13 
14 namespace TgBot {
15 
21 public:
22  typedef std::shared_ptr<ChosenInlineResult> Ptr;
23 
27  std::string resultId;
28 
33 
38 
44  std::string inlineMessageId;
45 
49  std::string query;
50 };
51 }
52 
53 #endif //TGBOT_CHOSENINLINERESULT_H
+ + +
Definition: Api.h:44
+
std::shared_ptr< Location > Ptr
Definition: Location.h:37
+
std::shared_ptr< ChosenInlineResult > Ptr
+ + + + + +
std::shared_ptr< User > Ptr
Definition: User.h:38
+
+
+ + + + diff --git a/docs/_contact_8h.html b/docs/_contact_8h.html new file mode 100644 index 0000000..4a6b56e --- /dev/null +++ b/docs/_contact_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Contact.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Contact.h File Reference
+
+
+
#include <string>
+#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Contact
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_contact_8h_source.html b/docs/_contact_8h_source.html new file mode 100644 index 0000000..ccc65c3 --- /dev/null +++ b/docs/_contact_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Contact.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Contact.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_CONTACT_H
24 #define TGBOT_CPP_CONTACT_H
25 
26 #include <string>
27 #include <memory>
28 
29 namespace TgBot {
30 
35 class Contact {
36 
37 public:
38  typedef std::shared_ptr<Contact> Ptr;
39 
43  std::string phoneNumber;
44 
48  std::string firstName;
49 
53  std::string lastName;
54 
58  std::string userId;
59 };
60 
61 }
62 
63 #endif //TGBOT_CPP_CONTACT_H
std::string userId
Definition: Contact.h:58
+
Definition: Api.h:44
+
std::string firstName
Definition: Contact.h:48
+
std::string phoneNumber
Definition: Contact.h:43
+ +
std::shared_ptr< Contact > Ptr
Definition: Contact.h:38
+
std::string lastName
Definition: Contact.h:53
+
+
+ + + + diff --git a/docs/_document_8h.html b/docs/_document_8h.html new file mode 100644 index 0000000..0dcc20f --- /dev/null +++ b/docs/_document_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Document.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Document.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/PhotoSize.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Document
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_document_8h_source.html b/docs/_document_8h_source.html new file mode 100644 index 0000000..1825668 --- /dev/null +++ b/docs/_document_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Document.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Document.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_DOCUMENT_H
24 #define TGBOT_CPP_DOCUMENT_H
25 
26 #include <string>
27 #include <memory>
28 
29 #include "tgbot/types/PhotoSize.h"
30 
31 namespace TgBot {
32 
37 class Document {
38 
39 public:
40  typedef std::shared_ptr<Document> Ptr;
41 
45  std::string fileId;
46 
51 
55  std::string fileName;
56 
60  std::string mimeType;
61 
65  int32_t fileSize;
66 };
67 
68 }
69 
70 #endif //TGBOT_CPP_DOCUMENT_H
std::string mimeType
Definition: Document.h:60
+ +
int32_t fileSize
Definition: Document.h:65
+
PhotoSize::Ptr thumb
Definition: Document.h:50
+ +
Definition: Api.h:44
+
std::string fileId
Definition: Document.h:45
+
std::string fileName
Definition: Document.h:55
+
std::shared_ptr< Document > Ptr
Definition: Document.h:40
+
std::shared_ptr< PhotoSize > Ptr
Definition: PhotoSize.h:38
+
+
+ + + + diff --git a/docs/_event_broadcaster_8h.html b/docs/_event_broadcaster_8h.html new file mode 100644 index 0000000..6dd4dd3 --- /dev/null +++ b/docs/_event_broadcaster_8h.html @@ -0,0 +1,122 @@ + + + + + + + +tgbot-cpp: include/tgbot/EventBroadcaster.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
EventBroadcaster.h File Reference
+
+
+
#include <string>
+#include <functional>
+#include <vector>
+#include <map>
+#include "tgbot/types/Message.h"
+#include "tgbot/types/InlineQuery.h"
+#include "tgbot/types/ChosenInlineResult.h"
+#include "tgbot/types/CallbackQuery.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::EventBroadcaster
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_event_broadcaster_8h_source.html b/docs/_event_broadcaster_8h_source.html new file mode 100644 index 0000000..a983b00 --- /dev/null +++ b/docs/_event_broadcaster_8h_source.html @@ -0,0 +1,120 @@ + + + + + + + +tgbot-cpp: include/tgbot/EventBroadcaster.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
EventBroadcaster.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_EVENTBROADCASTER_H
24 #define TGBOT_EVENTBROADCASTER_H
25 
26 #include <string>
27 #include <functional>
28 #include <vector>
29 #include <map>
30 
31 #include "tgbot/types/Message.h"
35 
36 namespace TgBot {
37 
38 class EventHandler;
39 
45 
46 friend EventHandler;
47 
48 public:
49  typedef std::function<void (const Message::Ptr&)> MessageListener;
50  typedef std::function<void (const InlineQuery::Ptr&)> InlineQueryListener;
51  typedef std::function<void (const ChosenInlineResult::Ptr&)> ChosenInlineResultListener;
52  typedef std::function<void (const CallbackQuery::Ptr&)> CallbackQueryListener;
53 
58  inline void onAnyMessage(const MessageListener& listener) {
59  _onAnyMessageListeners.push_back(listener);
60  }
61 
67  inline void onCommand(const std::string& commandName, const MessageListener& listener) {
68  _onCommandListeners[commandName] = listener;
69  }
70 
75  inline void onUnknownCommand(const MessageListener& listener) {
76  _onUnknownCommandListeners.push_back(listener);
77  }
78 
83  inline void onNonCommandMessage(const MessageListener& listener) {
84  _onNonCommandMessageListeners.push_back(listener);
85  }
86 
91  inline void onInlineQuery(const InlineQueryListener& listener) {
92  _onInlineQueryListeners.push_back(listener);
93  }
94 
99  inline void onChosenInlineResult(const ChosenInlineResultListener& listener){
100  _onChosenInlineResultListeners.push_back(listener);
101  }
102 
103  inline void onCallbackQuery(const CallbackQueryListener& listener){
104  _onCallbackQueryListeners.push_back(listener);
105  }
106 
107 private:
108  template<typename ListenerType, typename ObjectType>
109  inline void broadcast(const std::vector<ListenerType>& listeners, const ObjectType& object) const {
110  if (!object)
111  return;
112 
113  for (const ListenerType& item : listeners) {
114  item(object);
115  }
116  }
117 
118  inline void broadcastAnyMessage(const Message::Ptr& message) const {
119  broadcast<MessageListener, Message::Ptr>(_onAnyMessageListeners, message);
120  }
121 
122  inline bool broadcastCommand(const std::string command, const Message::Ptr& message) const {
123  std::map<std::string, MessageListener>::const_iterator iter = _onCommandListeners.find(command);
124  if (iter == _onCommandListeners.end()) {
125  return false;
126  }
127  iter->second(message);
128  return true;
129  }
130 
131  inline void broadcastUnknownCommand(const Message::Ptr& message) const {
132  broadcast<MessageListener, Message::Ptr>(_onUnknownCommandListeners, message);
133  }
134 
135  inline void broadcastNonCommandMessage(const Message::Ptr& message) const {
136  broadcast<MessageListener, Message::Ptr>(_onNonCommandMessageListeners, message);
137  }
138 
139  inline void broadcastInlineQuery(const InlineQuery::Ptr& query) const {
140  broadcast<InlineQueryListener, InlineQuery::Ptr>(_onInlineQueryListeners, query);
141  }
142 
143  inline void broadcastChosenInlineResult(const ChosenInlineResult::Ptr& result) const {
144  broadcast<ChosenInlineResultListener, ChosenInlineResult::Ptr>(_onChosenInlineResultListeners, result);
145  }
146 
147  inline void broadcastCallbackQuery(const CallbackQuery::Ptr& result) const {
148  broadcast<CallbackQueryListener, CallbackQuery::Ptr>(_onCallbackQueryListeners, result);
149  }
150 
151  std::vector<MessageListener> _onAnyMessageListeners;
152  std::map<std::string, MessageListener> _onCommandListeners;
153  std::vector<MessageListener> _onUnknownCommandListeners;
154  std::vector<MessageListener> _onNonCommandMessageListeners;
155  std::vector<InlineQueryListener> _onInlineQueryListeners;
156  std::vector<ChosenInlineResultListener> _onChosenInlineResultListeners;
157  std::vector<CallbackQueryListener> _onCallbackQueryListeners;
158 };
159 
160 }
161 
162 #endif //TGBOT_EVENTBROADCASTER_H
void onAnyMessage(const MessageListener &listener)
+ +
std::function< void(const Message::Ptr &)> MessageListener
+
std::shared_ptr< CallbackQuery > Ptr
Definition: CallbackQuery.h:22
+
Definition: Api.h:44
+ + +
std::shared_ptr< Message > Ptr
Definition: Message.h:52
+
std::function< void(const CallbackQuery::Ptr &)> CallbackQueryListener
+ +
std::shared_ptr< ChosenInlineResult > Ptr
+
void onInlineQuery(const InlineQueryListener &listener)
+
std::function< void(const ChosenInlineResult::Ptr &)> ChosenInlineResultListener
+
void onCallbackQuery(const CallbackQueryListener &listener)
+
void onUnknownCommand(const MessageListener &listener)
+
std::function< void(const InlineQuery::Ptr &)> InlineQueryListener
+
void onCommand(const std::string &commandName, const MessageListener &listener)
+
void onNonCommandMessage(const MessageListener &listener)
+ +
void onChosenInlineResult(const ChosenInlineResultListener &listener)
+
std::shared_ptr< InlineQuery > Ptr
Definition: InlineQuery.h:22
+ +
+
+ + + + diff --git a/docs/_event_handler_8h.html b/docs/_event_handler_8h.html new file mode 100644 index 0000000..b8db10e --- /dev/null +++ b/docs/_event_handler_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/EventHandler.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
EventHandler.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::EventHandler
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_event_handler_8h_source.html b/docs/_event_handler_8h_source.html new file mode 100644 index 0000000..39cd023 --- /dev/null +++ b/docs/_event_handler_8h_source.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: include/tgbot/EventHandler.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
EventHandler.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_EVENTHANDLER_H
24 #define TGBOT_EVENTHANDLER_H
25 
26 #include "tgbot/EventBroadcaster.h"
27 #include "tgbot/types/Update.h"
29 
30 namespace TgBot {
31 
32 class EventHandler {
33 
34  void handleMessage(const Message::Ptr& message) const {
35  _broadcaster->broadcastAnyMessage(message);
36 
37  if (StringTools::startsWith(message->text, "/")) {
38  unsigned long splitPosition;
39  unsigned long spacePosition = message->text.find(' ');
40  unsigned long atSymbolPosition = message->text.find('@');
41  if (spacePosition == message->text.npos) {
42  if (atSymbolPosition == message->text.npos) {
43  splitPosition = message->text.size();
44  } else {
45  splitPosition = atSymbolPosition;
46  }
47  } else if (atSymbolPosition == message->text.npos) {
48  splitPosition = spacePosition;
49  } else {
50  splitPosition = std::min(spacePosition, atSymbolPosition);
51  }
52  std::string command = message->text.substr(1, splitPosition - 1);
53  if (!_broadcaster->broadcastCommand(command, message)) {
54  _broadcaster->broadcastUnknownCommand(message);
55  }
56  } else {
57  _broadcaster->broadcastNonCommandMessage(message);
58  }
59  };
60 
61 public:
62  explicit EventHandler(const EventBroadcaster* broadcaster) : _broadcaster(broadcaster) {
63  }
64 
65  inline void handleUpdate(const Update::Ptr& update) const {
66  if (update->inlineQuery != NULL)
67  _broadcaster->broadcastInlineQuery(update->inlineQuery);
68  if (update->chosenInlineResult != NULL)
69  _broadcaster->broadcastChosenInlineResult(update->chosenInlineResult);
70  if (update->callbackQuery != NULL)
71  _broadcaster->broadcastCallbackQuery(update->callbackQuery);
72  if (update->message != NULL)
73  handleMessage(update->message);
74  }
75 
76 private:
77  const EventBroadcaster* _broadcaster;
78 };
79 
80 }
81 
82 #endif //TGBOT_EVENTHANDLER_H
+ +
std::shared_ptr< Update > Ptr
Definition: Update.h:42
+
Definition: Api.h:44
+ + +
std::shared_ptr< Message > Ptr
Definition: Message.h:52
+ +
bool startsWith(const std::string &str1, const std::string &str2)
+
EventHandler(const EventBroadcaster *broadcaster)
Definition: EventHandler.h:62
+
void handleUpdate(const Update::Ptr &update) const
Definition: EventHandler.h:65
+
+
+ + + + diff --git a/docs/_file_8h.html b/docs/_file_8h.html new file mode 100644 index 0000000..c9ba258 --- /dev/null +++ b/docs/_file_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/File.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
File.h File Reference
+
+
+
#include <string>
+#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::File
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_file_8h_source.html b/docs/_file_8h_source.html new file mode 100644 index 0000000..f615137 --- /dev/null +++ b/docs/_file_8h_source.html @@ -0,0 +1,104 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/File.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
File.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_CPP_FILE_H
6 #define TGBOT_CPP_FILE_H
7 
8 #include <string>
9 #include <memory>
10 
11 namespace TgBot {
12 
21 class File {
22 
23 public:
24  typedef std::shared_ptr<File> Ptr;
25 
29  std::string fileId;
30 
34  int32_t fileSize;
35 
40  std::string filePath;
41 };
42 
43 }
44 
45 #endif //TGBOT_CPP_FILE_H
std::shared_ptr< File > Ptr
Definition: File.h:24
+
std::string filePath
Definition: File.h:40
+ +
int32_t fileSize
Definition: File.h:34
+
Definition: Api.h:44
+
std::string fileId
Definition: File.h:29
+
+
+ + + + diff --git a/docs/_force_reply_8h.html b/docs/_force_reply_8h.html new file mode 100644 index 0000000..0363a2b --- /dev/null +++ b/docs/_force_reply_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ForceReply.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ForceReply.h File Reference
+
+
+
#include <memory>
+#include "tgbot/types/GenericReply.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::ForceReply
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_force_reply_8h_source.html b/docs/_force_reply_8h_source.html new file mode 100644 index 0000000..7588a9d --- /dev/null +++ b/docs/_force_reply_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ForceReply.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ForceReply.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_FORCEREPLY_H
24 #define TGBOT_CPP_FORCEREPLY_H
25 
26 #include <memory>
27 
29 
30 namespace TgBot {
31 
40 class ForceReply : public GenericReply {
41 
42 public:
43  typedef std::shared_ptr<ForceReply> Ptr;
44 
48  const bool forceReply = true;
49 
53  bool selective = false;
54 };
55 
56 }
57 
58 #endif //TGBOT_CPP_FORCEREPLY_H
Definition: Api.h:44
+ + + +
const bool forceReply
Definition: ForceReply.h:48
+ +
std::shared_ptr< ForceReply > Ptr
Definition: ForceReply.h:43
+
+
+ + + + diff --git a/docs/_generic_reply_8h.html b/docs/_generic_reply_8h.html new file mode 100644 index 0000000..a11f17f --- /dev/null +++ b/docs/_generic_reply_8h.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/GenericReply.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
GenericReply.h File Reference
+
+
+
#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::GenericReply
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_generic_reply_8h_source.html b/docs/_generic_reply_8h_source.html new file mode 100644 index 0000000..2880117 --- /dev/null +++ b/docs/_generic_reply_8h_source.html @@ -0,0 +1,102 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/GenericReply.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
GenericReply.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_GENERICREPLY_H
24 #define TGBOT_CPP_GENERICREPLY_H
25 
26 #include <memory>
27 
28 namespace TgBot {
29 
34 class GenericReply {
35 
36 public:
37  typedef std::shared_ptr<GenericReply> Ptr;
38 
39  virtual ~GenericReply() { }
40 };
41 
42 }
43 
44 #endif //TGBOT_CPP_GENERICREPLY_H
Definition: Api.h:44
+ +
virtual ~GenericReply()
Definition: GenericReply.h:39
+
std::shared_ptr< GenericReply > Ptr
Definition: GenericReply.h:37
+
+
+ + + + diff --git a/docs/_http_client_8h.html b/docs/_http_client_8h.html new file mode 100644 index 0000000..c5dc091 --- /dev/null +++ b/docs/_http_client_8h.html @@ -0,0 +1,119 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpClient.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
HttpClient.h File Reference
+
+
+
#include <string>
+#include <boost/asio.hpp>
+#include "tgbot/net/Url.h"
+#include "tgbot/net/HttpReqArg.h"
+#include "tgbot/net/HttpParser.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::HttpClient
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_http_client_8h_source.html b/docs/_http_client_8h_source.html new file mode 100644 index 0000000..b711ba6 --- /dev/null +++ b/docs/_http_client_8h_source.html @@ -0,0 +1,106 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpClient.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
HttpClient.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_HTTPCLIENT_H
24 #define TGBOT_HTTPCLIENT_H
25 
26 #include <string>
27 
28 #include <boost/asio.hpp>
29 
30 #include "tgbot/net/Url.h"
31 #include "tgbot/net/HttpReqArg.h"
32 #include "tgbot/net/HttpParser.h"
33 
34 namespace TgBot {
35 
40 class HttpClient {
41 
42 public:
46  static HttpClient& getInstance();
47 
53  std::string makeRequest(const Url& url, const std::vector<HttpReqArg>& args);
54 
55 private:
56  boost::asio::io_service _ioService;
57 };
58 
59 }
60 
61 #endif //TGBOT_HTTPCLIENT_H
Definition: Api.h:44
+ + + + +
Definition: Url.h:34
+
static HttpClient & getInstance()
+
std::string makeRequest(const Url &url, const std::vector< HttpReqArg > &args)
+
+
+ + + + diff --git a/docs/_http_parser_8h.html b/docs/_http_parser_8h.html new file mode 100644 index 0000000..81e52c2 --- /dev/null +++ b/docs/_http_parser_8h.html @@ -0,0 +1,119 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpParser.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
HttpParser.h File Reference
+
+
+
#include <string>
+#include <map>
+#include <vector>
+#include "tgbot/net/Url.h"
+#include "tgbot/net/HttpReqArg.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::HttpParser
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_http_parser_8h_source.html b/docs/_http_parser_8h_source.html new file mode 100644 index 0000000..64eeb5d --- /dev/null +++ b/docs/_http_parser_8h_source.html @@ -0,0 +1,113 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpParser.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
HttpParser.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_HTTPPARSER_H
24 #define TGBOT_HTTPPARSER_H
25 
26 #include <string>
27 #include <map>
28 #include <vector>
29 
30 #include "tgbot/net/Url.h"
31 #include "tgbot/net/HttpReqArg.h"
32 
33 namespace TgBot {
34 
35 class HttpParser {
36 
37 public:
38  static HttpParser& getInstance();
39 
40  std::string generateRequest(const Url& url, const std::vector<HttpReqArg>& args, bool isKeepAlive = false);
41  std::string generateMultipartFormData(const std::vector<HttpReqArg>& args, const std::string& bondary);
42  std::string generateMultipartBoundary(const std::vector<HttpReqArg>& args);
43  std::string generateWwwFormUrlencoded(const std::vector<HttpReqArg>& args);
44  std::string generateResponse(const std::string& data, const std::string& mimeType = "text/plain", short unsigned statusCode = 200, const std::string& statusStr = "OK", bool isKeepAlive = false);
45 
46  inline std::string parseRequest(const std::string& data, std::map<std::string, std::string>& headers) {
47  return parseHttp(true, data, headers);
48  }
49 
50  inline std::string parseRequest(const std::string& data) {
51  return parseHttp(true, data);
52  }
53 
54  inline std::string parseResponse(const std::string& data, std::map<std::string, std::string>& headers) {
55  return parseHttp(false, data, headers);
56  }
57 
58  inline std::string parseResponse(const std::string& data) {
59  return parseHttp(false, data);
60  }
61 
62 private:
63  std::string parseHttp(bool isRequest, const std::string& data, std::map<std::string, std::string>& headers);
64  std::string parseHttp(bool isRequest, const std::string& data);
65 };
66 
67 }
68 
69 #endif //TGBOT_HTTPPARSER_H
std::string parseResponse(const std::string &data)
Definition: HttpParser.h:58
+ +
Definition: Api.h:44
+
std::string generateWwwFormUrlencoded(const std::vector< HttpReqArg > &args)
+ +
std::string parseResponse(const std::string &data, std::map< std::string, std::string > &headers)
Definition: HttpParser.h:54
+
std::string generateMultipartFormData(const std::vector< HttpReqArg > &args, const std::string &bondary)
+
std::string generateMultipartBoundary(const std::vector< HttpReqArg > &args)
+ +
std::string generateResponse(const std::string &data, const std::string &mimeType="text/plain", short unsigned statusCode=200, const std::string &statusStr="OK", bool isKeepAlive=false)
+
static HttpParser & getInstance()
+
std::string parseRequest(const std::string &data)
Definition: HttpParser.h:50
+
Definition: Url.h:34
+
std::string parseRequest(const std::string &data, std::map< std::string, std::string > &headers)
Definition: HttpParser.h:46
+
std::string generateRequest(const Url &url, const std::vector< HttpReqArg > &args, bool isKeepAlive=false)
+
+
+ + + + diff --git a/docs/_http_req_arg_8h.html b/docs/_http_req_arg_8h.html new file mode 100644 index 0000000..dbb47b6 --- /dev/null +++ b/docs/_http_req_arg_8h.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpReqArg.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
HttpReqArg.h File Reference
+
+
+
#include <string>
+#include <vector>
+#include <functional>
+#include <boost/lexical_cast.hpp>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::HttpReqArg
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_http_req_arg_8h_source.html b/docs/_http_req_arg_8h_source.html new file mode 100644 index 0000000..45f1ac4 --- /dev/null +++ b/docs/_http_req_arg_8h_source.html @@ -0,0 +1,106 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpReqArg.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
HttpReqArg.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_HTTPPARAMETER_H
24 #define TGBOT_HTTPPARAMETER_H
25 
26 #include <string>
27 #include <vector>
28 #include <functional>
29 
30 #include <boost/lexical_cast.hpp>
31 
32 namespace TgBot {
33 
38 class HttpReqArg {
39 
40 public:
41  template<typename T>
42  HttpReqArg(const std::string& name, const T& value, bool isFile = false, const std::string& mimeType = "text/plain", const std::string& fileName = "") :
43  name(name), value(boost::lexical_cast<std::string>(value)), isFile(isFile), mimeType(mimeType), fileName(fileName)
44  {
45  }
46 
50  std::string name;
51 
55  std::string value;
56 
60  bool isFile = false;
61 
65  std::string mimeType = "text/plain";
66 
70  std::string fileName;
71 };
72 
73 }
74 
75 
76 #endif //TGBOT_HTTPPARAMETER_H
std::string name
Definition: HttpReqArg.h:50
+
Definition: Api.h:44
+
std::string value
Definition: HttpReqArg.h:55
+
std::string fileName
Definition: HttpReqArg.h:70
+ + +
HttpReqArg(const std::string &name, const T &value, bool isFile=false, const std::string &mimeType="text/plain", const std::string &fileName="")
Definition: HttpReqArg.h:42
+
std::string mimeType
Definition: HttpReqArg.h:65
+
+
+ + + + diff --git a/docs/_http_server_8h.html b/docs/_http_server_8h.html new file mode 100644 index 0000000..d3f5b49 --- /dev/null +++ b/docs/_http_server_8h.html @@ -0,0 +1,119 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpServer.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
HttpServer.h File Reference
+
+
+
#include <string>
+#include <boost/asio.hpp>
+#include "tgbot/net/HttpParser.h"
+
+

Go to the source code of this file.

+ + + + + + +

+Classes

class  TgBot::HttpServer< Protocol >
 
class  TgBot::HttpServer< Protocol >::Connection
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_http_server_8h_source.html b/docs/_http_server_8h_source.html new file mode 100644 index 0000000..8814d48 --- /dev/null +++ b/docs/_http_server_8h_source.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpServer.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
HttpServer.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_HTTPSERVER_H
24 #define TGBOT_HTTPSERVER_H
25 
26 #include <string>
27 
28 #include <boost/asio.hpp>
29 
30 #include "tgbot/net/HttpParser.h"
31 
32 namespace TgBot {
33 
38 template<typename Protocol>
39 class HttpServer {
40 
41 protected:
42  class Connection;
43 
44 public:
45  typedef std::function<std::string (const std::string&, const std::map<std::string, std::string>)> ServerHandler;
46 
47  HttpServer(std::shared_ptr<boost::asio::basic_socket_acceptor<Protocol>> acceptor, const ServerHandler& handler) : _acceptor(acceptor), _handler(handler) {
48  }
49 
53  void start() {
54  std::shared_ptr<boost::asio::basic_stream_socket<Protocol>> socket(new boost::asio::basic_stream_socket<Protocol>(_acceptor->get_io_service()));
55  std::shared_ptr<Connection> connection(new Connection(socket, _handler));
56  _acceptor->async_accept(*connection->socket, [this, connection]() {
57  connection->start();
58  start();
59  });
60  _ioService.run();
61  }
62 
66  void stop() {
67  _ioService.stop();
68  }
69 
70 protected:
71  class Connection {
72 
73  public:
74  Connection(std::shared_ptr<boost::asio::basic_stream_socket<Protocol>>& socket, const ServerHandler& handler) : socket(socket), _handler(handler) {
75  boost::asio::socket_base::keep_alive option(true);
76  socket.set_option(option);
77  }
78 
79  void start() {
80  data.reserve(10240);
81  socket->async_receive(data, [this]() {
82  std::map<std::string, std::string> headers;
83  std::string body = HttpParser::getInstance().parseResponse(data, headers);
84  socket->async_send(_handler(body, headers));
85  });
86  }
87 
88  std::shared_ptr<boost::asio::basic_stream_socket<Protocol>> socket;
89  std::string data;
90 
91  protected:
93  };
94 
95  boost::asio::io_service _ioService;
96  std::shared_ptr<boost::asio::basic_socket_acceptor<Protocol>> _acceptor;
98 };
99 
100 }
101 
102 #endif //TGBOT_HTTPSERVER_H
std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol > > _acceptor
Definition: HttpServer.h:96
+
const ServerHandler _handler
Definition: HttpServer.h:92
+
std::shared_ptr< boost::asio::basic_stream_socket< Protocol > > socket
Definition: HttpServer.h:88
+ + +
Definition: Api.h:44
+ + +
std::string parseResponse(const std::string &data, std::map< std::string, std::string > &headers)
Definition: HttpParser.h:54
+
Connection(std::shared_ptr< boost::asio::basic_stream_socket< Protocol >> &socket, const ServerHandler &handler)
Definition: HttpServer.h:74
+
const ServerHandler _handler
Definition: HttpServer.h:97
+ + +
HttpServer(std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor, const ServerHandler &handler)
Definition: HttpServer.h:47
+
static HttpParser & getInstance()
+
std::function< std::string(const std::string &, const std::map< std::string, std::string >)> ServerHandler
Definition: HttpServer.h:42
+ +
boost::asio::io_service _ioService
Definition: HttpServer.h:95
+
+
+ + + + diff --git a/docs/_inline_keyboard_button_8h.html b/docs/_inline_keyboard_button_8h.html new file mode 100644 index 0000000..844a3e1 --- /dev/null +++ b/docs/_inline_keyboard_button_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineKeyboardButton.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineKeyboardButton.h File Reference
+
+
+
#include <string>
+#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineKeyboardButton
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_keyboard_button_8h_source.html b/docs/_inline_keyboard_button_8h_source.html new file mode 100644 index 0000000..72b2700 --- /dev/null +++ b/docs/_inline_keyboard_button_8h_source.html @@ -0,0 +1,106 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineKeyboardButton.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineKeyboardButton.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_INLINEKEYBOARDBUTTON_H
6 #define TGBOT_INLINEKEYBOARDBUTTON_H
7 
8 #include <string>
9 #include <memory>
10 
11 namespace TgBot {
12 
18 public:
19  typedef std::shared_ptr<InlineKeyboardButton> Ptr;
20 
24  std::string text;
25 
29  std::string url;
30 
34  std::string callbackData;
35 
39  std::string switchInlineQuery;
40 
45 };
46 }
47 
48 #endif //TGBOT_INLINEKEYBOARDBUTTON_H
std::shared_ptr< InlineKeyboardButton > Ptr
+
Definition: Api.h:44
+ + + + + + +
+
+ + + + diff --git a/docs/_inline_keyboard_markup_8h.html b/docs/_inline_keyboard_markup_8h.html new file mode 100644 index 0000000..941bec6 --- /dev/null +++ b/docs/_inline_keyboard_markup_8h.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineKeyboardMarkup.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineKeyboardMarkup.h File Reference
+
+
+
#include <vector>
+#include <memory>
+#include "tgbot/types/GenericReply.h"
+#include "tgbot/types/InlineKeyboardButton.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineKeyboardMarkup
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_keyboard_markup_8h_source.html b/docs/_inline_keyboard_markup_8h_source.html new file mode 100644 index 0000000..819ad66 --- /dev/null +++ b/docs/_inline_keyboard_markup_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineKeyboardMarkup.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineKeyboardMarkup.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_INLINEKEYBOARDMARKUP_H
6 #define TGBOT_INLINEKEYBOARDMARKUP_H
7 
8 #include <vector>
9 #include <memory>
10 
13 
14 namespace TgBot {
15 
21 public:
22  typedef std::shared_ptr<InlineKeyboardMarkup> Ptr;
23 
27  std::vector<std::vector<InlineKeyboardButton::Ptr>> inlineKeyboard;
28 
29 };
30 }
31 
32 #endif //TGBOT_INLINEKEYBOARDMARKUP_H
Definition: Api.h:44
+ +
std::shared_ptr< InlineKeyboardMarkup > Ptr
+ +
std::vector< std::vector< InlineKeyboardButton::Ptr > > inlineKeyboard
+ + +
+
+ + + + diff --git a/docs/_inline_query_8h.html b/docs/_inline_query_8h.html new file mode 100644 index 0000000..e826b11 --- /dev/null +++ b/docs/_inline_query_8h.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQuery.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQuery.h File Reference
+
+
+
#include <memory>
+#include <string>
+#include "tgbot/types/User.h"
+#include "tgbot/types/Location.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQuery
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_8h_source.html b/docs/_inline_query_8h_source.html new file mode 100644 index 0000000..9bd757f --- /dev/null +++ b/docs/_inline_query_8h_source.html @@ -0,0 +1,110 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQuery.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQuery.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 26/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERY_H
6 #define TGBOT_INLINEQUERY_H
7 
8 #include <memory>
9 #include <string>
10 
11 #include "tgbot/types/User.h"
12 #include "tgbot/types/Location.h"
13 
14 namespace TgBot {
15 
20 class InlineQuery {
21 public:
22  typedef std::shared_ptr<InlineQuery> Ptr;
23 
27  std::string id;
28 
33 
38 
42  std::string query;
43 
47  std::string offset;
48 };
49 
50 }
51 
52 #endif //TGBOT_INLINEQUERY_H
Definition: Api.h:44
+ +
std::shared_ptr< Location > Ptr
Definition: Location.h:37
+
std::string query
Definition: InlineQuery.h:42
+
Location::Ptr location
Definition: InlineQuery.h:37
+
std::string offset
Definition: InlineQuery.h:47
+ + + +
std::shared_ptr< InlineQuery > Ptr
Definition: InlineQuery.h:22
+
std::string id
Definition: InlineQuery.h:27
+
std::shared_ptr< User > Ptr
Definition: User.h:38
+
+
+ + + + diff --git a/docs/_inline_query_result_8h.html b/docs/_inline_query_result_8h.html new file mode 100644 index 0000000..27e7592 --- /dev/null +++ b/docs/_inline_query_result_8h.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResult.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResult.h File Reference
+
+
+
#include <memory>
+#include <string>
+#include "tgbot/types/InlineKeyboardMarkup.h"
+#include "tgbot/types/InputMessageContent.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResult
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_8h_source.html b/docs/_inline_query_result_8h_source.html new file mode 100644 index 0000000..83da11c --- /dev/null +++ b/docs/_inline_query_result_8h_source.html @@ -0,0 +1,113 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResult.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResult.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 26/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULT_H
6 #define TGBOT_INLINEQUERYRESULT_H
7 
8 #include <memory>
9 #include <string>
10 
13 
14 namespace TgBot {
15 
21 public:
22  typedef std::shared_ptr<InlineQueryResult> Ptr;
23 
25 
26  }
27 
28  virtual ~InlineQueryResult() { }
29 
33  std::string type;
34 
38  std::string id;
39 
43  std::string title;
44 
48  std::string caption;
49 
54 
59 };
60 }
61 
62 #endif //TGBOT_INLINEQUERYRESULT_H
InlineKeyboardMarkup::Ptr replyMarkup
+ +
std::shared_ptr< InputMessageContent > Ptr
+ + + +
InputMessageContent::Ptr inputMessageContent
+
Definition: Api.h:44
+
std::shared_ptr< InlineKeyboardMarkup > Ptr
+ +
std::shared_ptr< InlineQueryResult > Ptr
+ + + + +
+
+ + + + diff --git a/docs/_inline_query_result_article_8h.html b/docs/_inline_query_result_article_8h.html new file mode 100644 index 0000000..407ada0 --- /dev/null +++ b/docs/_inline_query_result_article_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultArticle.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultArticle.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultArticle
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_article_8h_source.html b/docs/_inline_query_result_article_8h_source.html new file mode 100644 index 0000000..20b5ec4 --- /dev/null +++ b/docs/_inline_query_result_article_8h_source.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultArticle.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultArticle.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 26/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTARTICLE_H
6 #define TGBOT_INLINEQUERYRESULTARTICLE_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultArticle> Ptr;
24 
26  this->type = TYPE;
27  this->hideUrl = false;
28  this->thumbHeight = 0;
29  this->thumbWidth = 0;
30  }
31 
35  std::string url;
36 
40  bool hideUrl;
41 
45  std::string description;
46 
50  std::string thumbUrl;
51 
55  int32_t thumbWidth;
56 
60  int32_t thumbHeight;
61 };
62 }
63 
64 #endif //TGBOT_INLINEQUERYRESULTARTICLE_H
InlineQueryResultArticle()
+
std::shared_ptr< InlineQueryResultArticle > Ptr
+
std::string url
+ +
Definition: Api.h:44
+ +
+
std::string description
+ +
int32_t thumbHeight
+
std::string thumbUrl
+
int32_t thumbWidth
+
bool hideUrl
+
static const std::string TYPE
+
+
+ + + + diff --git a/docs/_inline_query_result_audio_8h.html b/docs/_inline_query_result_audio_8h.html new file mode 100644 index 0000000..26d6328 --- /dev/null +++ b/docs/_inline_query_result_audio_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultAudio.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultAudio.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultAudio
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_audio_8h_source.html b/docs/_inline_query_result_audio_8h_source.html new file mode 100644 index 0000000..bf318d1 --- /dev/null +++ b/docs/_inline_query_result_audio_8h_source.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultAudio.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultAudio.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTAUDIO_H
6 #define TGBOT_INLINEQUERYRESULTAUDIO_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultAudio> Ptr;
24 
26  this->type = TYPE;
27  this->audioDuration = 0;
28  }
29 
33  std::string audioUrl;
34 
38  std::string performer;
39 
43  int32_t audioDuration;
44 };
45 }
46 
47 #endif //TGBOT_INLINEQUERYRESULTAUDIO_H
std::shared_ptr< InlineQueryResultAudio > Ptr
+ +
Definition: Api.h:44
+ + + + + + + + +
+
+ + + + diff --git a/docs/_inline_query_result_cached_audio_8h.html b/docs/_inline_query_result_cached_audio_8h.html new file mode 100644 index 0000000..252a38f --- /dev/null +++ b/docs/_inline_query_result_cached_audio_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedAudio.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultCachedAudio.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultCachedAudio
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_cached_audio_8h_source.html b/docs/_inline_query_result_cached_audio_8h_source.html new file mode 100644 index 0000000..7e37fe7 --- /dev/null +++ b/docs/_inline_query_result_cached_audio_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedAudio.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultCachedAudio.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCACHEDAUDIO_H
6 #define TGBOT_INLINEQUERYRESULTCACHEDAUDIO_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultCachedAudio> Ptr;
24 
26  this->type = TYPE;
27  }
28 
32  std::string audioFileId;
33 
34 };
35 }
36 
37 #endif //TGBOT_INLINEQUERYRESULTCACHEDAUDIO_H
+ +
Definition: Api.h:44
+ + + + +
std::shared_ptr< InlineQueryResultCachedAudio > Ptr
+ +
+
+ + + + diff --git a/docs/_inline_query_result_cached_document_8h.html b/docs/_inline_query_result_cached_document_8h.html new file mode 100644 index 0000000..620b859 --- /dev/null +++ b/docs/_inline_query_result_cached_document_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedDocument.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultCachedDocument.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultCachedDocument
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_cached_document_8h_source.html b/docs/_inline_query_result_cached_document_8h_source.html new file mode 100644 index 0000000..36c15d0 --- /dev/null +++ b/docs/_inline_query_result_cached_document_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedDocument.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultCachedDocument.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCACHEDDOCUMENT_H
6 #define TGBOT_INLINEQUERYRESULTCACHEDDOCUMENT_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultCachedDocument> Ptr;
24 
26  this->type = TYPE;
27  }
28 
32  std::string documentFileId;
33 
37  std::string description;
38 };
39 }
40 
41 #endif //TGBOT_INLINEQUERYRESULTCACHEDDOCUMENT_H
+ +
Definition: Api.h:44
+ + + +
std::shared_ptr< InlineQueryResultCachedDocument > Ptr
+ + + +
+
+ + + + diff --git a/docs/_inline_query_result_cached_gif_8h.html b/docs/_inline_query_result_cached_gif_8h.html new file mode 100644 index 0000000..99bb67e --- /dev/null +++ b/docs/_inline_query_result_cached_gif_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedGif.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultCachedGif.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultCachedGif
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_cached_gif_8h_source.html b/docs/_inline_query_result_cached_gif_8h_source.html new file mode 100644 index 0000000..23bcd68 --- /dev/null +++ b/docs/_inline_query_result_cached_gif_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedGif.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultCachedGif.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCACHEDGIF_H
6 #define TGBOT_INLINEQUERYRESULTCACHEDGIF_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultCachedGif> Ptr;
24 
26  this->type = TYPE;
27  }
28 
32  std::string gifFileId;
33 
34 };
35 }
36 
37 #endif //TGBOT_INLINEQUERYRESULTCACHEDGIF_H
+ +
Definition: Api.h:44
+ + + + + +
std::shared_ptr< InlineQueryResultCachedGif > Ptr
+
+
+ + + + diff --git a/docs/_inline_query_result_cached_mpeg4_gif_8h.html b/docs/_inline_query_result_cached_mpeg4_gif_8h.html new file mode 100644 index 0000000..e3fe62e --- /dev/null +++ b/docs/_inline_query_result_cached_mpeg4_gif_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedMpeg4Gif.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultCachedMpeg4Gif.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultCachedMpeg4Gif
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_cached_mpeg4_gif_8h_source.html b/docs/_inline_query_result_cached_mpeg4_gif_8h_source.html new file mode 100644 index 0000000..c594954 --- /dev/null +++ b/docs/_inline_query_result_cached_mpeg4_gif_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedMpeg4Gif.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultCachedMpeg4Gif.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCACHEDMPEG4GIF_H
6 #define TGBOT_INLINEQUERYRESULTCACHEDMPEG4GIF_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultCachedMpeg4Gif> Ptr;
24 
26  this->type = TYPE;
27  }
28 
32  std::string mpeg4FileId;
33 
34 };
35 }
36 
37 #endif //TGBOT_INLINEQUERYRESULTCACHEDMPEG4GIF_H
+ +
Definition: Api.h:44
+ + + +
std::shared_ptr< InlineQueryResultCachedMpeg4Gif > Ptr
+ + +
+
+ + + + diff --git a/docs/_inline_query_result_cached_photo_8h.html b/docs/_inline_query_result_cached_photo_8h.html new file mode 100644 index 0000000..bc0078e --- /dev/null +++ b/docs/_inline_query_result_cached_photo_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedPhoto.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultCachedPhoto.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultCachedPhoto
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_cached_photo_8h_source.html b/docs/_inline_query_result_cached_photo_8h_source.html new file mode 100644 index 0000000..8f0108c --- /dev/null +++ b/docs/_inline_query_result_cached_photo_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedPhoto.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultCachedPhoto.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCACHEDPHOTO_H
6 #define TGBOT_INLINEQUERYRESULTCACHEDPHOTO_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultCachedPhoto> Ptr;
24 
26  this->type = TYPE;
27  }
28 
32  std::string photoFileId;
33 
37  std::string description;
38 };
39 }
40 
41 #endif //TGBOT_INLINEQUERYRESULTCACHEDPHOTO_H
+
Definition: Api.h:44
+ + + + + + +
std::shared_ptr< InlineQueryResultCachedPhoto > Ptr
+ +
+
+ + + + diff --git a/docs/_inline_query_result_cached_sticker_8h.html b/docs/_inline_query_result_cached_sticker_8h.html new file mode 100644 index 0000000..b3719c9 --- /dev/null +++ b/docs/_inline_query_result_cached_sticker_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedSticker.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultCachedSticker.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultCachedSticker
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_cached_sticker_8h_source.html b/docs/_inline_query_result_cached_sticker_8h_source.html new file mode 100644 index 0000000..921d2ca --- /dev/null +++ b/docs/_inline_query_result_cached_sticker_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedSticker.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultCachedSticker.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCACHEDSTICKER_H
6 #define TGBOT_INLINEQUERYRESULTCACHEDSTICKER_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultCachedSticker> Ptr;
24 
26  this->type = TYPE;
27  }
28 
32  std::string stickerFileId;
33 };
34 }
35 
36 #endif //TGBOT_INLINEQUERYRESULTCACHEDSTICKER_H
+
Definition: Api.h:44
+ +
std::shared_ptr< InlineQueryResultCachedSticker > Ptr
+ + + + + +
+
+ + + + diff --git a/docs/_inline_query_result_cached_video_8h.html b/docs/_inline_query_result_cached_video_8h.html new file mode 100644 index 0000000..c7bd518 --- /dev/null +++ b/docs/_inline_query_result_cached_video_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedVideo.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultCachedVideo.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultCachedVideo
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_cached_video_8h_source.html b/docs/_inline_query_result_cached_video_8h_source.html new file mode 100644 index 0000000..654a4f0 --- /dev/null +++ b/docs/_inline_query_result_cached_video_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedVideo.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultCachedVideo.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCACHEDVIDEO_H
6 #define TGBOT_INLINEQUERYRESULTCACHEDVIDEO_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultCachedVideo> Ptr;
24 
26  this->type = TYPE;
27  }
28 
32  std::string videoFileId;
33 
37  std::string description;
38 };
39 }
40 
41 #endif //TGBOT_INLINEQUERYRESULTCACHEDVIDEO_H
+
std::shared_ptr< InlineQueryResultCachedVideo > Ptr
+ + +
Definition: Api.h:44
+ + + + + +
+
+ + + + diff --git a/docs/_inline_query_result_cached_voice_8h.html b/docs/_inline_query_result_cached_voice_8h.html new file mode 100644 index 0000000..e1edb7c --- /dev/null +++ b/docs/_inline_query_result_cached_voice_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedVoice.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultCachedVoice.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultCachedVoice
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_cached_voice_8h_source.html b/docs/_inline_query_result_cached_voice_8h_source.html new file mode 100644 index 0000000..e8c5928 --- /dev/null +++ b/docs/_inline_query_result_cached_voice_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedVoice.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultCachedVoice.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCACHEDVOICE_H
6 #define TGBOT_INLINEQUERYRESULTCACHEDVOICE_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultCachedVoice> Ptr;
24 
26  this->type = TYPE;
27  }
28 
32  std::string voiceFileId;
33 };
34 }
35 
36 #endif //TGBOT_INLINEQUERYRESULTCACHEDVOICE_H
+ +
Definition: Api.h:44
+ + + + +
std::shared_ptr< InlineQueryResultCachedVoice > Ptr
+ +
+
+ + + + diff --git a/docs/_inline_query_result_contact_8h.html b/docs/_inline_query_result_contact_8h.html new file mode 100644 index 0000000..1e83769 --- /dev/null +++ b/docs/_inline_query_result_contact_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultContact.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultContact.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultContact
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_contact_8h_source.html b/docs/_inline_query_result_contact_8h_source.html new file mode 100644 index 0000000..931fbb3 --- /dev/null +++ b/docs/_inline_query_result_contact_8h_source.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultContact.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultContact.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCONTACT_H
6 #define TGBOT_INLINEQUERYRESULTCONTACT_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultContact> Ptr;
24 
26  this->type = TYPE;
27  this->thumbHeight = 0;
28  this->thumbWidth = 0;
29  }
30 
34  std::string phoneNumber;
35 
39  std::string firstName;
40 
44  std::string lastName;
45 
49  std::string thumbUrl;
50 
54  int32_t thumbWidth;
55 
59  int32_t thumbHeight;
60 };
61 }
62 
63 #endif //TGBOT_INLINEQUERYRESULTCONTACT_H
std::shared_ptr< InlineQueryResultContact > Ptr
+ +
Definition: Api.h:44
+ + + + + + + + + + + +
+
+ + + + diff --git a/docs/_inline_query_result_document_8h.html b/docs/_inline_query_result_document_8h.html new file mode 100644 index 0000000..cfb4b56 --- /dev/null +++ b/docs/_inline_query_result_document_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultDocument.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultDocument.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultDocument
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_document_8h_source.html b/docs/_inline_query_result_document_8h_source.html new file mode 100644 index 0000000..18b4dd2 --- /dev/null +++ b/docs/_inline_query_result_document_8h_source.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultDocument.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultDocument.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTDOCUMENT_H
6 #define TGBOT_INLINEQUERYRESULTDOCUMENT_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultDocument> Ptr;
24 
26  this->type = TYPE;
27  this->thumbHeight = 0;
28  this->thumbWidth = 0;
29  }
30 
34  std::string documentUrl;
35 
39  std::string mimeType;
40 
44  std::string description;
45 
49  std::string thumbUrl;
50 
54  int32_t thumbWidth;
55 
59  int32_t thumbHeight;
60 };
61 }
62 
63 #endif //TGBOT_INLINEQUERYRESULTDOCUMENT_H
+ + +
Definition: Api.h:44
+ + + + +
std::shared_ptr< InlineQueryResultDocument > Ptr
+ + + + + +
+
+ + + + diff --git a/docs/_inline_query_result_game_8h.html b/docs/_inline_query_result_game_8h.html new file mode 100644 index 0000000..61d59b2 --- /dev/null +++ b/docs/_inline_query_result_game_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultGame.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultGame.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultGame
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_game_8h_source.html b/docs/_inline_query_result_game_8h_source.html new file mode 100644 index 0000000..e92eb8e --- /dev/null +++ b/docs/_inline_query_result_game_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultGame.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultGame.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTGAME_H
6 #define TGBOT_INLINEQUERYRESULTGAME_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultGame> Ptr;
24 
26  this->type = TYPE;
27  }
28 
32  std::string gameShortName;
33 };
34 }
35 
36 #endif //TGBOT_INLINEQUERYRESULTGAME_H
+ + +
Definition: Api.h:44
+ +
static const std::string TYPE
+
std::shared_ptr< InlineQueryResultGame > Ptr
+ + +
+
+ + + + diff --git a/docs/_inline_query_result_gif_8h.html b/docs/_inline_query_result_gif_8h.html new file mode 100644 index 0000000..e2dc976 --- /dev/null +++ b/docs/_inline_query_result_gif_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultGif.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultGif.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultGif
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_gif_8h_source.html b/docs/_inline_query_result_gif_8h_source.html new file mode 100644 index 0000000..691291f --- /dev/null +++ b/docs/_inline_query_result_gif_8h_source.html @@ -0,0 +1,110 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultGif.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultGif.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 27/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTGIF_H
6 #define TGBOT_INLINEQUERYRESULTGIF_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultGif> Ptr;
24 
26  this->type = TYPE;
27  this->gifWidth = 0;
28  this->gifHeight = 0;
29  }
30 
34  std::string gifUrl;
35 
39  int32_t gifWidth;
40 
44  int32_t gifHeight;
45 
49  std::string thumbUrl;
50 
51 };
52 }
53 
54 #endif //TGBOT_INLINEQUERYRESULTGIF_H
+
std::shared_ptr< InlineQueryResultGif > Ptr
+ +
Definition: Api.h:44
+ + + + + +
static const std::string TYPE
+ + +
+
+ + + + diff --git a/docs/_inline_query_result_location_8h.html b/docs/_inline_query_result_location_8h.html new file mode 100644 index 0000000..4a82140 --- /dev/null +++ b/docs/_inline_query_result_location_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultLocation.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultLocation.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultLocation
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_location_8h_source.html b/docs/_inline_query_result_location_8h_source.html new file mode 100644 index 0000000..ea6022f --- /dev/null +++ b/docs/_inline_query_result_location_8h_source.html @@ -0,0 +1,111 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultLocation.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultLocation.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTLOCATION_H
6 #define TGBOT_INLINEQUERYRESULTLOCATION_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultLocation> Ptr;
24 
26  this->type = TYPE;
27  this->thumbHeight = 0;
28  this->thumbWidth = 0;
29  }
30 
34  float latitude;
35 
39  float longitude;
40 
44  std::string thumbUrl;
45 
49  int32_t thumbWidth;
50 
54  int32_t thumbHeight;
55 };
56 }
57 
58 #endif //TGBOT_INLINEQUERYRESULTLOCATION_H
+
Definition: Api.h:44
+ + + + + +
std::shared_ptr< InlineQueryResultLocation > Ptr
+ + + + + +
+
+ + + + diff --git a/docs/_inline_query_result_mpeg4_gif_8h.html b/docs/_inline_query_result_mpeg4_gif_8h.html new file mode 100644 index 0000000..740ab35 --- /dev/null +++ b/docs/_inline_query_result_mpeg4_gif_8h.html @@ -0,0 +1,114 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultMpeg4Gif.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultMpeg4Gif.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultMpeg4Gif
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_mpeg4_gif_8h_source.html b/docs/_inline_query_result_mpeg4_gif_8h_source.html new file mode 100644 index 0000000..986f3fc --- /dev/null +++ b/docs/_inline_query_result_mpeg4_gif_8h_source.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultMpeg4Gif.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultMpeg4Gif.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 27/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTMPEG4GIF_H
6 #define TGBOT_INLINEQUERYRESULTMPEG4GIF_H
7 
8 namespace TgBot {
9 
15 public:
16  static const std::string TYPE;
17 
18  typedef std::shared_ptr<InlineQueryResultMpeg4Gif> Ptr;
19 
21  this->type = TYPE;
22  this->mpeg4Width = 0;
23  this->mpeg4Height = 0;
24  }
25 
29  std::string mpeg4Url;
30 
34  int32_t mpeg4Width;
35 
39  int32_t mpeg4Height;
40 
44  std::string thumbUrl;
45 
46 };
47 }
48 
49 #endif //TGBOT_INLINEQUERYRESULTMPEG4GIF_H
+ + + + + +
Definition: Api.h:44
+
std::shared_ptr< InlineQueryResultMpeg4Gif > Ptr
+ + + +
+
+ + + + diff --git a/docs/_inline_query_result_photo_8h.html b/docs/_inline_query_result_photo_8h.html new file mode 100644 index 0000000..36e51a6 --- /dev/null +++ b/docs/_inline_query_result_photo_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultPhoto.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultPhoto.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultPhoto
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_photo_8h_source.html b/docs/_inline_query_result_photo_8h_source.html new file mode 100644 index 0000000..3cbc9c4 --- /dev/null +++ b/docs/_inline_query_result_photo_8h_source.html @@ -0,0 +1,111 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultPhoto.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultPhoto.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 26/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTPHOTO_H
6 #define TGBOT_INLINEQUERYRESULTPHOTO_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultPhoto> Ptr;
24 
26  this->type = TYPE;
27  this->photoWidth = 0;
28  this->photoHeight = 0;
29  }
30 
34  std::string photoUrl;
35 
39  std::string thumbUrl;
40 
44  int32_t photoWidth;
45 
49  int32_t photoHeight;
50 
54  std::string description;
55 };
56 }
57 
58 #endif //TGBOT_INLINEQUERYRESULTPHOTO_H
+ +
Definition: Api.h:44
+ + + + + + +
std::shared_ptr< InlineQueryResultPhoto > Ptr
+ + + +
+
+ + + + diff --git a/docs/_inline_query_result_venue_8h.html b/docs/_inline_query_result_venue_8h.html new file mode 100644 index 0000000..4258cce --- /dev/null +++ b/docs/_inline_query_result_venue_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultVenue.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultVenue.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultVenue
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_venue_8h_source.html b/docs/_inline_query_result_venue_8h_source.html new file mode 100644 index 0000000..ecefda4 --- /dev/null +++ b/docs/_inline_query_result_venue_8h_source.html @@ -0,0 +1,113 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultVenue.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultVenue.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTVENUE_H
6 #define TGBOT_INLINEQUERYRESULTVENUE_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultVenue> Ptr;
24 
26  this->type = TYPE;
27  this->thumbHeight = 0;
28  this->thumbWidth = 0;
29  }
30 
34  float latitude;
35 
39  float longitude;
40 
44  std::string address;
45 
49  std::string foursquareId;
50 
54  std::string thumbUrl;
55 
59  int32_t thumbWidth;
60 
64  int32_t thumbHeight;
65 };
66 }
67 
68 #endif //TGBOT_INLINEQUERYRESULTVENUE_H
std::shared_ptr< InlineQueryResultVenue > Ptr
+ + +
Definition: Api.h:44
+ + + + + + + + + + + +
+
+ + + + diff --git a/docs/_inline_query_result_video_8h.html b/docs/_inline_query_result_video_8h.html new file mode 100644 index 0000000..43c2a64 --- /dev/null +++ b/docs/_inline_query_result_video_8h.html @@ -0,0 +1,114 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultVideo.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultVideo.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultVideo
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_video_8h_source.html b/docs/_inline_query_result_video_8h_source.html new file mode 100644 index 0000000..083023a --- /dev/null +++ b/docs/_inline_query_result_video_8h_source.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultVideo.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultVideo.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 27/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTVIDEO_H
6 #define TGBOT_INLINEQUERYRESULTVIDEO_H
7 
8 namespace TgBot {
9 
15 public:
16  static const std::string TYPE;
17 
18  typedef std::shared_ptr<InlineQueryResultVideo> Ptr;
19 
21  this->type = TYPE;
22  this->videoWidth = 0;
23  this->videoHeight = 0;
24  this->videoDuration = 0;
25  };
26 
30  std::string videoUrl;
31 
35  std::string mimeType;
36 
40  std::string thumbUrl;
41 
45  int32_t videoWidth;
46 
50  int32_t videoHeight;
51 
55  int32_t videoDuration;
56 
60  std::string description;
61 
62 };
63 }
64 
65 #endif //TGBOT_INLINEQUERYRESULTVIDEO_H
+ + +
Definition: Api.h:44
+ + +
std::shared_ptr< InlineQueryResultVideo > Ptr
+ + + + + + + +
+
+ + + + diff --git a/docs/_inline_query_result_voice_8h.html b/docs/_inline_query_result_voice_8h.html new file mode 100644 index 0000000..1da29aa --- /dev/null +++ b/docs/_inline_query_result_voice_8h.html @@ -0,0 +1,114 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultVoice.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultVoice.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultVoice
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_inline_query_result_voice_8h_source.html b/docs/_inline_query_result_voice_8h_source.html new file mode 100644 index 0000000..fc0219d --- /dev/null +++ b/docs/_inline_query_result_voice_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultVoice.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultVoice.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTVOICE_H
6 #define TGBOT_INLINEQUERYRESULTVOICE_H
7 
8 namespace TgBot {
9 
15 public:
16  static const std::string TYPE;
17 
18  typedef std::shared_ptr<InlineQueryResultVoice> Ptr;
19 
21  this->type = TYPE;
22  this->voiceDuration = 0;
23  };
24 
28  std::string voiceUrl;
29 
33  int32_t voiceDuration;
34 };
35 }
36 
37 #endif //TGBOT_INLINEQUERYRESULTVOICE_H
+ +
Definition: Api.h:44
+ + +
std::shared_ptr< InlineQueryResultVoice > Ptr
+ + + +
+
+ + + + diff --git a/docs/_input_contact_message_content_8h.html b/docs/_input_contact_message_content_8h.html new file mode 100644 index 0000000..2f8b356 --- /dev/null +++ b/docs/_input_contact_message_content_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputContactMessageContent.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InputContactMessageContent.h File Reference
+
+
+
#include <memory>
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InputContactMessageContent
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_input_contact_message_content_8h_source.html b/docs/_input_contact_message_content_8h_source.html new file mode 100644 index 0000000..3857dc7 --- /dev/null +++ b/docs/_input_contact_message_content_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputContactMessageContent.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InputContactMessageContent.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_INPUTCONTACTMESSAGECONTENT_H
6 #define TGBOT_INPUTCONTACTMESSAGECONTENT_H
7 
8 #include <memory>
9 #include <string>
10 
11 namespace TgBot {
12 
18 public:
19  typedef std::shared_ptr<InputContactMessageContent> Ptr;
20 
22  InputMessageContent("InputContactMessageContent")
23  {}
24 
28  std::string phoneNumber;
29 
33  std::string firstName;
34 
38  std::string lastName;
39 
41 };
42 }
43 
44 #endif //TGBOT_INPUTCONTACTMESSAGECONTENT_H
Definition: Api.h:44
+ + + +
std::shared_ptr< InputContactMessageContent > Ptr
+ + + + +
+
+ + + + diff --git a/docs/_input_file_8h.html b/docs/_input_file_8h.html new file mode 100644 index 0000000..359e551 --- /dev/null +++ b/docs/_input_file_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputFile.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InputFile.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include <utility>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InputFile
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_input_file_8h_source.html b/docs/_input_file_8h_source.html new file mode 100644 index 0000000..6762c1f --- /dev/null +++ b/docs/_input_file_8h_source.html @@ -0,0 +1,104 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputFile.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InputFile.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_INPUTFILE_H
24 #define TGBOT_CPP_INPUTFILE_H
25 
26 #include <string>
27 #include <memory>
28 #include <utility>
29 
30 namespace TgBot {
31 
36 class InputFile {
37 
38 public:
39  typedef std::shared_ptr<InputFile> Ptr;
40 
44  std::string data;
45 
49  std::string mimeType;
50 
54  std::string fileName;
55 };
56 
57 }
58 
59 #endif //TGBOT_CPP_INPUTFILE_H
Definition: Api.h:44
+
std::shared_ptr< InputFile > Ptr
Definition: InputFile.h:39
+
std::string data
Definition: InputFile.h:44
+
std::string fileName
Definition: InputFile.h:54
+ +
std::string mimeType
Definition: InputFile.h:49
+
+
+ + + + diff --git a/docs/_input_location_message_content_8h.html b/docs/_input_location_message_content_8h.html new file mode 100644 index 0000000..5d44521 --- /dev/null +++ b/docs/_input_location_message_content_8h.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputLocationMessageContent.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InputLocationMessageContent.h File Reference
+
+
+
#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InputLocationMessageContent
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_input_location_message_content_8h_source.html b/docs/_input_location_message_content_8h_source.html new file mode 100644 index 0000000..759f53c --- /dev/null +++ b/docs/_input_location_message_content_8h_source.html @@ -0,0 +1,106 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputLocationMessageContent.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InputLocationMessageContent.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_INPUTLOCATIONMESSAGECONTENT_H
6 #define TGBOT_INPUTLOCATIONMESSAGECONTENT_H
7 
8 #include <memory>
9 
10 namespace TgBot {
11 
17 public:
18  typedef std::shared_ptr<InputLocationMessageContent> Ptr;
19 
21  InputMessageContent("InputLocationMessageContent")
22  {}
23 
27  float latitude;
28 
32  float longitude;
33 
35 };
36 }
37 
38 #endif //TGBOT_INPUTLOCATIONMESSAGECONTENT_H
std::shared_ptr< InputLocationMessageContent > Ptr
+
Definition: Api.h:44
+ + + + + + +
+
+ + + + diff --git a/docs/_input_message_content_8h.html b/docs/_input_message_content_8h.html new file mode 100644 index 0000000..d9cfbaf --- /dev/null +++ b/docs/_input_message_content_8h.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputMessageContent.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InputMessageContent.h File Reference
+
+
+
#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InputMessageContent
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_input_message_content_8h_source.html b/docs/_input_message_content_8h_source.html new file mode 100644 index 0000000..542aa25 --- /dev/null +++ b/docs/_input_message_content_8h_source.html @@ -0,0 +1,104 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputMessageContent.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InputMessageContent.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_INPUTMESSAGECONTENT_H
6 #define TGBOT_INPUTMESSAGECONTENT_H
7 
8 #include <memory>
9 
10 namespace TgBot {
11 
17 public:
18  typedef std::shared_ptr<InputMessageContent> Ptr;
19 
20  InputMessageContent(const std::string &tType):
21  type(tType)
22  {}
23 
31  std::string type;
32 
33  virtual ~InputMessageContent() { }
34 };
35 }
36 
37 #endif //TGBOT_INPUTMESSAGECONTENT_H
+
std::shared_ptr< InputMessageContent > Ptr
+
Definition: Api.h:44
+
InputMessageContent(const std::string &tType)
+ + +
+
+ + + + diff --git a/docs/_input_text_message_content_8h.html b/docs/_input_text_message_content_8h.html new file mode 100644 index 0000000..bde9774 --- /dev/null +++ b/docs/_input_text_message_content_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputTextMessageContent.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InputTextMessageContent.h File Reference
+
+
+
#include <memory>
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InputTextMessageContent
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_input_text_message_content_8h_source.html b/docs/_input_text_message_content_8h_source.html new file mode 100644 index 0000000..3ba6aad --- /dev/null +++ b/docs/_input_text_message_content_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputTextMessageContent.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InputTextMessageContent.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_INPUTTEXTMESSAGECONTENT_H
6 #define TGBOT_INPUTTEXTMESSAGECONTENT_H
7 
8 #include <memory>
9 #include <string>
10 
11 namespace TgBot {
12 
18 public:
19  typedef std::shared_ptr<InputTextMessageContent> Ptr;
20 
22  InputMessageContent("InputTextMessageContent")
23  {}
24 
28  std::string messageText;
29 
33  std::string parseMode;
34 
39 
41 };
42 }
43 
44 #endif //TGBOT_INPUTTEXTMESSAGECONTENT_H
std::shared_ptr< InputTextMessageContent > Ptr
+
Definition: Api.h:44
+ + + + + + + +
+
+ + + + diff --git a/docs/_input_venue_message_content_8h.html b/docs/_input_venue_message_content_8h.html new file mode 100644 index 0000000..f75dd22 --- /dev/null +++ b/docs/_input_venue_message_content_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputVenueMessageContent.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InputVenueMessageContent.h File Reference
+
+
+
#include <memory>
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InputVenueMessageContent
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_input_venue_message_content_8h_source.html b/docs/_input_venue_message_content_8h_source.html new file mode 100644 index 0000000..7b35d4f --- /dev/null +++ b/docs/_input_venue_message_content_8h_source.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputVenueMessageContent.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InputVenueMessageContent.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 
6 #ifndef TGBOT_INPUTVENUEMESSAGECONTENT_H
7 #define TGBOT_INPUTVENUEMESSAGECONTENT_H
8 
9 #include <memory>
10 #include <string>
11 
12 namespace TgBot {
13 
19 public:
20  typedef std::shared_ptr<InputVenueMessageContent> Ptr;
21 
23  InputMessageContent("InputVenueMessageContent")
24  {}
25 
29  float latitude;
30 
34  float longitude;
35 
39  std::string title;
40 
44  std::string address;
45 
49  std::string foursquareId;
50 
52 };
53 }
54 
55 #endif //TGBOT_INPUTVENUEMESSAGECONTENT_H
+
Definition: Api.h:44
+ + + + + + + + +
std::shared_ptr< InputVenueMessageContent > Ptr
+
+
+ + + + diff --git a/docs/_keyboard_button_8h.html b/docs/_keyboard_button_8h.html new file mode 100644 index 0000000..f085968 --- /dev/null +++ b/docs/_keyboard_button_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/KeyboardButton.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
KeyboardButton.h File Reference
+
+
+
#include <string>
+#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::KeyboardButton
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_keyboard_button_8h_source.html b/docs/_keyboard_button_8h_source.html new file mode 100644 index 0000000..b8ef5a1 --- /dev/null +++ b/docs/_keyboard_button_8h_source.html @@ -0,0 +1,104 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/KeyboardButton.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
KeyboardButton.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_CPP_KEYBOARDBUTTON_H
6 #define TGBOT_CPP_KEYBOARDBUTTON_H
7 
8 #include <string>
9 #include <memory>
10 
11 namespace TgBot {
12 
20 
21 public:
22  typedef std::shared_ptr<KeyboardButton> Ptr;
23 
28  std::string text;
29 
34  bool requestContact = false;
35 
39  bool requestLocation = false;
40 };
41 
42 }
43 
44 #endif //TGBOT_CPP_KEYBOARDBUTTON_H
+
Definition: Api.h:44
+
std::shared_ptr< KeyboardButton > Ptr
+ + + +
+
+ + + + diff --git a/docs/_location_8h.html b/docs/_location_8h.html new file mode 100644 index 0000000..15c01fc --- /dev/null +++ b/docs/_location_8h.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Location.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Location.h File Reference
+
+
+
#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Location
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_location_8h_source.html b/docs/_location_8h_source.html new file mode 100644 index 0000000..143f952 --- /dev/null +++ b/docs/_location_8h_source.html @@ -0,0 +1,103 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Location.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Location.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_LOCATION_H
24 #define TGBOT_CPP_LOCATION_H
25 
26 #include <memory>
27 
28 namespace TgBot {
29 
34 class Location {
35 
36 public:
37  typedef std::shared_ptr<Location> Ptr;
38 
42  float longitude;
43 
47  float latitude;
48 };
49 
50 }
51 
52 #endif //TGBOT_CPP_LOCATION_H
Definition: Api.h:44
+
std::shared_ptr< Location > Ptr
Definition: Location.h:37
+
float longitude
Definition: Location.h:42
+
float latitude
Definition: Location.h:47
+ +
+
+ + + + diff --git a/docs/_message_8h.html b/docs/_message_8h.html new file mode 100644 index 0000000..4004868 --- /dev/null +++ b/docs/_message_8h.html @@ -0,0 +1,130 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Message.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Message.h File Reference
+
+
+
#include <string>
+#include <vector>
+#include <memory>
+#include "tgbot/types/Chat.h"
+#include "tgbot/types/User.h"
+#include "tgbot/types/Message.h"
+#include "tgbot/types/Audio.h"
+#include "tgbot/types/Document.h"
+#include "tgbot/types/Sticker.h"
+#include "tgbot/types/Video.h"
+#include "tgbot/types/Contact.h"
+#include "tgbot/types/Location.h"
+#include "tgbot/types/PhotoSize.h"
+#include "tgbot/types/MessageEntity.h"
+#include "tgbot/types/Venue.h"
+#include "tgbot/types/Voice.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Message
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_message_8h_source.html b/docs/_message_8h_source.html new file mode 100644 index 0000000..ee8e27b --- /dev/null +++ b/docs/_message_8h_source.html @@ -0,0 +1,158 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Message.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Message.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_MESSAGE_H
24 #define TGBOT_CPP_MESSAGE_H
25 
26 #include <string>
27 #include <vector>
28 #include <memory>
29 
30 #include "tgbot/types/Chat.h"
31 #include "tgbot/types/User.h"
32 #include "tgbot/types/Message.h"
33 #include "tgbot/types/Audio.h"
34 #include "tgbot/types/Document.h"
35 #include "tgbot/types/Sticker.h"
36 #include "tgbot/types/Video.h"
37 #include "tgbot/types/Contact.h"
38 #include "tgbot/types/Location.h"
39 #include "tgbot/types/PhotoSize.h"
41 #include "tgbot/types/Venue.h"
42 #include "tgbot/types/Voice.h"
43 
44 namespace TgBot {
45 
50 class Message {
51 public:
52  typedef std::shared_ptr<Message> Ptr;
53 
55  deleteChatPhoto = false;
56  groupChatCreated = false;
57  supergroupChatCreated = false;
58  channelChatCreated = false;
59  migrateToChatId = 0;
61  }
62 
66  int32_t messageId;
67 
72 
76  int32_t date;
77 
82 
87 
92 
97 
101  int32_t forwardDate;
102 
107 
111  int32_t editDate;
112 
116  std::string text;
117 
121  std::vector<MessageEntity::Ptr> entities;
122 
127 
132 
136  std::vector<PhotoSize::Ptr> photo;
137 
142 
147 
152 
156  std::string caption;
157 
162 
167 
172 
177 
182 
186  std::string newChatTitle;
187 
191  std::vector<PhotoSize::Ptr> newChatPhoto;
192 
197 
202 
207 
212 
217 
222 
227 
228 };
229 
230 }
231 
232 #endif //TGBOT_CPP_MESSAGE_H
bool channelChatCreated
Definition: Message.h:211
+
int64_t migrateToChatId
Definition: Message.h:216
+ +
std::shared_ptr< Sticker > Ptr
Definition: Sticker.h:40
+
bool supergroupChatCreated
Definition: Message.h:206
+ +
std::shared_ptr< Audio > Ptr
Definition: Audio.h:38
+
User::Ptr forwardFrom
Definition: Message.h:86
+
std::vector< MessageEntity::Ptr > entities
Definition: Message.h:121
+
std::string caption
Definition: Message.h:156
+ + +
User::Ptr leftChatMember
Definition: Message.h:181
+
std::string text
Definition: Message.h:116
+
Definition: Api.h:44
+
Video::Ptr video
Definition: Message.h:146
+
Message::Ptr pinnedMessage
Definition: Message.h:226
+
Chat::Ptr chat
Definition: Message.h:81
+ +
bool groupChatCreated
Definition: Message.h:201
+
std::vector< PhotoSize::Ptr > newChatPhoto
Definition: Message.h:191
+
std::shared_ptr< Message > Ptr
Definition: Message.h:52
+
std::vector< PhotoSize::Ptr > photo
Definition: Message.h:136
+
std::shared_ptr< Location > Ptr
Definition: Location.h:37
+
Sticker::Ptr sticker
Definition: Message.h:141
+
int64_t migrateFromChatId
Definition: Message.h:221
+
Document::Ptr document
Definition: Message.h:131
+
int32_t editDate
Definition: Message.h:111
+
Chat::Ptr forwardFromChat
Definition: Message.h:91
+
Venue::Ptr venue
Definition: Message.h:171
+
int32_t forwardFromMessageId
Definition: Message.h:96
+ +
std::string newChatTitle
Definition: Message.h:186
+
Contact::Ptr contact
Definition: Message.h:161
+
Audio::Ptr audio
Definition: Message.h:126
+
std::shared_ptr< Document > Ptr
Definition: Document.h:40
+
std::shared_ptr< Chat > Ptr
Definition: Chat.h:38
+
int32_t forwardDate
Definition: Message.h:101
+
int32_t messageId
Definition: Message.h:66
+
Message::Ptr replyToMessage
Definition: Message.h:106
+
std::shared_ptr< Voice > Ptr
Definition: Voice.h:19
+
User::Ptr from
Definition: Message.h:71
+
bool deleteChatPhoto
Definition: Message.h:196
+
Location::Ptr location
Definition: Message.h:166
+ +
std::shared_ptr< Video > Ptr
Definition: Video.h:40
+
std::shared_ptr< Contact > Ptr
Definition: Contact.h:38
+ + + + +
std::shared_ptr< Venue > Ptr
Definition: Venue.h:21
+ + +
int32_t date
Definition: Message.h:76
+
User::Ptr newChatMember
Definition: Message.h:176
+ +
Voice::Ptr voice
Definition: Message.h:151
+
std::shared_ptr< User > Ptr
Definition: User.h:38
+ +
+
+ + + + diff --git a/docs/_message_entity_8h.html b/docs/_message_entity_8h.html new file mode 100644 index 0000000..458dffa --- /dev/null +++ b/docs/_message_entity_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/MessageEntity.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
MessageEntity.h File Reference
+
+
+
#include <memory>
+#include <string>
+#include "tgbot/types/User.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::MessageEntity
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_message_entity_8h_source.html b/docs/_message_entity_8h_source.html new file mode 100644 index 0000000..542c83d --- /dev/null +++ b/docs/_message_entity_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/MessageEntity.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
MessageEntity.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_MESSAGEENTITY_H
6 #define TGBOT_MESSAGEENTITY_H
7 
8 #include <memory>
9 #include <string>
10 #include "tgbot/types/User.h"
11 
12 namespace TgBot {
13 
19 public:
20  typedef std::shared_ptr<MessageEntity> Ptr;
21 
25  std::string type;
26 
30  int32_t offset;
31 
35  int32_t length;
36 
40  std::string url;
41 
46 };
47 }
48 
49 #endif //TGBOT_MESSAGEENTITY_H
std::shared_ptr< MessageEntity > Ptr
Definition: MessageEntity.h:20
+ +
Definition: Api.h:44
+ + + + + + +
std::shared_ptr< User > Ptr
Definition: User.h:38
+
+
+ + + + diff --git a/docs/_photo_size_8h.html b/docs/_photo_size_8h.html new file mode 100644 index 0000000..5b93e05 --- /dev/null +++ b/docs/_photo_size_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/PhotoSize.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
PhotoSize.h File Reference
+
+
+
#include <string>
+#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::PhotoSize
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_photo_size_8h_source.html b/docs/_photo_size_8h_source.html new file mode 100644 index 0000000..b8922fc --- /dev/null +++ b/docs/_photo_size_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/PhotoSize.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
PhotoSize.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_PHOTOSIZE_H
24 #define TGBOT_CPP_PHOTOSIZE_H
25 
26 #include <string>
27 #include <memory>
28 
29 namespace TgBot {
30 
35 class PhotoSize {
36 
37 public:
38  typedef std::shared_ptr<PhotoSize> Ptr;
39 
43  std::string fileId;
44 
48  int32_t width;
49 
53  int32_t height;
54 
58  int32_t fileSize;
59 };
60 
61 }
62 
63 #endif //TGBOT_CPP_PHOTOSIZE_H
int32_t width
Definition: PhotoSize.h:48
+
Definition: Api.h:44
+ +
int32_t fileSize
Definition: PhotoSize.h:58
+
std::string fileId
Definition: PhotoSize.h:43
+
std::shared_ptr< PhotoSize > Ptr
Definition: PhotoSize.h:38
+
int32_t height
Definition: PhotoSize.h:53
+
+
+ + + + diff --git a/docs/_reply_keyboard_markup_8h.html b/docs/_reply_keyboard_markup_8h.html new file mode 100644 index 0000000..ef6f191 --- /dev/null +++ b/docs/_reply_keyboard_markup_8h.html @@ -0,0 +1,119 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ReplyKeyboardMarkup.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ReplyKeyboardMarkup.h File Reference
+
+
+
#include <string>
+#include <vector>
+#include <memory>
+#include "tgbot/types/GenericReply.h"
+#include "tgbot/types/KeyboardButton.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::ReplyKeyboardMarkup
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_reply_keyboard_markup_8h_source.html b/docs/_reply_keyboard_markup_8h_source.html new file mode 100644 index 0000000..85c7c9c --- /dev/null +++ b/docs/_reply_keyboard_markup_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ReplyKeyboardMarkup.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ReplyKeyboardMarkup.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_REPLYKEYBOARDMARKUP_H
24 #define TGBOT_CPP_REPLYKEYBOARDMARKUP_H
25 
26 #include <string>
27 #include <vector>
28 #include <memory>
29 
32 
33 namespace TgBot {
34 
40 
41 public:
42  typedef std::shared_ptr<ReplyKeyboardMarkup> Ptr;
43 
47  std::vector<std::vector<KeyboardButton::Ptr>> keyboard;
48 
52  bool resizeKeyboard = false;
53 
57  bool oneTimeKeyboard = false;
58 
63  bool selective = false;
64 };
65 
66 }
67 
68 #endif //TGBOT_CPP_REPLYKEYBOARDMARKUP_H
+
Definition: Api.h:44
+ + + + + +
std::vector< std::vector< KeyboardButton::Ptr > > keyboard
+
std::shared_ptr< ReplyKeyboardMarkup > Ptr
+ +
+
+ + + + diff --git a/docs/_reply_keyboard_remove_8h.html b/docs/_reply_keyboard_remove_8h.html new file mode 100644 index 0000000..857e9f8 --- /dev/null +++ b/docs/_reply_keyboard_remove_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ReplyKeyboardRemove.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ReplyKeyboardRemove.h File Reference
+
+
+
#include <memory>
+#include "tgbot/types/GenericReply.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::ReplyKeyboardRemove
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_reply_keyboard_remove_8h_source.html b/docs/_reply_keyboard_remove_8h_source.html new file mode 100644 index 0000000..eb01b26 --- /dev/null +++ b/docs/_reply_keyboard_remove_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ReplyKeyboardRemove.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ReplyKeyboardRemove.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_CPP_REPLYKEYBOARDREMOVE_H
6 #define TGBOT_CPP_REPLYKEYBOARDREMOVE_H
7 
8 #include <memory>
9 
11 
12 namespace TgBot {
13 
21 
22 public:
23  typedef std::shared_ptr<ReplyKeyboardRemove> Ptr;
24 
29  const bool removeKeyboard = true;
30 
35  bool selective = false;
36 };
37 
38 }
39 
40 #endif //TGBOT_CPP_REPLYKEYBOARDREMOVE_H
Definition: Api.h:44
+ + + +
std::shared_ptr< ReplyKeyboardRemove > Ptr
+ + +
+
+ + + + diff --git a/docs/_response_parameters_8h.html b/docs/_response_parameters_8h.html new file mode 100644 index 0000000..2bf1169 --- /dev/null +++ b/docs/_response_parameters_8h.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ResponseParameters.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ResponseParameters.h File Reference
+
+
+
#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::ResponseParameters
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_response_parameters_8h_source.html b/docs/_response_parameters_8h_source.html new file mode 100644 index 0000000..14f386f --- /dev/null +++ b/docs/_response_parameters_8h_source.html @@ -0,0 +1,103 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ResponseParameters.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ResponseParameters.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_RESPONSEPARAMETERS_H
6 #define TGBOT_RESPONSEPARAMETERS_H
7 
8 #include <memory>
9 
10 namespace TgBot {
11 
17 public:
18  typedef std::shared_ptr<ResponseParameters> Ptr;
19 
26  int32_t migrateToChatId;
27 
31  int32_t retryAfter;
32 };
33 }
34 
35 #endif //TGBOT_RESPONSEPARAMETERS_H
Definition: Api.h:44
+
std::shared_ptr< ResponseParameters > Ptr
+ + + +
+
+ + + + diff --git a/docs/_sticker_8h.html b/docs/_sticker_8h.html new file mode 100644 index 0000000..c7bf2fe --- /dev/null +++ b/docs/_sticker_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Sticker.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Sticker.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/PhotoSize.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Sticker
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_sticker_8h_source.html b/docs/_sticker_8h_source.html new file mode 100644 index 0000000..022e6c1 --- /dev/null +++ b/docs/_sticker_8h_source.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Sticker.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Sticker.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_STICKER_H
24 #define TGBOT_CPP_STICKER_H
25 
26 #include <string>
27 #include <memory>
28 
29 #include "tgbot/types/PhotoSize.h"
30 
31 namespace TgBot {
32 
37 class Sticker {
38 
39 public:
40  typedef std::shared_ptr<Sticker> Ptr;
41 
45  std::string fileId;
46 
50  int32_t width;
51 
55  int32_t height;
56 
61 
65  std::string emoji;
66 
70  int32_t fileSize;
71 };
72 
73 }
74 
75 #endif //TGBOT_CPP_STICKER_H
std::string emoji
Definition: Sticker.h:65
+ +
std::shared_ptr< Sticker > Ptr
Definition: Sticker.h:40
+
PhotoSize::Ptr thumb
Definition: Sticker.h:60
+
Definition: Api.h:44
+ +
int32_t height
Definition: Sticker.h:55
+
std::shared_ptr< PhotoSize > Ptr
Definition: PhotoSize.h:38
+
std::string fileId
Definition: Sticker.h:45
+
int32_t width
Definition: Sticker.h:50
+
int32_t fileSize
Definition: Sticker.h:70
+
+
+ + + + diff --git a/docs/_string_tools_8h.html b/docs/_string_tools_8h.html new file mode 100644 index 0000000..216ad8e --- /dev/null +++ b/docs/_string_tools_8h.html @@ -0,0 +1,129 @@ + + + + + + + +tgbot-cpp: include/tgbot/tools/StringTools.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
StringTools.h File Reference
+
+
+
#include <vector>
+#include <string>
+#include <sstream>
+
+

Go to the source code of this file.

+ + + + +

+Namespaces

 StringTools
 
+ + + + + + + + + + + + + + + +

+Functions

bool StringTools::startsWith (const std::string &str1, const std::string &str2)
 
bool StringTools::endsWith (const std::string &str1, const std::string &str2)
 
void StringTools::split (const std::string &str, char delimiter, std::vector< std::string > &dest)
 
std::string StringTools::generateRandomString (size_t length)
 
std::string StringTools::urlEncode (const std::string &value, const std::string &additionalLegitChars="")
 
std::string StringTools::urlDecode (const std::string &value)
 
std::vector< std::string > StringTools::split (const std::string &str, char delimiter)
 
+
+
+ + + + diff --git a/docs/_string_tools_8h.js b/docs/_string_tools_8h.js new file mode 100644 index 0000000..5463856 --- /dev/null +++ b/docs/_string_tools_8h.js @@ -0,0 +1,10 @@ +var _string_tools_8h = +[ + [ "endsWith", "_string_tools_8h.html#a56ad2f85f783a58212b6d049c2df7c13", null ], + [ "generateRandomString", "_string_tools_8h.html#a78a624fa5a1ee47cca1e025c799a26d9", null ], + [ "split", "_string_tools_8h.html#a0136fb0794d49068fd59ee54863feaf0", null ], + [ "split", "_string_tools_8h.html#abca17ac29bcc3e047459f3250497bd26", null ], + [ "startsWith", "_string_tools_8h.html#a4e79ae0938faa2be79b4004f8d38cc36", null ], + [ "urlDecode", "_string_tools_8h.html#ae7831577f52841166e96c93357956369", null ], + [ "urlEncode", "_string_tools_8h.html#a6c54e792856444bd52f5a3f40df376b7", null ] +]; \ No newline at end of file diff --git a/docs/_string_tools_8h_source.html b/docs/_string_tools_8h_source.html new file mode 100644 index 0000000..b21cb8f --- /dev/null +++ b/docs/_string_tools_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/tools/StringTools.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
StringTools.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_STRINGTOOLS_H
24 #define TGBOT_CPP_STRINGTOOLS_H
25 
26 #include <vector>
27 #include <string>
28 #include <sstream>
29 
33 namespace StringTools {
34 
40 bool startsWith(const std::string& str1, const std::string& str2);
41 
47 bool endsWith(const std::string& str1, const std::string& str2);
48 
55 void split(const std::string& str, char delimiter, std::vector<std::string>& dest);
56 
61 std::string generateRandomString(size_t length);
62 
69 std::string urlEncode(const std::string& value, const std::string& additionalLegitChars = "");
70 
76 std::string urlDecode(const std::string& value);
77 
84 inline std::vector<std::string> split(const std::string& str, char delimiter) {
85  std::vector<std::string> result;
86  split(str, delimiter, result);
87  return result;
88 }
89 
90 }
91 
92 #endif //TGBOT_CPP_STRINGTOOLS_H
+
bool endsWith(const std::string &str1, const std::string &str2)
+
std::string urlDecode(const std::string &value)
+
std::string generateRandomString(size_t length)
+
bool startsWith(const std::string &str1, const std::string &str2)
+
void split(const std::string &str, char delimiter, std::vector< std::string > &dest)
+
std::string urlEncode(const std::string &value, const std::string &additionalLegitChars="")
+
+
+ + + + diff --git a/docs/_tg_exception_8h.html b/docs/_tg_exception_8h.html new file mode 100644 index 0000000..77120fb --- /dev/null +++ b/docs/_tg_exception_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/TgException.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgException.h File Reference
+
+
+
#include <string>
+#include <stdexcept>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::TgException
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_tg_exception_8h_source.html b/docs/_tg_exception_8h_source.html new file mode 100644 index 0000000..7287d74 --- /dev/null +++ b/docs/_tg_exception_8h_source.html @@ -0,0 +1,101 @@ + + + + + + + +tgbot-cpp: include/tgbot/TgException.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgException.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_TGEXCEPTION_H
24 #define TGBOT_TGEXCEPTION_H
25 
26 #include <string>
27 #include <stdexcept>
28 
29 namespace TgBot {
30 
35 class TgException : public std::runtime_error {
36 
37 public:
38  explicit TgException(const std::string description);
39 };
40 
41 }
42 
43 #endif //TGBOT_TGEXCEPTION_H
+
Definition: Api.h:44
+
TgException(const std::string description)
+
+
+ + + + diff --git a/docs/_tg_long_poll_8h.html b/docs/_tg_long_poll_8h.html new file mode 100644 index 0000000..438e3c5 --- /dev/null +++ b/docs/_tg_long_poll_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgLongPoll.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgLongPoll.h File Reference
+
+
+
#include "tgbot/Bot.h"
+#include "tgbot/Api.h"
+#include "tgbot/EventHandler.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::TgLongPoll
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_tg_long_poll_8h_source.html b/docs/_tg_long_poll_8h_source.html new file mode 100644 index 0000000..2d0e9cc --- /dev/null +++ b/docs/_tg_long_poll_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgLongPoll.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgLongPoll.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_TGLONGPOLL_H
24 #define TGBOT_TGLONGPOLL_H
25 
26 #include "tgbot/Bot.h"
27 #include "tgbot/Api.h"
28 #include "tgbot/EventHandler.h"
29 
30 namespace TgBot {
31 
36 class TgLongPoll {
37 
38 public:
39  TgLongPoll(const Api* api, const EventHandler* eventHandler);
40  TgLongPoll(const Bot& bot);
41 
45  void start();
46 
47 private:
48  int32_t _lastUpdateId = 0;
49  const Api* _api;
50  const EventHandler* _eventHandler;
51 };
52 
53 }
54 
55 #endif //TGBOT_TGLONGPOLL_H
+
Definition: Api.h:44
+
Definition: Api.h:52
+ + + + +
Definition: Bot.h:38
+
TgLongPoll(const Api *api, const EventHandler *eventHandler)
+ +
+
+ + + + diff --git a/docs/_tg_type_parser_8h.html b/docs/_tg_type_parser_8h.html new file mode 100644 index 0000000..84f29d4 --- /dev/null +++ b/docs/_tg_type_parser_8h.html @@ -0,0 +1,169 @@ + + + + + + + +tgbot-cpp: include/tgbot/TgTypeParser.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgTypeParser.h File Reference
+
+
+
#include <string>
+#include <boost/property_tree/ptree.hpp>
+#include <boost/property_tree/json_parser.hpp>
+#include "tgbot/types/User.h"
+#include "tgbot/types/Chat.h"
+#include "tgbot/types/Message.h"
+#include "tgbot/types/PhotoSize.h"
+#include "tgbot/types/Audio.h"
+#include "tgbot/types/Document.h"
+#include "tgbot/types/Sticker.h"
+#include "tgbot/types/Video.h"
+#include "tgbot/types/Contact.h"
+#include "tgbot/types/Location.h"
+#include "tgbot/types/Update.h"
+#include "tgbot/types/UserProfilePhotos.h"
+#include "tgbot/types/File.h"
+#include "tgbot/types/ReplyKeyboardMarkup.h"
+#include "tgbot/types/KeyboardButton.h"
+#include "tgbot/types/ReplyKeyboardRemove.h"
+#include "tgbot/types/ForceReply.h"
+#include "tgbot/types/ChatMember.h"
+#include "tgbot/types/ResponseParameters.h"
+#include "tgbot/types/GenericReply.h"
+#include "tgbot/types/InlineQuery.h"
+#include "tgbot/types/InlineQueryResult.h"
+#include "tgbot/types/InlineQueryResultCachedAudio.h"
+#include "tgbot/types/InlineQueryResultCachedDocument.h"
+#include "tgbot/types/InlineQueryResultCachedGif.h"
+#include "tgbot/types/InlineQueryResultCachedMpeg4Gif.h"
+#include "tgbot/types/InlineQueryResultCachedPhoto.h"
+#include "tgbot/types/InlineQueryResultCachedSticker.h"
+#include "tgbot/types/InlineQueryResultCachedVideo.h"
+#include "tgbot/types/InlineQueryResultCachedVoice.h"
+#include "tgbot/types/InlineQueryResultArticle.h"
+#include "tgbot/types/InlineQueryResultAudio.h"
+#include "tgbot/types/InlineQueryResultContact.h"
+#include "tgbot/types/InlineQueryResultGame.h"
+#include "tgbot/types/InlineQueryResultDocument.h"
+#include "tgbot/types/InlineQueryResultGif.h"
+#include "tgbot/types/InlineQueryResultLocation.h"
+#include "tgbot/types/InlineQueryResultMpeg4Gif.h"
+#include "tgbot/types/InlineQueryResultPhoto.h"
+#include "tgbot/types/InlineQueryResultVenue.h"
+#include "tgbot/types/InlineQueryResultVideo.h"
+#include "tgbot/types/InlineQueryResultVoice.h"
+#include "tgbot/types/ChosenInlineResult.h"
+#include "tgbot/types/CallbackQuery.h"
+#include "tgbot/types/InlineKeyboardMarkup.h"
+#include "tgbot/types/InlineKeyboardButton.h"
+#include "tgbot/types/WebhookInfo.h"
+#include "tgbot/types/InputMessageContent.h"
+#include "tgbot/types/InputTextMessageContent.h"
+#include "tgbot/types/InputLocationMessageContent.h"
+#include "tgbot/types/InputVenueMessageContent.h"
+#include "tgbot/types/InputContactMessageContent.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::TgTypeParser
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_tg_type_parser_8h_source.html b/docs/_tg_type_parser_8h_source.html new file mode 100644 index 0000000..3364edd --- /dev/null +++ b/docs/_tg_type_parser_8h_source.html @@ -0,0 +1,322 @@ + + + + + + + +tgbot-cpp: include/tgbot/TgTypeParser.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgTypeParser.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_TGTYPEPARSER_H
24 #define TGBOT_CPP_TGTYPEPARSER_H
25 
26 #include <string>
27 
28 #include <boost/property_tree/ptree.hpp>
29 #include <boost/property_tree/json_parser.hpp>
30 
31 #include "tgbot/types/User.h"
32 #include "tgbot/types/Chat.h"
33 #include "tgbot/types/Message.h"
34 #include "tgbot/types/PhotoSize.h"
35 #include "tgbot/types/Audio.h"
36 #include "tgbot/types/Document.h"
37 #include "tgbot/types/Sticker.h"
38 #include "tgbot/types/Video.h"
39 #include "tgbot/types/Contact.h"
40 #include "tgbot/types/Location.h"
41 #include "tgbot/types/Update.h"
43 #include "tgbot/types/File.h"
47 #include "tgbot/types/ForceReply.h"
48 #include "tgbot/types/ChatMember.h"
83 
84 namespace TgBot {
85 
86 class TgTypeParser {
87 
88 public:
89  template<typename T>
90  using JsonToTgTypeFunc = std::shared_ptr<T> (TgTypeParser::*)(const boost::property_tree::ptree&) const;
91 
92  template<typename T>
93  using TgTypeToJsonFunc = std::string (TgTypeParser::*)(const std::shared_ptr<T>&) const;
94 
95  static TgTypeParser& getInstance();
96 
97  Chat::Ptr parseJsonAndGetChat(const boost::property_tree::ptree& data) const;
98  std::string parseChat(const Chat::Ptr& object) const;
99  User::Ptr parseJsonAndGetUser(const boost::property_tree::ptree& data) const;
100  std::string parseUser(const User::Ptr& object) const;
101  MessageEntity::Ptr parseJsonAndGetEntity(const boost::property_tree::ptree& data) const;
102  Message::Ptr parseJsonAndGetMessage(const boost::property_tree::ptree& data) const;
103  std::string parseMessage(const Message::Ptr& object) const;
104  PhotoSize::Ptr parseJsonAndGetPhotoSize(const boost::property_tree::ptree& data) const;
105  std::string parsePhotoSize(const PhotoSize::Ptr& object) const;
106  Audio::Ptr parseJsonAndGetAudio(const boost::property_tree::ptree& data) const;
107  std::string parseAudio(const Audio::Ptr& object) const;
108  Document::Ptr parseJsonAndGetDocument(const boost::property_tree::ptree& data) const;
109  std::string parseDocument(const Document::Ptr& object) const;
110  Sticker::Ptr parseJsonAndGetSticker(const boost::property_tree::ptree& data) const;
111  std::string parseSticker(const Sticker::Ptr& object) const;
112  Video::Ptr parseJsonAndGetVideo(const boost::property_tree::ptree& data) const;
113  std::string parseVideo(const Video::Ptr& object) const;
114  Contact::Ptr parseJsonAndGetContact(const boost::property_tree::ptree& data) const;
115  std::string parseContact(const Contact::Ptr& object) const;
116  Location::Ptr parseJsonAndGetLocation(const boost::property_tree::ptree& data) const;
117  std::string parseLocation(const Location::Ptr& object) const;
118  Update::Ptr parseJsonAndGetUpdate(const boost::property_tree::ptree& data) const;
119  std::string parseUpdate(const Update::Ptr& object) const;
120  UserProfilePhotos::Ptr parseJsonAndGetUserProfilePhotos(const boost::property_tree::ptree& data) const;
121  std::string parseUserProfilePhotos(const UserProfilePhotos::Ptr& object) const;
122 
123  File::Ptr parseJsonAndGetFile(const boost::property_tree::ptree& data) const;
124  std::string parseFile(const File::Ptr& object) const;
125 
126  ReplyKeyboardMarkup::Ptr parseJsonAndGetReplyKeyboardMarkup(const boost::property_tree::ptree& data) const;
127  std::string parseReplyKeyboardMarkup(const ReplyKeyboardMarkup::Ptr& object) const;
128 
129  KeyboardButton::Ptr parseJsonAndGetKeyboardButton(const boost::property_tree::ptree& data) const;
130  std::string parseKeyboardButton(const KeyboardButton::Ptr& object) const;
131 
132  ReplyKeyboardRemove::Ptr parseJsonAndGetReplyKeyboardRemove(const boost::property_tree::ptree& data) const;
133  std::string parseReplyKeyboardRemove(const ReplyKeyboardRemove::Ptr& object) const;
134 
135  ForceReply::Ptr parseJsonAndGetForceReply(const boost::property_tree::ptree& data) const;
136  std::string parseForceReply(const ForceReply::Ptr& object) const;
137 
138  ChatMember::Ptr parseJsonAndGetChatMember(const boost::property_tree::ptree& data) const;
139  std::string parseChatMember(const ChatMember::Ptr& object) const;
140 
141  ResponseParameters::Ptr parseJsonAndGetResponseParameters(const boost::property_tree::ptree& data) const;
142  std::string parseResponseParameters(const ResponseParameters::Ptr& object) const;
143 
144  GenericReply::Ptr parseJsonAndGetGenericReply(const boost::property_tree::ptree& data) const;
145  std::string parseGenericReply(const GenericReply::Ptr& object) const;
146 
147  InlineQuery::Ptr parseJsonAndGetInlineQuery(const boost::property_tree::ptree& data) const;
148  std::string parseInlineQuery(const InlineQuery::Ptr& object) const;
149 
150  InlineQueryResult::Ptr parseJsonAndGetInlineQueryResult(const boost::property_tree::ptree& data) const;
151  std::string parseInlineQueryResult(const InlineQueryResult::Ptr& object) const;
152 
153  InlineQueryResultCachedAudio::Ptr parseJsonAndGetInlineQueryResultCachedAudio(const boost::property_tree::ptree& data) const;
155 
156  InlineQueryResultCachedDocument::Ptr parseJsonAndGetInlineQueryResultCachedDocument(const boost::property_tree::ptree& data) const;
158 
159  InlineQueryResultCachedGif::Ptr parseJsonAndGetInlineQueryResultCachedGif(const boost::property_tree::ptree& data) const;
160  std::string parseInlineQueryResultCachedGif(const InlineQueryResultCachedGif::Ptr& object) const;
161 
162  InlineQueryResultCachedMpeg4Gif::Ptr parseJsonAndGetInlineQueryResultCachedMpeg4Gif(const boost::property_tree::ptree& data) const;
164 
165  InlineQueryResultCachedPhoto::Ptr parseJsonAndGetInlineQueryResultCachedPhoto(const boost::property_tree::ptree& data) const;
167 
168  InlineQueryResultCachedSticker::Ptr parseJsonAndGetInlineQueryResultCachedSticker(const boost::property_tree::ptree& data) const;
170 
171  InlineQueryResultCachedVideo::Ptr parseJsonAndGetInlineQueryResultCachedVideo(const boost::property_tree::ptree& data) const;
173 
174  InlineQueryResultCachedVoice::Ptr parseJsonAndGetInlineQueryResultCachedVoice(const boost::property_tree::ptree& data) const;
176 
177  InlineQueryResultArticle::Ptr parseJsonAndGetInlineQueryResultArticle(const boost::property_tree::ptree& data) const;
178  std::string parseInlineQueryResultArticle(const InlineQueryResultArticle::Ptr& object) const;
179 
180  InlineQueryResultAudio::Ptr parseJsonAndGetInlineQueryResultAudio(const boost::property_tree::ptree& data) const;
181  std::string parseInlineQueryResultAudio(const InlineQueryResultAudio::Ptr& object) const;
182 
183  InlineQueryResultContact::Ptr parseJsonAndGetInlineQueryResultContact(const boost::property_tree::ptree& data) const;
184  std::string parseInlineQueryResultContact(const InlineQueryResultContact::Ptr& object) const;
185 
186  InlineQueryResultGame::Ptr parseJsonAndGetInlineQueryResultGame(const boost::property_tree::ptree& data) const;
187  std::string parseInlineQueryResultGame(const InlineQueryResultGame::Ptr& object) const;
188 
189  InlineQueryResultDocument::Ptr parseJsonAndGetInlineQueryResultDocument(const boost::property_tree::ptree& data) const;
190  std::string parseInlineQueryResultDocument(const InlineQueryResultDocument::Ptr& object) const;
191 
192  InlineQueryResultLocation::Ptr parseJsonAndGetInlineQueryResultLocation(const boost::property_tree::ptree& data) const;
193  std::string parseInlineQueryResultLocation(const InlineQueryResultLocation::Ptr& object) const;
194 
195  InlineQueryResultVenue::Ptr parseJsonAndGetInlineQueryResultVenue(const boost::property_tree::ptree& data) const;
196  std::string parseInlineQueryResultVenue(const InlineQueryResultVenue::Ptr& object) const;
197 
198  InlineQueryResultVoice::Ptr parseJsonAndGetInlineQueryResultVoice(const boost::property_tree::ptree& data) const;
199  std::string parseInlineQueryResultVoice(const InlineQueryResultVoice::Ptr& object) const;
200 
201  InlineQueryResultPhoto::Ptr parseJsonAndGetInlineQueryResultPhoto(const boost::property_tree::ptree& data) const;
202  std::string parseInlineQueryResultPhoto(const InlineQueryResultPhoto::Ptr& object) const;
203  InlineQueryResultGif::Ptr parseJsonAndGetInlineQueryResultGif(const boost::property_tree::ptree& data) const;
204  std::string parseInlineQueryResultGif(const InlineQueryResultGif::Ptr& object) const;
205  InlineQueryResultMpeg4Gif::Ptr parseJsonAndGetInlineQueryResultMpeg4Gif(const boost::property_tree::ptree& data) const;
206  std::string parseInlineQueryResultMpeg4Gif(const InlineQueryResultMpeg4Gif::Ptr& object) const;
207  InlineQueryResultVideo::Ptr parseJsonAndGetInlineQueryResultVideo(const boost::property_tree::ptree& data) const;
208  std::string parseInlineQueryResultVideo(const InlineQueryResultVideo::Ptr& object) const;
209  ChosenInlineResult::Ptr parseJsonAndGetChosenInlineResult(const boost::property_tree::ptree& data) const;
210  std::string parseChosenInlineResult(const ChosenInlineResult::Ptr& object) const;
211 
212  CallbackQuery::Ptr parseJsonAndGetCallbackQuery(const boost::property_tree::ptree& data) const;
213  std::string parseCallbackQuery(const CallbackQuery::Ptr& object) const;
214  InlineKeyboardMarkup::Ptr parseJsonAndGetInlineKeyboardMarkup(const boost::property_tree::ptree& data) const;
215  std::string parseInlineKeyboardMarkup(const InlineKeyboardMarkup::Ptr& object) const;
216  InlineKeyboardButton::Ptr parseJsonAndGetInlineKeyboardButton(const boost::property_tree::ptree& data) const;
217  std::string parseInlineKeyboardButton(const InlineKeyboardButton::Ptr& object) const;
218 
219  WebhookInfo::Ptr parseJsonAndGetWebhookInfo(const boost::property_tree::ptree& data) const;
220  std::string parseWebhookInfo(const WebhookInfo::Ptr& object) const;
221 
222  InputMessageContent::Ptr parseJsonAndGetInputMessageContent(const boost::property_tree::ptree& data) const;
223  std::string parseInputMessageContent(const InputMessageContent::Ptr& object) const;
224 
225  InputTextMessageContent::Ptr parseJsonAndGetInputTextMessageContent(const boost::property_tree::ptree& data) const;
226  std::string parseInputTextMessageContent(const InputTextMessageContent::Ptr& object) const;
227 
228  InputLocationMessageContent::Ptr parseJsonAndGetInputLocationMessageContent(const boost::property_tree::ptree& data) const;
230 
231  InputVenueMessageContent::Ptr parseJsonAndGetInputVenueMessageContent(const boost::property_tree::ptree& data) const;
232  std::string parseInputVenueMessageContent(const InputVenueMessageContent::Ptr& object) const;
233 
234  InputContactMessageContent::Ptr parseJsonAndGetInputContactMessageContent(const boost::property_tree::ptree& data) const;
235  std::string parseInputContactMessageContent(const InputContactMessageContent::Ptr& object) const;
236 
237  inline boost::property_tree::ptree parseJson(const std::string& json) const {
238  boost::property_tree::ptree tree;
239  std::istringstream input(json);
240  boost::property_tree::read_json(input, tree);
241  return tree;
242  }
243 
244  template<typename T>
245  std::shared_ptr<T> tryParseJson(JsonToTgTypeFunc<T> parseFunc, const boost::property_tree::ptree& data, const std::string& keyName) const {
246  auto treeItem = data.find(keyName);
247  if (treeItem == data.not_found()) {
248  return std::shared_ptr<T>();
249  }
250  return (this->*parseFunc)(treeItem->second);
251  }
252 
253  template<typename T>
254  std::vector<std::shared_ptr<T>> parseJsonAndGetArray(JsonToTgTypeFunc<T> parseFunc, const boost::property_tree::ptree& data) const {
255  std::vector<std::shared_ptr<T>> result;
256  for (const std::pair<const std::string, boost::property_tree::ptree>& innerTreeItem : data) {
257  result.push_back((this->*parseFunc)(innerTreeItem.second));
258  }
259  return result;
260  }
261 
262  template<typename T>
263  std::vector<T> parseJsonAndGetArray(std::function<T(const boost::property_tree::ptree&)> parseFunc, const boost::property_tree::ptree& data, const std::string& keyName) const {
264  std::vector<T> result;
265  auto treeItem = data.find(keyName);
266  if (treeItem == data.not_found()) {
267  return result;
268  }
269  for (const std::pair<const std::string, boost::property_tree::ptree>& innerTreeItem : treeItem->second) {
270  result.push_back(parseFunc(innerTreeItem.second));
271  }
272  return result;
273  }
274 
275  template<typename T>
276  std::vector<std::shared_ptr<T>> parseJsonAndGetArray(JsonToTgTypeFunc<T> parseFunc, const boost::property_tree::ptree& data, const std::string& keyName) const {
277  std::vector<std::shared_ptr<T>> result;
278  auto treeItem = data.find(keyName);
279  if (treeItem == data.not_found()) {
280  return result;
281  }
282  for (const std::pair<const std::string, boost::property_tree::ptree>& innerTreeItem : treeItem->second) {
283  result.push_back((this->*parseFunc)(innerTreeItem.second));
284  }
285  return result;
286  }
287 
288  template<typename T>
289  std::vector<std::vector<std::shared_ptr<T>>> parseJsonAndGet2DArray(JsonToTgTypeFunc<T> parseFunc, const boost::property_tree::ptree& data, const std::string& keyName) const {
290  std::vector<std::vector<std::shared_ptr<T>>> result;
291  auto treeItem = data.find(keyName);
292  if (treeItem == data.not_found()) {
293  return result;
294  }
295  for (const std::pair<const std::string, boost::property_tree::ptree>& innerTreeItem : treeItem->second) {
296  std::vector<std::shared_ptr<T>> innerResult;
297  for (const std::pair<const std::string, boost::property_tree::ptree>& innerInnerTreeItem : innerTreeItem.second) {
298  innerResult.push_back((this->*parseFunc)(innerInnerTreeItem.second));
299  }
300  result.push_back(innerResult);
301  }
302  return result;
303  }
304 
305  template<typename T>
306  std::string parseArray(TgTypeToJsonFunc<T> parseFunc, const std::vector<std::shared_ptr<T>>& objects) const {
307  if (objects.empty())
308  return "";
309  std::string result;
310  result += '[';
311  for (const std::shared_ptr<T>& item : objects) {
312  result += (this->*parseFunc)(item);
313  result += ',';
314  }
315  result.erase(result.length() - 1);
316  result += ']';
317  return result;
318  }
319 
320  template<typename T>
321  std::string parseArray(std::function<T(const T&)> parseFunc, const std::vector<T>& objects) const {
322  if (objects.empty())
323  return "";
324  std::string result;
325  result += '[';
326  for (const T& item : objects) {
327  result += parseFunc(item);
328  result += ',';
329  }
330  result.erase(result.length() - 1);
331  result += ']';
332  return result;
333  }
334 
335  template<typename T>
336  std::string parse2DArray(TgTypeToJsonFunc<T> parseFunc, const std::vector<std::vector<std::shared_ptr<T>>>& objects) const {
337  if (objects.empty())
338  return "";
339  std::string result;
340  result += '[';
341  for (const std::vector<std::shared_ptr<T>>& item : objects) {
342  result += parseArray(parseFunc, item);
343  result += ',';
344  }
345  result.erase(result.length() - 1);
346  result += ']';
347  return result;
348  }
349 
350 private:
351  template<typename T>
352  void appendToJson(std::string& json, const std::string& varName, const T& value) const {
353  if (value == 0) {
354  return;
355  }
356  json += '"';
357  json += varName;
358  json += "\":";
359  json += value;
360  json += ',';
361  }
362 
363  void appendToJson(std::string& json, const std::string& varName, const bool& value) const {
364  if (value == 0) {
365  return;
366  }
367  json += '"';
368  json += varName;
369  json += "\":";
370  json += (value ? "true" : "false");
371  json += ',';
372  }
373 
374  void appendToJson(std::string& json, const std::string& varName, const std::string& value) const;
375 };
376 
377 }
378 
379 #endif //TGBOT_CPP_TGTYPEPARSER_H
std::string parseArray(std::function< T(const T &)> parseFunc, const std::vector< T > &objects) const
Definition: TgTypeParser.h:321
+
std::shared_ptr< MessageEntity > Ptr
Definition: MessageEntity.h:20
+
std::shared_ptr< T > tryParseJson(JsonToTgTypeFunc< T > parseFunc, const boost::property_tree::ptree &data, const std::string &keyName) const
Definition: TgTypeParser.h:245
+ +
std::string parseInlineQueryResultCachedMpeg4Gif(const InlineQueryResultCachedMpeg4Gif::Ptr &object) const
+
std::string parseKeyboardButton(const KeyboardButton::Ptr &object) const
+
ForceReply::Ptr parseJsonAndGetForceReply(const boost::property_tree::ptree &data) const
+
std::shared_ptr< InlineQueryResultAudio > Ptr
+
Video::Ptr parseJsonAndGetVideo(const boost::property_tree::ptree &data) const
+
std::vector< std::shared_ptr< T > > parseJsonAndGetArray(JsonToTgTypeFunc< T > parseFunc, const boost::property_tree::ptree &data, const std::string &keyName) const
Definition: TgTypeParser.h:276
+
File::Ptr parseJsonAndGetFile(const boost::property_tree::ptree &data) const
+
InlineQueryResultArticle::Ptr parseJsonAndGetInlineQueryResultArticle(const boost::property_tree::ptree &data) const
+ +
std::shared_ptr< T >(TgTypeParser::*)(const boost::property_tree::ptree &) const JsonToTgTypeFunc
Definition: TgTypeParser.h:90
+
std::shared_ptr< File > Ptr
Definition: File.h:24
+
std::shared_ptr< InlineKeyboardButton > Ptr
+
InputTextMessageContent::Ptr parseJsonAndGetInputTextMessageContent(const boost::property_tree::ptree &data) const
+ + +
std::shared_ptr< Sticker > Ptr
Definition: Sticker.h:40
+
CallbackQuery::Ptr parseJsonAndGetCallbackQuery(const boost::property_tree::ptree &data) const
+
InlineQueryResultGame::Ptr parseJsonAndGetInlineQueryResultGame(const boost::property_tree::ptree &data) const
+
std::shared_ptr< InlineQueryResultVenue > Ptr
+
Audio::Ptr parseJsonAndGetAudio(const boost::property_tree::ptree &data) const
+ + +
static TgTypeParser & getInstance()
+
std::shared_ptr< InputLocationMessageContent > Ptr
+
std::shared_ptr< Audio > Ptr
Definition: Audio.h:38
+
std::string parseArray(TgTypeToJsonFunc< T > parseFunc, const std::vector< std::shared_ptr< T >> &objects) const
Definition: TgTypeParser.h:306
+
std::shared_ptr< InputMessageContent > Ptr
+
InlineQueryResultVenue::Ptr parseJsonAndGetInlineQueryResultVenue(const boost::property_tree::ptree &data) const
+
InlineQueryResultContact::Ptr parseJsonAndGetInlineQueryResultContact(const boost::property_tree::ptree &data) const
+
std::shared_ptr< InlineQueryResultArticle > Ptr
+
std::string parseDocument(const Document::Ptr &object) const
+
std::string parseAudio(const Audio::Ptr &object) const
+ +
std::shared_ptr< CallbackQuery > Ptr
Definition: CallbackQuery.h:22
+
std::string parse2DArray(TgTypeToJsonFunc< T > parseFunc, const std::vector< std::vector< std::shared_ptr< T >>> &objects) const
Definition: TgTypeParser.h:336
+
std::shared_ptr< InputTextMessageContent > Ptr
+ +
InlineKeyboardMarkup::Ptr parseJsonAndGetInlineKeyboardMarkup(const boost::property_tree::ptree &data) const
+
std::string parseForceReply(const ForceReply::Ptr &object) const
+ + +
std::shared_ptr< InlineQueryResultGif > Ptr
+
std::shared_ptr< InlineQueryResultCachedVideo > Ptr
+ + +
std::shared_ptr< InlineQueryResultContact > Ptr
+
InlineQueryResultDocument::Ptr parseJsonAndGetInlineQueryResultDocument(const boost::property_tree::ptree &data) const
+
InlineQueryResultCachedSticker::Ptr parseJsonAndGetInlineQueryResultCachedSticker(const boost::property_tree::ptree &data) const
+
InputLocationMessageContent::Ptr parseJsonAndGetInputLocationMessageContent(const boost::property_tree::ptree &data) const
+
std::string parseInlineQueryResultCachedAudio(const InlineQueryResultCachedAudio::Ptr &object) const
+
std::string parseVideo(const Video::Ptr &object) const
+
std::string parseInlineQueryResultArticle(const InlineQueryResultArticle::Ptr &object) const
+
InputContactMessageContent::Ptr parseJsonAndGetInputContactMessageContent(const boost::property_tree::ptree &data) const
+
std::shared_ptr< Update > Ptr
Definition: Update.h:42
+
Definition: Api.h:44
+
std::shared_ptr< InlineQueryResultMpeg4Gif > Ptr
+
std::string parseUpdate(const Update::Ptr &object) const
+ +
std::string parseInlineQueryResultCachedGif(const InlineQueryResultCachedGif::Ptr &object) const
+ + +
std::string parseInlineQueryResultVenue(const InlineQueryResultVenue::Ptr &object) const
+ +
Chat::Ptr parseJsonAndGetChat(const boost::property_tree::ptree &data) const
+ +
std::string parseWebhookInfo(const WebhookInfo::Ptr &object) const
+
std::string parseSticker(const Sticker::Ptr &object) const
+
InputMessageContent::Ptr parseJsonAndGetInputMessageContent(const boost::property_tree::ptree &data) const
+
User::Ptr parseJsonAndGetUser(const boost::property_tree::ptree &data) const
+
std::shared_ptr< InlineKeyboardMarkup > Ptr
+
std::string parseInlineQueryResultCachedVideo(const InlineQueryResultCachedVideo::Ptr &object) const
+ + +
std::shared_ptr< KeyboardButton > Ptr
+ +
std::shared_ptr< Message > Ptr
Definition: Message.h:52
+
std::string parseInlineQueryResultVideo(const InlineQueryResultVideo::Ptr &object) const
+
std::shared_ptr< InlineQueryResultCachedSticker > Ptr
+
InlineQueryResultVoice::Ptr parseJsonAndGetInlineQueryResultVoice(const boost::property_tree::ptree &data) const
+
std::vector< std::vector< std::shared_ptr< T > > > parseJsonAndGet2DArray(JsonToTgTypeFunc< T > parseFunc, const boost::property_tree::ptree &data, const std::string &keyName) const
Definition: TgTypeParser.h:289
+
std::string parseInputMessageContent(const InputMessageContent::Ptr &object) const
+ +
InlineQueryResultCachedVoice::Ptr parseJsonAndGetInlineQueryResultCachedVoice(const boost::property_tree::ptree &data) const
+
std::shared_ptr< Location > Ptr
Definition: Location.h:37
+
std::string parseInlineKeyboardMarkup(const InlineKeyboardMarkup::Ptr &object) const
+ + +
std::string parseReplyKeyboardRemove(const ReplyKeyboardRemove::Ptr &object) const
+
std::string parseInputLocationMessageContent(const InputLocationMessageContent::Ptr &object) const
+
InputVenueMessageContent::Ptr parseJsonAndGetInputVenueMessageContent(const boost::property_tree::ptree &data) const
+
WebhookInfo::Ptr parseJsonAndGetWebhookInfo(const boost::property_tree::ptree &data) const
+
ReplyKeyboardMarkup::Ptr parseJsonAndGetReplyKeyboardMarkup(const boost::property_tree::ptree &data) const
+
std::string parseInlineQueryResultVoice(const InlineQueryResultVoice::Ptr &object) const
+ +
std::shared_ptr< ChosenInlineResult > Ptr
+
std::shared_ptr< InlineQueryResultVideo > Ptr
+
std::string parseInlineQueryResultContact(const InlineQueryResultContact::Ptr &object) const
+
std::string parseFile(const File::Ptr &object) const
+
std::shared_ptr< InlineQueryResultVoice > Ptr
+ +
std::shared_ptr< InlineQueryResult > Ptr
+
std::shared_ptr< InlineQueryResultCachedDocument > Ptr
+
MessageEntity::Ptr parseJsonAndGetEntity(const boost::property_tree::ptree &data) const
+
std::string parseInlineQueryResultMpeg4Gif(const InlineQueryResultMpeg4Gif::Ptr &object) const
+ +
InlineQueryResultAudio::Ptr parseJsonAndGetInlineQueryResultAudio(const boost::property_tree::ptree &data) const
+
std::shared_ptr< InlineQueryResultLocation > Ptr
+
std::shared_ptr< UserProfilePhotos > Ptr
+
std::shared_ptr< InlineQueryResultDocument > Ptr
+
Message::Ptr parseJsonAndGetMessage(const boost::property_tree::ptree &data) const
+
std::shared_ptr< WebhookInfo > Ptr
Definition: WebhookInfo.h:20
+
std::shared_ptr< InputContactMessageContent > Ptr
+
GenericReply::Ptr parseJsonAndGetGenericReply(const boost::property_tree::ptree &data) const
+ + +
std::string parseInlineQueryResultPhoto(const InlineQueryResultPhoto::Ptr &object) const
+
std::shared_ptr< ReplyKeyboardRemove > Ptr
+
std::shared_ptr< InlineQueryResultCachedMpeg4Gif > Ptr
+
std::string parseChat(const Chat::Ptr &object) const
+
std::string parseInlineQueryResult(const InlineQueryResult::Ptr &object) const
+
std::shared_ptr< GenericReply > Ptr
Definition: GenericReply.h:37
+
std::string parseChosenInlineResult(const ChosenInlineResult::Ptr &object) const
+ +
std::string parseInputVenueMessageContent(const InputVenueMessageContent::Ptr &object) const
+
std::shared_ptr< InlineQueryResultGame > Ptr
+
std::string parseChatMember(const ChatMember::Ptr &object) const
+
InlineQueryResultCachedMpeg4Gif::Ptr parseJsonAndGetInlineQueryResultCachedMpeg4Gif(const boost::property_tree::ptree &data) const
+
std::shared_ptr< ResponseParameters > Ptr
+ + +
std::string parseInlineQueryResultCachedDocument(const InlineQueryResultCachedDocument::Ptr &object) const
+
std::vector< std::shared_ptr< T > > parseJsonAndGetArray(JsonToTgTypeFunc< T > parseFunc, const boost::property_tree::ptree &data) const
Definition: TgTypeParser.h:254
+
std::string parseLocation(const Location::Ptr &object) const
+
ResponseParameters::Ptr parseJsonAndGetResponseParameters(const boost::property_tree::ptree &data) const
+
std::string parseInlineQueryResultCachedSticker(const InlineQueryResultCachedSticker::Ptr &object) const
+
InlineQueryResultVideo::Ptr parseJsonAndGetInlineQueryResultVideo(const boost::property_tree::ptree &data) const
+
std::shared_ptr< Document > Ptr
Definition: Document.h:40
+
std::shared_ptr< Chat > Ptr
Definition: Chat.h:38
+
std::string parseReplyKeyboardMarkup(const ReplyKeyboardMarkup::Ptr &object) const
+
ChosenInlineResult::Ptr parseJsonAndGetChosenInlineResult(const boost::property_tree::ptree &data) const
+
KeyboardButton::Ptr parseJsonAndGetKeyboardButton(const boost::property_tree::ptree &data) const
+
std::string parseUserProfilePhotos(const UserProfilePhotos::Ptr &object) const
+
InlineQueryResultCachedDocument::Ptr parseJsonAndGetInlineQueryResultCachedDocument(const boost::property_tree::ptree &data) const
+
Document::Ptr parseJsonAndGetDocument(const boost::property_tree::ptree &data) const
+
std::shared_ptr< PhotoSize > Ptr
Definition: PhotoSize.h:38
+
std::string parseMessage(const Message::Ptr &object) const
+ +
std::string parseInlineKeyboardButton(const InlineKeyboardButton::Ptr &object) const
+
+
UserProfilePhotos::Ptr parseJsonAndGetUserProfilePhotos(const boost::property_tree::ptree &data) const
+ +
std::shared_ptr< ReplyKeyboardMarkup > Ptr
+
std::string parseResponseParameters(const ResponseParameters::Ptr &object) const
+
std::string parsePhotoSize(const PhotoSize::Ptr &object) const
+ +
std::vector< T > parseJsonAndGetArray(std::function< T(const boost::property_tree::ptree &)> parseFunc, const boost::property_tree::ptree &data, const std::string &keyName) const
Definition: TgTypeParser.h:263
+
PhotoSize::Ptr parseJsonAndGetPhotoSize(const boost::property_tree::ptree &data) const
+ + +
std::string(TgTypeParser::*)(const std::shared_ptr< T > &) const TgTypeToJsonFunc
Definition: TgTypeParser.h:93
+
std::string parseInlineQueryResultAudio(const InlineQueryResultAudio::Ptr &object) const
+
std::shared_ptr< Video > Ptr
Definition: Video.h:40
+
Sticker::Ptr parseJsonAndGetSticker(const boost::property_tree::ptree &data) const
+
std::string parseInlineQueryResultLocation(const InlineQueryResultLocation::Ptr &object) const
+
std::shared_ptr< Contact > Ptr
Definition: Contact.h:38
+
std::string parseGenericReply(const GenericReply::Ptr &object) const
+ +
Update::Ptr parseJsonAndGetUpdate(const boost::property_tree::ptree &data) const
+
InlineKeyboardButton::Ptr parseJsonAndGetInlineKeyboardButton(const boost::property_tree::ptree &data) const
+ +
InlineQueryResultCachedGif::Ptr parseJsonAndGetInlineQueryResultCachedGif(const boost::property_tree::ptree &data) const
+
std::string parseInputTextMessageContent(const InputTextMessageContent::Ptr &object) const
+
std::string parseInlineQueryResultGame(const InlineQueryResultGame::Ptr &object) const
+
InlineQuery::Ptr parseJsonAndGetInlineQuery(const boost::property_tree::ptree &data) const
+
std::string parseInlineQueryResultGif(const InlineQueryResultGif::Ptr &object) const
+
InlineQueryResultPhoto::Ptr parseJsonAndGetInlineQueryResultPhoto(const boost::property_tree::ptree &data) const
+
std::shared_ptr< InlineQueryResultCachedVoice > Ptr
+ +
std::shared_ptr< InlineQueryResultCachedPhoto > Ptr
+ +
ChatMember::Ptr parseJsonAndGetChatMember(const boost::property_tree::ptree &data) const
+ +
std::shared_ptr< InlineQueryResultPhoto > Ptr
+ +
InlineQueryResult::Ptr parseJsonAndGetInlineQueryResult(const boost::property_tree::ptree &data) const
+
InlineQueryResultLocation::Ptr parseJsonAndGetInlineQueryResultLocation(const boost::property_tree::ptree &data) const
+
InlineQueryResultCachedPhoto::Ptr parseJsonAndGetInlineQueryResultCachedPhoto(const boost::property_tree::ptree &data) const
+ +
std::string parseInlineQueryResultDocument(const InlineQueryResultDocument::Ptr &object) const
+ + + +
std::string parseUser(const User::Ptr &object) const
+
std::string parseCallbackQuery(const CallbackQuery::Ptr &object) const
+
InlineQueryResultCachedVideo::Ptr parseJsonAndGetInlineQueryResultCachedVideo(const boost::property_tree::ptree &data) const
+ +
std::shared_ptr< ChatMember > Ptr
Definition: ChatMember.h:21
+ +
std::shared_ptr< InlineQuery > Ptr
Definition: InlineQuery.h:22
+
std::shared_ptr< ForceReply > Ptr
Definition: ForceReply.h:43
+
std::string parseInlineQueryResultCachedPhoto(const InlineQueryResultCachedPhoto::Ptr &object) const
+
ReplyKeyboardRemove::Ptr parseJsonAndGetReplyKeyboardRemove(const boost::property_tree::ptree &data) const
+
InlineQueryResultGif::Ptr parseJsonAndGetInlineQueryResultGif(const boost::property_tree::ptree &data) const
+
std::string parseInlineQuery(const InlineQuery::Ptr &object) const
+
std::string parseInlineQueryResultCachedVoice(const InlineQueryResultCachedVoice::Ptr &object) const
+ +
std::string parseContact(const Contact::Ptr &object) const
+
InlineQueryResultMpeg4Gif::Ptr parseJsonAndGetInlineQueryResultMpeg4Gif(const boost::property_tree::ptree &data) const
+
InlineQueryResultCachedAudio::Ptr parseJsonAndGetInlineQueryResultCachedAudio(const boost::property_tree::ptree &data) const
+
Contact::Ptr parseJsonAndGetContact(const boost::property_tree::ptree &data) const
+
std::string parseInputContactMessageContent(const InputContactMessageContent::Ptr &object) const
+
Location::Ptr parseJsonAndGetLocation(const boost::property_tree::ptree &data) const
+ +
std::shared_ptr< InlineQueryResultCachedGif > Ptr
+ +
std::shared_ptr< InputVenueMessageContent > Ptr
+
std::shared_ptr< InlineQueryResultCachedAudio > Ptr
+
boost::property_tree::ptree parseJson(const std::string &json) const
Definition: TgTypeParser.h:237
+
std::shared_ptr< User > Ptr
Definition: User.h:38
+ +
+
+ + + + diff --git a/docs/_tg_webhook_local_server_8h.html b/docs/_tg_webhook_local_server_8h.html new file mode 100644 index 0000000..68a3e18 --- /dev/null +++ b/docs/_tg_webhook_local_server_8h.html @@ -0,0 +1,100 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgWebhookLocalServer.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgWebhookLocalServer.h File Reference
+
+ +
+ + + + diff --git a/docs/_tg_webhook_local_server_8h_source.html b/docs/_tg_webhook_local_server_8h_source.html new file mode 100644 index 0000000..36ba158 --- /dev/null +++ b/docs/_tg_webhook_local_server_8h_source.html @@ -0,0 +1,100 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgWebhookLocalServer.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgWebhookLocalServer.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_TGWEBHOOKTCPSERVER_H
24 #define TGBOT_TGWEBHOOKTCPSERVER_H
25 
26 #ifdef BOOST_ASIO_HAS_LOCAL_SOCKETS
27 
29 
30 namespace TgBot {
31 
36 class TgWebhookLocalServer : public TgWebhookServer<boost::asio::local::stream_protocol> {
37 
38 public:
39  TgWebhookLocalServer(std::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::local::stream_protocol>>& acceptor, const std::string& path, EventHandler* eventHandler) = delete;
40 
41  TgWebhookLocalServer(const std::string& path, const EventHandler* eventHandler) :
42  TgWebhookServer<boost::asio::local::stream_protocol>(std::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::local::stream_protocol>>(new boost::asio::local::stream_protocol::acceptor(_ioService, boost::asio::local::stream_protocol::endpoint(path))), path, eventHandler)
43  {
44  }
45 
46  TgWebhookLocalServer(const std::string& path, const Bot& bot) : TgWebhookLocalServer(path, &bot.getEventHandler()) {
47  }
48 };
49 
50 }
51 
52 #endif //BOOST_ASIO_HAS_LOCAL_SOCKETS
53 
54 #endif //TGBOT_TGWEBHOOKTCPSERVER_H
Definition: Api.h:44
+ +
+
+ + + + diff --git a/docs/_tg_webhook_server_8h.html b/docs/_tg_webhook_server_8h.html new file mode 100644 index 0000000..f318cc1 --- /dev/null +++ b/docs/_tg_webhook_server_8h.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgWebhookServer.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgWebhookServer.h File Reference
+
+
+
#include "tgbot/Bot.h"
+#include "tgbot/EventHandler.h"
+#include "tgbot/TgTypeParser.h"
+#include "tgbot/net/HttpServer.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::TgWebhookServer< Protocol >
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_tg_webhook_server_8h_source.html b/docs/_tg_webhook_server_8h_source.html new file mode 100644 index 0000000..e8a6e6b --- /dev/null +++ b/docs/_tg_webhook_server_8h_source.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgWebhookServer.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgWebhookServer.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_TGHTTPSERVER_H
24 #define TGBOT_TGHTTPSERVER_H
25 
26 #include "tgbot/Bot.h"
27 #include "tgbot/EventHandler.h"
28 #include "tgbot/TgTypeParser.h"
29 #include "tgbot/net/HttpServer.h"
30 
31 namespace TgBot {
32 
33 template<typename Protocol>
34 class TgWebhookServer : public HttpServer<Protocol> {
35 
36 public:
37  TgWebhookServer(std::shared_ptr<boost::asio::basic_socket_acceptor<Protocol>> acceptor, const typename HttpServer<Protocol>::ServerHandler& handler) = delete;
38 
39  TgWebhookServer(std::shared_ptr<boost::asio::basic_socket_acceptor<Protocol>> acceptor, const std::string& path, const EventHandler* eventHandler) :
40  HttpServer<Protocol>(acceptor, [this, eventHandler, &path](const std::string& data, const std::map<std::string, std::string>& headers) -> std::string {
41  if (headers.at("method") == "POST" && headers.at("path") == path) {
42  eventHandler->handleUpdate(TgTypeParser::getInstance().parseJsonAndGetUpdate(TgTypeParser::getInstance().parseJson(data)));
43  }
45  })
46  {
47  }
48 
49  TgWebhookServer(std::shared_ptr<boost::asio::basic_socket_acceptor<Protocol>> acceptor, const std::string& path, const Bot& bot) :
50  TgWebhookServer(acceptor, path, &bot.getEventHandler())
51  {
52  }
53 };
54 
55 }
56 
57 #endif //TGBOT_TGHTTPSERVER_H
TgWebhookServer(std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor, const std::string &path, const Bot &bot)
+
static TgTypeParser & getInstance()
+ +
Definition: Api.h:44
+ +
TgWebhookServer(std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor, const std::string &path, const EventHandler *eventHandler)
+ + +
TgWebhookServer(std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor, const typename HttpServer< Protocol >::ServerHandler &handler)=delete
+
Definition: Bot.h:38
+
std::string generateResponse(const std::string &data, const std::string &mimeType="text/plain", short unsigned statusCode=200, const std::string &statusStr="OK", bool isKeepAlive=false)
+
static HttpParser & getInstance()
+ + +
std::function< std::string(const std::string &, const std::map< std::string, std::string >)> ServerHandler
Definition: HttpServer.h:42
+
void handleUpdate(const Update::Ptr &update) const
Definition: EventHandler.h:65
+ +
+
+ + + + diff --git a/docs/_tg_webhook_tcp_server_8h.html b/docs/_tg_webhook_tcp_server_8h.html new file mode 100644 index 0000000..b078e9a --- /dev/null +++ b/docs/_tg_webhook_tcp_server_8h.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgWebhookTcpServer.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgWebhookTcpServer.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::TgWebhookTcpServer
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_tg_webhook_tcp_server_8h_source.html b/docs/_tg_webhook_tcp_server_8h_source.html new file mode 100644 index 0000000..fd97ff7 --- /dev/null +++ b/docs/_tg_webhook_tcp_server_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgWebhookTcpServer.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgWebhookTcpServer.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_TGWEBHOOKTCPSERVER_H
24 #define TGBOT_TGWEBHOOKTCPSERVER_H
25 
27 
28 namespace TgBot {
29 
34 class TgWebhookTcpServer : public TgWebhookServer<boost::asio::ip::tcp> {
35 
36 public:
37  TgWebhookTcpServer(std::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp>> acceptor, const std::string& path, EventHandler* eventHandler) = delete;
38 
39  TgWebhookTcpServer(unsigned short port, const std::string& path, const EventHandler* eventHandler) :
40  TgWebhookServer(std::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp>>(new boost::asio::ip::tcp::acceptor(_ioService, boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(), port))), path, eventHandler)
41  {
42  }
43 
44  TgWebhookTcpServer(const std::string& path, const Bot& bot) : TgWebhookTcpServer(path, &bot.getEventHandler()) {
45  }
46 };
47 
48 }
49 
50 #endif //TGBOT_TGWEBHOOKTCPSERVER_H
TgWebhookTcpServer(std::shared_ptr< boost::asio::basic_socket_acceptor< boost::asio::ip::tcp >> acceptor, const std::string &path, EventHandler *eventHandler)=delete
+
Definition: Api.h:44
+
TgWebhookTcpServer(const std::string &path, const Bot &bot)
+ + +
Definition: Bot.h:38
+ +
TgWebhookTcpServer(unsigned short port, const std::string &path, const EventHandler *eventHandler)
+ +
boost::asio::io_service _ioService
Definition: HttpServer.h:95
+
+
+ + + + diff --git a/docs/_update_8h.html b/docs/_update_8h.html new file mode 100644 index 0000000..fc1cd47 --- /dev/null +++ b/docs/_update_8h.html @@ -0,0 +1,119 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Update.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Update.h File Reference
+
+
+
#include <memory>
+#include "tgbot/types/Message.h"
+#include "tgbot/types/InlineQuery.h"
+#include "tgbot/types/ChosenInlineResult.h"
+#include "tgbot/types/CallbackQuery.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Update
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_update_8h_source.html b/docs/_update_8h_source.html new file mode 100644 index 0000000..5419e7d --- /dev/null +++ b/docs/_update_8h_source.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Update.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Update.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_UPDATE_H
24 #define TGBOT_CPP_UPDATE_H
25 
26 #include <memory>
27 
28 #include "tgbot/types/Message.h"
32 
33 namespace TgBot {
34 
39 class Update {
40 
41 public:
42  typedef std::shared_ptr<Update> Ptr;
43 
47  int32_t updateId;
48 
53 
58 
63 
68 
73 
78 
83 };
84 
85 }
86 
87 #endif //TGBOT_CPP_UPDATE_H
Message::Ptr channelPost
Definition: Update.h:62
+
int32_t updateId
Definition: Update.h:47
+ +
std::shared_ptr< CallbackQuery > Ptr
Definition: CallbackQuery.h:22
+
Message::Ptr editedMessage
Definition: Update.h:57
+
Message::Ptr editedChannelPost
Definition: Update.h:67
+
std::shared_ptr< Update > Ptr
Definition: Update.h:42
+
Definition: Api.h:44
+ +
InlineQuery::Ptr inlineQuery
Definition: Update.h:72
+ +
std::shared_ptr< Message > Ptr
Definition: Message.h:52
+
std::shared_ptr< ChosenInlineResult > Ptr
+
ChosenInlineResult::Ptr chosenInlineResult
Definition: Update.h:77
+
CallbackQuery::Ptr callbackQuery
Definition: Update.h:82
+ +
std::shared_ptr< InlineQuery > Ptr
Definition: InlineQuery.h:22
+
Message::Ptr message
Definition: Update.h:52
+ +
+
+ + + + diff --git a/docs/_url_8h.html b/docs/_url_8h.html new file mode 100644 index 0000000..8f56cac --- /dev/null +++ b/docs/_url_8h.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/Url.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Url.h File Reference
+
+
+
#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Url
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_url_8h_source.html b/docs/_url_8h_source.html new file mode 100644 index 0000000..b617a52 --- /dev/null +++ b/docs/_url_8h_source.html @@ -0,0 +1,106 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/Url.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Url.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_URL_H
24 #define TGBOT_CPP_URL_H
25 
26 #include <string>
27 
28 namespace TgBot {
29 
34 class Url {
35 
36 public:
37  Url(const std::string& url);
38 
42  std::string protocol;
43 
47  std::string host;
48 
52  std::string path;
53 
57  std::string query;
58 
62  std::string fragment;
63 };
64 
65 }
66 
67 #endif //TGBOT_CPP_URL_H
Url(const std::string &url)
+
Definition: Api.h:44
+
std::string query
Definition: Url.h:57
+
std::string protocol
Definition: Url.h:42
+
std::string fragment
Definition: Url.h:62
+
Definition: Url.h:34
+
std::string path
Definition: Url.h:52
+
std::string host
Definition: Url.h:47
+
+
+ + + + diff --git a/docs/_user_8h.html b/docs/_user_8h.html new file mode 100644 index 0000000..6f40ad3 --- /dev/null +++ b/docs/_user_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/User.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
User.h File Reference
+
+
+
#include <string>
+#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::User
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_user_8h_source.html b/docs/_user_8h_source.html new file mode 100644 index 0000000..f0239a4 --- /dev/null +++ b/docs/_user_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/User.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
User.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_USER_H
24 #define TGBOT_CPP_USER_H
25 
26 #include <string>
27 #include <memory>
28 
29 namespace TgBot {
30 
35 class User {
36 
37 public:
38  typedef std::shared_ptr<User> Ptr;
39 
43  int32_t id;
44 
48  std::string firstName;
49 
53  std::string lastName;
54 
58  std::string username;
59 };
60 
61 }
62 
63 #endif //TGBOT_CPP_USER_H
std::string firstName
Definition: User.h:48
+
Definition: Api.h:44
+
int32_t id
Definition: User.h:43
+
std::string lastName
Definition: User.h:53
+
std::string username
Definition: User.h:58
+ +
std::shared_ptr< User > Ptr
Definition: User.h:38
+
+
+ + + + diff --git a/docs/_user_profile_photos_8h.html b/docs/_user_profile_photos_8h.html new file mode 100644 index 0000000..4f546b4 --- /dev/null +++ b/docs/_user_profile_photos_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/UserProfilePhotos.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
UserProfilePhotos.h File Reference
+
+
+
#include <vector>
+#include <memory>
+#include "tgbot/types/PhotoSize.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::UserProfilePhotos
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_user_profile_photos_8h_source.html b/docs/_user_profile_photos_8h_source.html new file mode 100644 index 0000000..777c682 --- /dev/null +++ b/docs/_user_profile_photos_8h_source.html @@ -0,0 +1,104 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/UserProfilePhotos.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
UserProfilePhotos.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_USERPROFILEPHOTOS_H
24 #define TGBOT_CPP_USERPROFILEPHOTOS_H
25 
26 #include <vector>
27 #include <memory>
28 
29 #include "tgbot/types/PhotoSize.h"
30 
31 namespace TgBot {
32 
38 
39 public:
40  typedef std::shared_ptr<UserProfilePhotos> Ptr;
41 
45  int32_t totalCount;
46 
50  std::vector<std::vector<PhotoSize::Ptr>> photos;
51 };
52 
53 }
54 
55 #endif //TGBOT_CPP_USERPROFILEPHOTOS_H
+
Definition: Api.h:44
+
std::shared_ptr< UserProfilePhotos > Ptr
+ + +
std::vector< std::vector< PhotoSize::Ptr > > photos
+
+
+ + + + diff --git a/docs/_venue_8h.html b/docs/_venue_8h.html new file mode 100644 index 0000000..119672c --- /dev/null +++ b/docs/_venue_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Venue.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Venue.h File Reference
+
+
+
#include <memory>
+#include <string>
+#include "tgbot/types/Location.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Venue
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_venue_8h_source.html b/docs/_venue_8h_source.html new file mode 100644 index 0000000..6af86f0 --- /dev/null +++ b/docs/_venue_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Venue.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Venue.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_VENUE_H
6 #define TGBOT_VENUE_H
7 
8 #include <memory>
9 #include <string>
10 
11 #include "tgbot/types/Location.h"
12 
13 namespace TgBot {
14 
19 class Venue {
20 public:
21  typedef std::shared_ptr<Venue> Ptr;
22 
27 
31  std::string title;
32 
36  std::string address;
37 
41  std::string foursquare_id;
42 };
43 }
44 
45 #endif //TGBOT_VENUE_H
Definition: Api.h:44
+
Location::Ptr location
Definition: Venue.h:26
+
std::shared_ptr< Location > Ptr
Definition: Location.h:37
+ +
std::string foursquare_id
Definition: Venue.h:41
+ +
std::shared_ptr< Venue > Ptr
Definition: Venue.h:21
+
std::string title
Definition: Venue.h:31
+
std::string address
Definition: Venue.h:36
+
+
+ + + + diff --git a/docs/_video_8h.html b/docs/_video_8h.html new file mode 100644 index 0000000..82c993e --- /dev/null +++ b/docs/_video_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Video.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Video.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/PhotoSize.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Video
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_video_8h_source.html b/docs/_video_8h_source.html new file mode 100644 index 0000000..234f73e --- /dev/null +++ b/docs/_video_8h_source.html @@ -0,0 +1,110 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Video.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Video.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_VIDEO_H
24 #define TGBOT_CPP_VIDEO_H
25 
26 #include <string>
27 #include <memory>
28 
29 #include "tgbot/types/PhotoSize.h"
30 
31 namespace TgBot {
32 
37 class Video {
38 
39 public:
40  typedef std::shared_ptr<Video> Ptr;
41 
45  std::string fileId;
46 
50  int32_t width;
51 
55  int32_t height;
56 
60  int32_t duration;
61 
66 
70  std::string mimeType;
71 
75  int32_t fileSize;
76 };
77 
78 }
79 
80 #endif //TGBOT_CPP_VIDEO_H
+
std::string mimeType
Definition: Video.h:70
+
Definition: Api.h:44
+
PhotoSize::Ptr thumb
Definition: Video.h:65
+
int32_t height
Definition: Video.h:55
+
int32_t duration
Definition: Video.h:60
+ +
std::shared_ptr< PhotoSize > Ptr
Definition: PhotoSize.h:38
+
std::shared_ptr< Video > Ptr
Definition: Video.h:40
+
int32_t fileSize
Definition: Video.h:75
+
std::string fileId
Definition: Video.h:45
+
int32_t width
Definition: Video.h:50
+
+
+ + + + diff --git a/docs/_voice_8h.html b/docs/_voice_8h.html new file mode 100644 index 0000000..3e32d6d --- /dev/null +++ b/docs/_voice_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Voice.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Voice.h File Reference
+
+
+
#include <memory>
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Voice
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_voice_8h_source.html b/docs/_voice_8h_source.html new file mode 100644 index 0000000..90a4f38 --- /dev/null +++ b/docs/_voice_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Voice.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Voice.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_VOICE_H
6 #define TGBOT_VOICE_H
7 
8 #include <memory>
9 #include <string>
10 
11 namespace TgBot {
12 
17 class Voice {
18 public:
19  typedef std::shared_ptr<Voice> Ptr;
20 
24  std::string file_id;
25 
29  int32_t duration;
30 
34  std::string mime_type;
35 
39  int32_t file_size;
40 };
41 }
42 
43 #endif //TGBOT_VOICE_H
std::string file_id
Definition: Voice.h:24
+
Definition: Api.h:44
+
int32_t duration
Definition: Voice.h:29
+
int32_t file_size
Definition: Voice.h:39
+
std::shared_ptr< Voice > Ptr
Definition: Voice.h:19
+ +
std::string mime_type
Definition: Voice.h:34
+
+
+ + + + diff --git a/docs/_webhook_info_8h.html b/docs/_webhook_info_8h.html new file mode 100644 index 0000000..e62195a --- /dev/null +++ b/docs/_webhook_info_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/WebhookInfo.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
WebhookInfo.h File Reference
+
+
+
#include <string>
+#include <vector>
+#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::WebhookInfo
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/_webhook_info_8h_source.html b/docs/_webhook_info_8h_source.html new file mode 100644 index 0000000..f3cbbba --- /dev/null +++ b/docs/_webhook_info_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/WebhookInfo.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
WebhookInfo.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_WEBHOOKINFO_H
6 #define TGBOT_WEBHOOKINFO_H
7 
8 #include <string>
9 #include <vector>
10 #include <memory>
11 
12 namespace TgBot {
13 
18 class WebhookInfo {
19 public:
20  typedef std::shared_ptr<WebhookInfo> Ptr;
21 
25  std::string url;
26 
31 
36 
40  int32_t lastErrorDate;
41 
45  std::string lastErrorMessage;
46 
50  int32_t maxConnections;
51 
55  std::vector<std::string> allowedUpdates;
56 };
57 }
58 
59 #endif //TGBOT_WEBHOOKINFO_H
Definition: Api.h:44
+ + +
std::string lastErrorMessage
Definition: WebhookInfo.h:45
+
int32_t lastErrorDate
Definition: WebhookInfo.h:40
+
std::shared_ptr< WebhookInfo > Ptr
Definition: WebhookInfo.h:20
+
int32_t pendingUpdateCount
Definition: WebhookInfo.h:35
+
std::string url
Definition: WebhookInfo.h:25
+
int32_t maxConnections
Definition: WebhookInfo.h:50
+
std::vector< std::string > allowedUpdates
Definition: WebhookInfo.h:55
+
+
+ + + + diff --git a/docs/annotated.html b/docs/annotated.html index 8f7021c..c0a0485 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -85,78 +85,78 @@ $(document).ready(function(){initNavTree('annotated.html','');});
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 123]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 NTgBot
 CApi
 CAudio
 CBot
 CCallbackQuery
 CChat
 CChatMember
 CChosenInlineResult
 CContact
 CDocument
 CEventBroadcaster
 CEventHandler
 CFile
 CForceReply
 CGenericReply
 CHttpClient
 CHttpParser
 CHttpReqArg
 CHttpServer
 CConnection
 CInlineKeyboardButton
 CInlineKeyboardMarkup
 CInlineQuery
 CInlineQueryResult
 CInlineQueryResultArticle
 CInlineQueryResultAudio
 CInlineQueryResultCachedAudio
 CInlineQueryResultCachedDocument
 CInlineQueryResultCachedGif
 CInlineQueryResultCachedMpeg4Gif
 CInlineQueryResultCachedPhoto
 CInlineQueryResultCachedSticker
 CInlineQueryResultCachedVideo
 CInlineQueryResultCachedVoice
 CInlineQueryResultContact
 CInlineQueryResultDocument
 CInlineQueryResultGame
 CInlineQueryResultGif
 CInlineQueryResultLocation
 CInlineQueryResultMpeg4Gif
 CInlineQueryResultPhoto
 CInlineQueryResultVenue
 CInlineQueryResultVideo
 CInlineQueryResultVoice
 CInputContactMessageContent
 CInputFile
 CInputLocationMessageContent
 CInputMessageContent
 CInputTextMessageContent
 CInputVenueMessageContent
 CKeyboardButton
 CLocation
 CMessage
 CMessageEntity
 CPhotoSize
 CReplyKeyboardMarkup
 CReplyKeyboardRemove
 CResponseParameters
 CSticker
 CTgException
 CTgLongPoll
 CTgTypeParser
 CTgWebhookServer
 CTgWebhookTcpServer
 CUpdate
 CUrl
 CUser
 CUserProfilePhotos
 CVenue
 CVideo
 CVoice
 CWebhookInfo
 NTgBot
 CApi
 CAudio
 CBot
 CCallbackQuery
 CChat
 CChatMember
 CChosenInlineResult
 CContact
 CDocument
 CEventBroadcaster
 CEventHandler
 CFile
 CForceReply
 CGenericReply
 CHttpClient
 CHttpParser
 CHttpReqArg
 CHttpServer
 CConnection
 CInlineKeyboardButton
 CInlineKeyboardMarkup
 CInlineQuery
 CInlineQueryResult
 CInlineQueryResultArticle
 CInlineQueryResultAudio
 CInlineQueryResultCachedAudio
 CInlineQueryResultCachedDocument
 CInlineQueryResultCachedGif
 CInlineQueryResultCachedMpeg4Gif
 CInlineQueryResultCachedPhoto
 CInlineQueryResultCachedSticker
 CInlineQueryResultCachedVideo
 CInlineQueryResultCachedVoice
 CInlineQueryResultContact
 CInlineQueryResultDocument
 CInlineQueryResultGame
 CInlineQueryResultGif
 CInlineQueryResultLocation
 CInlineQueryResultMpeg4Gif
 CInlineQueryResultPhoto
 CInlineQueryResultVenue
 CInlineQueryResultVideo
 CInlineQueryResultVoice
 CInputContactMessageContent
 CInputFile
 CInputLocationMessageContent
 CInputMessageContent
 CInputTextMessageContent
 CInputVenueMessageContent
 CKeyboardButton
 CLocation
 CMessage
 CMessageEntity
 CPhotoSize
 CReplyKeyboardMarkup
 CReplyKeyboardRemove
 CResponseParameters
 CSticker
 CTgException
 CTgLongPoll
 CTgTypeParser
 CTgWebhookServer
 CTgWebhookTcpServer
 CUpdate
 CUrl
 CUser
 CUserProfilePhotos
 CVenue
 CVideo
 CVoice
 CWebhookInfo
@@ -164,7 +164,7 @@ $(document).ready(function(){initNavTree('annotated.html','');});