diff options
Diffstat (limited to 'docs/class_tg_bot_1_1_callback_query.html')
-rw-r--r-- | docs/class_tg_bot_1_1_callback_query.html | 270 |
1 files changed, 270 insertions, 0 deletions
diff --git a/docs/class_tg_bot_1_1_callback_query.html b/docs/class_tg_bot_1_1_callback_query.html new file mode 100644 index 0000000..202d048 --- /dev/null +++ b/docs/class_tg_bot_1_1_callback_query.html @@ -0,0 +1,270 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.13"/> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>tgbot-cpp: TgBot::CallbackQuery Class Reference</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtreedata.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> + $(document).ready(initResizable); +</script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/searchdata.js"></script> +<script type="text/javascript" src="search/search.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">tgbot-cpp + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.13 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +$(function() { + initMenu('',true,false,'search.php','Search'); + $(document).ready(function() { init_search(); }); +}); +</script> +<div id="main-nav"></div> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + <div id="nav-sync" class="sync"></div> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +$(document).ready(function(){initNavTree('class_tg_bot_1_1_callback_query.html','');}); +</script> +<div id="doc-content"> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div class="header"> + <div class="summary"> +<a href="#pub-types">Public Types</a> | +<a href="#pub-attribs">Public Attributes</a> | +<a href="class_tg_bot_1_1_callback_query-members.html">List of all members</a> </div> + <div class="headertitle"> +<div class="title">TgBot::CallbackQuery Class Reference<div class="ingroups"><a class="el" href="group__types.html">Types</a></div></div> </div> +</div><!--header--> +<div class="contents"> + +<p><code>#include <<a class="el" href="_callback_query_8h_source.html">CallbackQuery.h</a>></code></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> +Public Types</h2></td></tr> +<tr class="memitem:a5a5e4f8368bd95ba214e68cde5d1c7c0"><td class="memItemLeft" align="right" valign="top">typedef std::shared_ptr< <a class="el" href="class_tg_bot_1_1_callback_query.html">CallbackQuery</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_callback_query.html#a5a5e4f8368bd95ba214e68cde5d1c7c0">Ptr</a></td></tr> +<tr class="separator:a5a5e4f8368bd95ba214e68cde5d1c7c0"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> +Public Attributes</h2></td></tr> +<tr class="memitem:ae9a9b23ba076f2c6d6ba4421de85f7df"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_callback_query.html#ae9a9b23ba076f2c6d6ba4421de85f7df">id</a></td></tr> +<tr class="separator:ae9a9b23ba076f2c6d6ba4421de85f7df"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a355ff7d9025603af780a63be540da901"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_tg_bot_1_1_user.html#ae6ea24aef677abaaf0fd7d60adf5be79">User::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_callback_query.html#a355ff7d9025603af780a63be540da901">from</a></td></tr> +<tr class="separator:a355ff7d9025603af780a63be540da901"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a4d36cf008195c0b9b95d2ad7c8561795"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_callback_query.html#a4d36cf008195c0b9b95d2ad7c8561795">message</a></td></tr> +<tr class="separator:a4d36cf008195c0b9b95d2ad7c8561795"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1565d380d5aa70d2304f572e5b56a24e"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_callback_query.html#a1565d380d5aa70d2304f572e5b56a24e">inlineMessageId</a></td></tr> +<tr class="separator:a1565d380d5aa70d2304f572e5b56a24e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1c60e74159327d5e9e686f4a1278a373"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_callback_query.html#a1c60e74159327d5e9e686f4a1278a373">chatInstance</a></td></tr> +<tr class="separator:a1c60e74159327d5e9e686f4a1278a373"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9247402a210f4df79cf044683fb66734"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_callback_query.html#a9247402a210f4df79cf044683fb66734">data</a></td></tr> +<tr class="separator:a9247402a210f4df79cf044683fb66734"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ab2547a0ea44c8a39f351354335082234"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_callback_query.html#ab2547a0ea44c8a39f351354335082234">gameShortName</a></td></tr> +<tr class="separator:ab2547a0ea44c8a39f351354335082234"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> +<div class="textblock"><p>This object represents an incoming callback query from a callback button in an inline keyboard. </p> + +<p class="definition">Definition at line <a class="el" href="_callback_query_8h_source.html#l00020">20</a> of file <a class="el" href="_callback_query_8h_source.html">CallbackQuery.h</a>.</p> +</div><h2 class="groupheader">Member Typedef Documentation</h2> +<a id="a5a5e4f8368bd95ba214e68cde5d1c7c0"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a5a5e4f8368bd95ba214e68cde5d1c7c0">◆ </a></span>Ptr</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef std::shared_ptr<<a class="el" href="class_tg_bot_1_1_callback_query.html">CallbackQuery</a>> <a class="el" href="class_tg_bot_1_1_callback_query.html#a5a5e4f8368bd95ba214e68cde5d1c7c0">TgBot::CallbackQuery::Ptr</a></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_callback_query_8h_source.html#l00022">22</a> of file <a class="el" href="_callback_query_8h_source.html">CallbackQuery.h</a>.</p> + +</div> +</div> +<h2 class="groupheader">Member Data Documentation</h2> +<a id="a1c60e74159327d5e9e686f4a1278a373"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a1c60e74159327d5e9e686f4a1278a373">◆ </a></span>chatInstance</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string TgBot::CallbackQuery::chatInstance</td> + </tr> + </table> +</div><div class="memdoc"> +<p>Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games. </p> + +<p class="definition">Definition at line <a class="el" href="_callback_query_8h_source.html#l00047">47</a> of file <a class="el" href="_callback_query_8h_source.html">CallbackQuery.h</a>.</p> + +</div> +</div> +<a id="a9247402a210f4df79cf044683fb66734"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a9247402a210f4df79cf044683fb66734">◆ </a></span>data</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string TgBot::CallbackQuery::data</td> + </tr> + </table> +</div><div class="memdoc"> +<p>Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field. </p> + +<p class="definition">Definition at line <a class="el" href="_callback_query_8h_source.html#l00052">52</a> of file <a class="el" href="_callback_query_8h_source.html">CallbackQuery.h</a>.</p> + +</div> +</div> +<a id="a355ff7d9025603af780a63be540da901"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a355ff7d9025603af780a63be540da901">◆ </a></span>from</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="class_tg_bot_1_1_user.html#ae6ea24aef677abaaf0fd7d60adf5be79">User::Ptr</a> TgBot::CallbackQuery::from</td> + </tr> + </table> +</div><div class="memdoc"> +<p>Sender. </p> + +<p class="definition">Definition at line <a class="el" href="_callback_query_8h_source.html#l00032">32</a> of file <a class="el" href="_callback_query_8h_source.html">CallbackQuery.h</a>.</p> + +</div> +</div> +<a id="ab2547a0ea44c8a39f351354335082234"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ab2547a0ea44c8a39f351354335082234">◆ </a></span>gameShortName</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string TgBot::CallbackQuery::gameShortName</td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_callback_query_8h_source.html#l00057">57</a> of file <a class="el" href="_callback_query_8h_source.html">CallbackQuery.h</a>.</p> + +</div> +</div> +<a id="ae9a9b23ba076f2c6d6ba4421de85f7df"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ae9a9b23ba076f2c6d6ba4421de85f7df">◆ </a></span>id</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string TgBot::CallbackQuery::id</td> + </tr> + </table> +</div><div class="memdoc"> +<p>Unique identifier for this query. </p> + +<p class="definition">Definition at line <a class="el" href="_callback_query_8h_source.html#l00027">27</a> of file <a class="el" href="_callback_query_8h_source.html">CallbackQuery.h</a>.</p> + +</div> +</div> +<a id="a1565d380d5aa70d2304f572e5b56a24e"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a1565d380d5aa70d2304f572e5b56a24e">◆ </a></span>inlineMessageId</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string TgBot::CallbackQuery::inlineMessageId</td> + </tr> + </table> +</div><div class="memdoc"> +<p>Optional. Identifier of the message sent via the bot in inline mode, that originated the query. </p> + +<p class="definition">Definition at line <a class="el" href="_callback_query_8h_source.html#l00042">42</a> of file <a class="el" href="_callback_query_8h_source.html">CallbackQuery.h</a>.</p> + +</div> +</div> +<a id="a4d36cf008195c0b9b95d2ad7c8561795"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a4d36cf008195c0b9b95d2ad7c8561795">◆ </a></span>message</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> TgBot::CallbackQuery::message</td> + </tr> + </table> +</div><div class="memdoc"> +<p>Optional. <a class="el" href="class_tg_bot_1_1_message.html">Message</a> with the callback button that originated the query. Note that message content and message date will not be available if the message is too old. </p> + +<p class="definition">Definition at line <a class="el" href="_callback_query_8h_source.html#l00037">37</a> of file <a class="el" href="_callback_query_8h_source.html">CallbackQuery.h</a>.</p> + +</div> +</div> +<hr/>The documentation for this class was generated from the following file:<ul> +<li>include/tgbot/types/<a class="el" href="_callback_query_8h_source.html">CallbackQuery.h</a></li> +</ul> +</div><!-- contents --> +</div><!-- doc-content --> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="namespace_tg_bot.html">TgBot</a></li><li class="navelem"><a class="el" href="class_tg_bot_1_1_callback_query.html">CallbackQuery</a></li> + <li class="footer">Generated on Sun Jan 15 2017 02:46:16 for tgbot-cpp by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> + </ul> +</div> +</body> +</html> |