From b22c20c4db8c35eaee99075d055f74697c5805b8 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:33:59 +0300 Subject: Docs --- 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 0 -> 11424 bytes 21 files changed, 2317 insertions(+) create mode 100644 docs/dd/d05/class_tg_bot_1_1_chat_member.html create mode 100644 docs/dd/d05/class_tg_bot_1_1_chat_member.js create mode 100644 docs/dd/d2e/class_tg_bot_1_1_voice-members.html create mode 100644 docs/dd/d31/class_tg_bot_1_1_input_venue_message_content-members.html create mode 100644 docs/dd/d38/class_tg_bot_1_1_input_text_message_content-members.html create mode 100644 docs/dd/d3b/_inline_query_result_cached_video_8h.html create mode 100644 docs/dd/d3b/_inline_query_result_cached_video_8h_source.html create mode 100644 docs/dd/d7e/class_tg_bot_1_1_message_entity.html create mode 100644 docs/dd/d7e/class_tg_bot_1_1_message_entity.js create mode 100644 docs/dd/d95/_tg_long_poll_8h.html create mode 100644 docs/dd/d95/_tg_long_poll_8h_source.html create mode 100644 docs/dd/d98/class_tg_bot_1_1_update-members.html create mode 100644 docs/dd/dbe/class_tg_bot_1_1_file.html create mode 100644 docs/dd/dbe/class_tg_bot_1_1_file.js create mode 100644 docs/dd/def/_inline_query_result_location_8h.html create mode 100644 docs/dd/def/_inline_query_result_location_8h_source.html create mode 100644 docs/dd/df6/_inline_query_result_game_8h.html create mode 100644 docs/dd/df6/_inline_query_result_game_8h_source.html create mode 100644 docs/dd/dfd/class_tg_bot_1_1_inline_query_result.html create mode 100644 docs/dd/dfd/class_tg_bot_1_1_inline_query_result.js create mode 100644 docs/dd/dfd/class_tg_bot_1_1_inline_query_result.png (limited to 'docs/dd') diff --git a/docs/dd/d05/class_tg_bot_1_1_chat_member.html b/docs/dd/d05/class_tg_bot_1_1_chat_member.html new file mode 100644 index 0000000..782a8b3 --- /dev/null +++ b/docs/dd/d05/class_tg_bot_1_1_chat_member.html @@ -0,0 +1,176 @@ + + + + + + + +tgbot-cpp: TgBot::ChatMember Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::ChatMember Class Reference
+
+
+ +

#include <ChatMember.h>

+ + + + +

+Public Types

typedef std::shared_ptr< ChatMemberPtr
 
+ + + + + +

+Public Attributes

User::Ptr user
 
std::string status
 
+

Detailed Description

+

This object contains information about one member of the chat.

+ +

Definition at line 19 of file ChatMember.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ + + + +
typedef std::shared_ptr<ChatMember> TgBot::ChatMember::Ptr
+
+ +

Definition at line 21 of file ChatMember.h.

+ +
+
+

Member Data Documentation

+ +

◆ status

+ +
+
+ + + + +
std::string TgBot::ChatMember::status
+
+

The member's status in the chat. Can be “creator”, “administrator”, “member”, “left” or “kicked”

+ +

Definition at line 31 of file ChatMember.h.

+ +
+
+ +

◆ user

+ +
+
+ + + + +
User::Ptr TgBot::ChatMember::user
+
+

Information about the user

+ +

Definition at line 26 of file ChatMember.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/dd/d05/class_tg_bot_1_1_chat_member.js b/docs/dd/d05/class_tg_bot_1_1_chat_member.js new file mode 100644 index 0000000..0cf58f5 --- /dev/null +++ b/docs/dd/d05/class_tg_bot_1_1_chat_member.js @@ -0,0 +1,6 @@ +var class_tg_bot_1_1_chat_member = +[ + [ "Ptr", "dd/d05/class_tg_bot_1_1_chat_member.html#a7c14c867a129ac28396b680c79dc495d", null ], + [ "status", "dd/d05/class_tg_bot_1_1_chat_member.html#a373057cf2fcca9ecb49951a5e61a6666", null ], + [ "user", "dd/d05/class_tg_bot_1_1_chat_member.html#a1a1cefdfec4a60bd6ba1e588edad9aa1", null ] +]; \ No newline at end of file diff --git a/docs/dd/d2e/class_tg_bot_1_1_voice-members.html b/docs/dd/d2e/class_tg_bot_1_1_voice-members.html new file mode 100644 index 0000000..5ef2452 --- /dev/null +++ b/docs/dd/d2e/class_tg_bot_1_1_voice-members.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::Voice Member List
+
+
+ +

This is the complete list of members for TgBot::Voice, including all inherited members.

+ + + + + + +
durationTgBot::Voice
file_idTgBot::Voice
file_sizeTgBot::Voice
mime_typeTgBot::Voice
Ptr typedefTgBot::Voice
+
+ + + + diff --git a/docs/dd/d31/class_tg_bot_1_1_input_venue_message_content-members.html b/docs/dd/d31/class_tg_bot_1_1_input_venue_message_content-members.html new file mode 100644 index 0000000..74e06f5 --- /dev/null +++ b/docs/dd/d31/class_tg_bot_1_1_input_venue_message_content-members.html @@ -0,0 +1,111 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InputVenueMessageContent Member List
+
+ +
+ + + + diff --git a/docs/dd/d38/class_tg_bot_1_1_input_text_message_content-members.html b/docs/dd/d38/class_tg_bot_1_1_input_text_message_content-members.html new file mode 100644 index 0000000..cdb962f --- /dev/null +++ b/docs/dd/d38/class_tg_bot_1_1_input_text_message_content-members.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InputTextMessageContent Member List
+
+ +
+ + + + diff --git a/docs/dd/d3b/_inline_query_result_cached_video_8h.html b/docs/dd/d3b/_inline_query_result_cached_video_8h.html new file mode 100644 index 0000000..e5e5429 --- /dev/null +++ b/docs/dd/d3b/_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/dd/d3b/_inline_query_result_cached_video_8h_source.html b/docs/dd/d3b/_inline_query_result_cached_video_8h_source.html new file mode 100644 index 0000000..0b669ba --- /dev/null +++ b/docs/dd/d3b/_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/dd/d7e/class_tg_bot_1_1_message_entity.html b/docs/dd/d7e/class_tg_bot_1_1_message_entity.html new file mode 100644 index 0000000..a1ffae5 --- /dev/null +++ b/docs/dd/d7e/class_tg_bot_1_1_message_entity.html @@ -0,0 +1,233 @@ + + + + + + + +tgbot-cpp: TgBot::MessageEntity Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::MessageEntity Class Reference
+
+
+ +

#include <MessageEntity.h>

+ + + + +

+Public Types

typedef std::shared_ptr< MessageEntityPtr
 
+ + + + + + + + + + + +

+Public Attributes

std::string type
 
int32_t offset
 
int32_t length
 
std::string url
 
User::Ptr user
 
+

Detailed Description

+

This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.

+ +

Definition at line 18 of file MessageEntity.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ + + + +
typedef std::shared_ptr<MessageEntity> TgBot::MessageEntity::Ptr
+
+ +

Definition at line 20 of file MessageEntity.h.

+ +
+
+

Member Data Documentation

+ +

◆ length

+ +
+
+ + + + +
int32_t TgBot::MessageEntity::length
+
+

Length of the entity in UTF-16 code units

+ +

Definition at line 35 of file MessageEntity.h.

+ +
+
+ +

◆ offset

+ +
+
+ + + + +
int32_t TgBot::MessageEntity::offset
+
+

Offset in UTF-16 code units to the start of the entity.

+ +

Definition at line 30 of file MessageEntity.h.

+ +
+
+ +

◆ type

+ +
+
+ + + + +
std::string TgBot::MessageEntity::type
+
+

Type of the entity. One of mention (), hashtag, bot_command, url, email, bold (bold text), italic (italic text), code (monowidth string), pre (monowidth block), text_link (for clickable text URLs).

+ +

Definition at line 25 of file MessageEntity.h.

+ +
+
+ +

◆ url

+ +
+
+ + + + +
std::string TgBot::MessageEntity::url
+
+

Optional. For “text_link†only, url that will be opened after user taps on the text

+ +

Definition at line 40 of file MessageEntity.h.

+ +
+
+ +

◆ user

+ +
+
+ + + + +
User::Ptr TgBot::MessageEntity::user
+
+

Optional. For “text_mention†only, the mentioned user

+ +

Definition at line 45 of file MessageEntity.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/dd/d7e/class_tg_bot_1_1_message_entity.js b/docs/dd/d7e/class_tg_bot_1_1_message_entity.js new file mode 100644 index 0000000..eb35d50 --- /dev/null +++ b/docs/dd/d7e/class_tg_bot_1_1_message_entity.js @@ -0,0 +1,9 @@ +var class_tg_bot_1_1_message_entity = +[ + [ "Ptr", "dd/d7e/class_tg_bot_1_1_message_entity.html#a6710ffdbafba909633df7bcd8c488da0", null ], + [ "length", "dd/d7e/class_tg_bot_1_1_message_entity.html#a3f41be5fd732173bd84093df20a58e38", null ], + [ "offset", "dd/d7e/class_tg_bot_1_1_message_entity.html#aad8da7260ae4360536a0a461e6c5b628", null ], + [ "type", "dd/d7e/class_tg_bot_1_1_message_entity.html#adec4d61f5859cb0384e84dbe18988d78", null ], + [ "url", "dd/d7e/class_tg_bot_1_1_message_entity.html#a2cf6b38ee3116a4589d5f8263e53c51f", null ], + [ "user", "dd/d7e/class_tg_bot_1_1_message_entity.html#affef16e94f7f3382260b85c66726bc48", null ] +]; \ No newline at end of file diff --git a/docs/dd/d95/_tg_long_poll_8h.html b/docs/dd/d95/_tg_long_poll_8h.html new file mode 100644 index 0000000..b8ee17e --- /dev/null +++ b/docs/dd/d95/_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/dd/d95/_tg_long_poll_8h_source.html b/docs/dd/d95/_tg_long_poll_8h_source.html new file mode 100644 index 0000000..b234dbb --- /dev/null +++ b/docs/dd/d95/_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/dd/d98/class_tg_bot_1_1_update-members.html b/docs/dd/d98/class_tg_bot_1_1_update-members.html new file mode 100644 index 0000000..687de57 --- /dev/null +++ b/docs/dd/d98/class_tg_bot_1_1_update-members.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::Update Member List
+
+ +
+ + + + diff --git a/docs/dd/dbe/class_tg_bot_1_1_file.html b/docs/dd/dbe/class_tg_bot_1_1_file.html new file mode 100644 index 0000000..5170b07 --- /dev/null +++ b/docs/dd/dbe/class_tg_bot_1_1_file.html @@ -0,0 +1,195 @@ + + + + + + + +tgbot-cpp: TgBot::File Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::File Class Reference
+
+
+ +

#include <File.h>

+ + + + +

+Public Types

typedef std::shared_ptr< FilePtr
 
+ + + + + + + +

+Public Attributes

std::string fileId
 
int32_t fileSize
 
std::string filePath
 
+

Detailed Description

+

This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile. Maximum file size to download is 20 MB

+ +

Definition at line 21 of file File.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ + + + +
typedef std::shared_ptr<File> TgBot::File::Ptr
+
+ +

Definition at line 24 of file File.h.

+ +
+
+

Member Data Documentation

+ +

◆ fileId

+ +
+
+ + + + +
std::string TgBot::File::fileId
+
+

Unique identifier for this file

+ +

Definition at line 29 of file File.h.

+ +
+
+ +

◆ filePath

+ +
+
+ + + + +
std::string TgBot::File::filePath
+
+

Optional. File path. Use https://api.telegram.org/file/bot<token>/<file_path> to get the file.

+ +

Definition at line 40 of file File.h.

+ +
+
+ +

◆ fileSize

+ +
+
+ + + + +
int32_t TgBot::File::fileSize
+
+

Optional. File size, if known

+ +

Definition at line 34 of file File.h.

+ +
+
+
The documentation for this class was generated from the following file:
    +
  • include/tgbot/types/File.h
  • +
+
+
+ + + + diff --git a/docs/dd/dbe/class_tg_bot_1_1_file.js b/docs/dd/dbe/class_tg_bot_1_1_file.js new file mode 100644 index 0000000..2847fd7 --- /dev/null +++ b/docs/dd/dbe/class_tg_bot_1_1_file.js @@ -0,0 +1,7 @@ +var class_tg_bot_1_1_file = +[ + [ "Ptr", "dd/dbe/class_tg_bot_1_1_file.html#ac47e9c73b9d762eef2322c0932c5a934", null ], + [ "fileId", "dd/dbe/class_tg_bot_1_1_file.html#a0e64b7f89b84e674ea890399ea27dd6e", null ], + [ "filePath", "dd/dbe/class_tg_bot_1_1_file.html#ad1abfaf438998878eee537fc82b4bb6e", null ], + [ "fileSize", "dd/dbe/class_tg_bot_1_1_file.html#a1c4a6f8d51e846ec75d15ffa2c5d1445", null ] +]; \ No newline at end of file diff --git a/docs/dd/def/_inline_query_result_location_8h.html b/docs/dd/def/_inline_query_result_location_8h.html new file mode 100644 index 0000000..8ee3130 --- /dev/null +++ b/docs/dd/def/_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/dd/def/_inline_query_result_location_8h_source.html b/docs/dd/def/_inline_query_result_location_8h_source.html new file mode 100644 index 0000000..e5fae16 --- /dev/null +++ b/docs/dd/def/_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/dd/df6/_inline_query_result_game_8h.html b/docs/dd/df6/_inline_query_result_game_8h.html new file mode 100644 index 0000000..1c1a229 --- /dev/null +++ b/docs/dd/df6/_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/dd/df6/_inline_query_result_game_8h_source.html b/docs/dd/df6/_inline_query_result_game_8h_source.html new file mode 100644 index 0000000..785ca1f --- /dev/null +++ b/docs/dd/df6/_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/dd/dfd/class_tg_bot_1_1_inline_query_result.html b/docs/dd/dfd/class_tg_bot_1_1_inline_query_result.html new file mode 100644 index 0000000..b0a75f6 --- /dev/null +++ b/docs/dd/dfd/class_tg_bot_1_1_inline_query_result.html @@ -0,0 +1,343 @@ + + + + + + + +tgbot-cpp: TgBot::InlineQueryResult Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::InlineQueryResult Class Reference
+
+
+ +

#include <InlineQueryResult.h>

+
+Inheritance diagram for TgBot::InlineQueryResult:
+
+
+ + +TgBot::InlineQueryResultArticle +TgBot::InlineQueryResultAudio +TgBot::InlineQueryResultCachedAudio +TgBot::InlineQueryResultCachedDocument +TgBot::InlineQueryResultCachedGif +TgBot::InlineQueryResultCachedMpeg4Gif +TgBot::InlineQueryResultCachedPhoto +TgBot::InlineQueryResultCachedSticker +TgBot::InlineQueryResultCachedVideo +TgBot::InlineQueryResultCachedVoice +TgBot::InlineQueryResultContact +TgBot::InlineQueryResultDocument +TgBot::InlineQueryResultGame +TgBot::InlineQueryResultGif +TgBot::InlineQueryResultLocation +TgBot::InlineQueryResultMpeg4Gif +TgBot::InlineQueryResultPhoto +TgBot::InlineQueryResultVenue +TgBot::InlineQueryResultVideo +TgBot::InlineQueryResultVoice + +
+ + + + +

+Public Types

typedef std::shared_ptr< InlineQueryResultPtr
 
+ + + + + +

+Public Member Functions

 InlineQueryResult ()
 
virtual ~InlineQueryResult ()
 
+ + + + + + + + + + + + + +

+Public Attributes

std::string type
 
std::string id
 
std::string title
 
std::string caption
 
InlineKeyboardMarkup::Ptr replyMarkup
 
InputMessageContent::Ptr inputMessageContent
 
+

Detailed Description

+

This abstract class is base of all inline query results.

+ +

Definition at line 20 of file InlineQueryResult.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ + + + +
typedef std::shared_ptr<InlineQueryResult> TgBot::InlineQueryResult::Ptr
+
+ +

Definition at line 22 of file InlineQueryResult.h.

+ +
+
+

Constructor & Destructor Documentation

+ +

◆ InlineQueryResult()

+ +
+
+ + + + + +
+ + + + + + + +
TgBot::InlineQueryResult::InlineQueryResult ()
+
+inline
+
+ +

Definition at line 24 of file InlineQueryResult.h.

+ +
+
+ +

◆ ~InlineQueryResult()

+ +
+
+ + + + + +
+ + + + + + + +
virtual TgBot::InlineQueryResult::~InlineQueryResult ()
+
+inlinevirtual
+
+ +

Definition at line 28 of file InlineQueryResult.h.

+ +
+
+

Member Data Documentation

+ +

◆ caption

+ +
+
+ + + + +
std::string TgBot::InlineQueryResult::caption
+
+

Optional or missing. See description of derived classes. Caption of the file to be sent, 0-200 characters

+ +

Definition at line 48 of file InlineQueryResult.h.

+ +
+
+ +

◆ id

+ +
+
+ + + + +
std::string TgBot::InlineQueryResult::id
+
+

Unique identifier for this result. (1-64 bytes)

+ +

Definition at line 38 of file InlineQueryResult.h.

+ +
+
+ +

◆ inputMessageContent

+ +
+
+ + + + +
InputMessageContent::Ptr TgBot::InlineQueryResult::inputMessageContent
+
+

Requred, optional or missing. See description of derived classes. Content of the message to be sent

+ +

Definition at line 58 of file InlineQueryResult.h.

+ +
+
+ +

◆ replyMarkup

+ +
+
+ + + + +
InlineKeyboardMarkup::Ptr TgBot::InlineQueryResult::replyMarkup
+
+

Optional. Inline keyboard attached to the message

+ +

Definition at line 53 of file InlineQueryResult.h.

+ +
+
+ +

◆ title

+ +
+
+ + + + +
std::string TgBot::InlineQueryResult::title
+
+

Requred, optional or missing. See description of derived classes. Title of the result.

+ +

Definition at line 43 of file InlineQueryResult.h.

+ +
+
+ +

◆ type

+ +
+
+ + + + +
std::string TgBot::InlineQueryResult::type
+
+

Type of the result.

+ +

Definition at line 33 of file InlineQueryResult.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/dd/dfd/class_tg_bot_1_1_inline_query_result.js b/docs/dd/dfd/class_tg_bot_1_1_inline_query_result.js new file mode 100644 index 0000000..a69b000 --- /dev/null +++ b/docs/dd/dfd/class_tg_bot_1_1_inline_query_result.js @@ -0,0 +1,12 @@ +var class_tg_bot_1_1_inline_query_result = +[ + [ "Ptr", "dd/dfd/class_tg_bot_1_1_inline_query_result.html#af567dd95c4dae7c4a895e561a97ed4c5", null ], + [ "InlineQueryResult", "dd/dfd/class_tg_bot_1_1_inline_query_result.html#a3d521bee0ec085b4d59d99435ec5d282", null ], + [ "~InlineQueryResult", "dd/dfd/class_tg_bot_1_1_inline_query_result.html#a1adbb76a14ff772aa8e06b26f302ade0", null ], + [ "caption", "dd/dfd/class_tg_bot_1_1_inline_query_result.html#acfc3e23bb91a081e9cbebea3de417f70", null ], + [ "id", "dd/dfd/class_tg_bot_1_1_inline_query_result.html#a75316c8ba9522f44aedb9788584156db", null ], + [ "inputMessageContent", "dd/dfd/class_tg_bot_1_1_inline_query_result.html#ace9850f165c2e823696aab62391b3943", null ], + [ "replyMarkup", "dd/dfd/class_tg_bot_1_1_inline_query_result.html#a5b19b26210f5191e80fc1ed8de9a12a0", null ], + [ "title", "dd/dfd/class_tg_bot_1_1_inline_query_result.html#a1d94f4380732940843c30408fa85f994", null ], + [ "type", "dd/dfd/class_tg_bot_1_1_inline_query_result.html#a264821cb9ed371fc04809effb2ec9bf0", null ] +]; \ No newline at end of file diff --git a/docs/dd/dfd/class_tg_bot_1_1_inline_query_result.png b/docs/dd/dfd/class_tg_bot_1_1_inline_query_result.png new file mode 100644 index 0000000..e12924f Binary files /dev/null and b/docs/dd/dfd/class_tg_bot_1_1_inline_query_result.png differ -- cgit v1.2.3