mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-29 03:33:09 +01:00
Update content of files
This commit is contained in:
parent
9fed0310ed
commit
839f3a96fe
11 changed files with 87 additions and 186 deletions
|
@ -59,6 +59,7 @@ This article describes the full button flow, using the MTProto API. </p>
|
||||||
<a href='/constructor/keyboardButtonUrlAuth'>keyboardButtonUrlAuth</a>#10b78d29 flags:<a href='/type/%23'>#</a> text:<a href='/type/string'>string</a> fwd_text:flags.0?<a href='/type/string'>string</a> url:<a href='/type/string'>string</a> button_id:<a href='/type/int'>int</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
<a href='/constructor/keyboardButtonUrlAuth'>keyboardButtonUrlAuth</a>#10b78d29 flags:<a href='/type/%23'>#</a> text:<a href='/type/string'>string</a> fwd_text:flags.0?<a href='/type/string'>string</a> url:<a href='/type/string'>string</a> button_id:<a href='/type/int'>int</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
||||||
<a href='/constructor/inputKeyboardButtonUrlAuth'>inputKeyboardButtonUrlAuth</a>#d02e7fd4 flags:<a href='/type/%23'>#</a> request_write_access:flags.0?<a href='/constructor/true'>true</a> text:<a href='/type/string'>string</a> fwd_text:flags.1?<a href='/type/string'>string</a> url:<a href='/type/string'>string</a> bot:<a href='/type/InputUser'>InputUser</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
<a href='/constructor/inputKeyboardButtonUrlAuth'>inputKeyboardButtonUrlAuth</a>#d02e7fd4 flags:<a href='/type/%23'>#</a> request_write_access:flags.0?<a href='/constructor/true'>true</a> text:<a href='/type/string'>string</a> fwd_text:flags.1?<a href='/type/string'>string</a> url:<a href='/type/string'>string</a> bot:<a href='/type/InputUser'>InputUser</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
||||||
<a href='/constructor/keyboardButtonRequestPoll'>keyboardButtonRequestPoll</a>#bbc7515d flags:<a href='/type/%23'>#</a> quiz:flags.0?<a href='/type/Bool'>Bool</a> text:<a href='/type/string'>string</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
<a href='/constructor/keyboardButtonRequestPoll'>keyboardButtonRequestPoll</a>#bbc7515d flags:<a href='/type/%23'>#</a> quiz:flags.0?<a href='/type/Bool'>Bool</a> text:<a href='/type/string'>string</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
||||||
|
<a href='/constructor/keyboardButtonRequestPeer'>keyboardButtonRequestPeer</a>#0d0b468c text:<a href='/type/string'>string</a> button_id:<a href='/type/int'>int</a> peer_type:<a href='/type/RequestPeerType'>RequestPeerType</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
||||||
|
|
||||||
<a href='/constructor/keyboardButtonRow'>keyboardButtonRow</a>#77608b83 buttons:<a href='/type/Vector%20t'>Vector</a><<a href='/type/KeyboardButton'>KeyboardButton</a>> = <a href='/type/KeyboardButtonRow'>KeyboardButtonRow</a>;
|
<a href='/constructor/keyboardButtonRow'>keyboardButtonRow</a>#77608b83 buttons:<a href='/type/Vector%20t'>Vector</a><<a href='/type/KeyboardButton'>KeyboardButton</a>> = <a href='/type/KeyboardButtonRow'>KeyboardButtonRow</a>;
|
||||||
|
|
||||||
|
@ -80,7 +81,17 @@ This article describes the full button flow, using the MTProto API. </p>
|
||||||
<li><a href="/constructor/replyInlineMarkup">replyInlineMarkup</a> - Attaches an <a href="/bots/features#inline-keyboards">inline keyboard</a> to the message, allowing users to send callback data to the bot without sending actual messages to the current chat.</li>
|
<li><a href="/constructor/replyInlineMarkup">replyInlineMarkup</a> - Attaches an <a href="/bots/features#inline-keyboards">inline keyboard</a> to the message, allowing users to send callback data to the bot without sending actual messages to the current chat.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3><a class="anchor" href="#pressing-buttons" id="pressing-buttons" name="pressing-buttons"><i class="anchor-icon"></i></a>Pressing buttons</h3>
|
<h3><a class="anchor" href="#pressing-buttons" id="pressing-buttons" name="pressing-buttons"><i class="anchor-icon"></i></a>Pressing buttons</h3>
|
||||||
<pre><code><a href='/constructor/keyboardButton'>keyboardButton</a>#a2fa4880 text:<a href='/type/string'>string</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
<pre><code><a href='/constructor/requestPeerTypeUser'>requestPeerTypeUser</a>#5f3b8a00 flags:<a href='/type/%23'>#</a> bot:flags.0?<a href='/type/Bool'>Bool</a> premium:flags.1?<a href='/type/Bool'>Bool</a> = <a href='/type/RequestPeerType'>RequestPeerType</a>;
|
||||||
|
<a href='/constructor/requestPeerTypeChat'>requestPeerTypeChat</a>#c9f06e1b flags:<a href='/type/%23'>#</a> creator:flags.0?<a href='/constructor/true'>true</a> bot_participant:flags.5?<a href='/constructor/true'>true</a> has_username:flags.3?<a href='/type/Bool'>Bool</a> forum:flags.4?<a href='/type/Bool'>Bool</a> user_admin_rights:flags.1?<a href='/type/ChatAdminRights'>ChatAdminRights</a> bot_admin_rights:flags.2?<a href='/type/ChatAdminRights'>ChatAdminRights</a> = <a href='/type/RequestPeerType'>RequestPeerType</a>;
|
||||||
|
<a href='/constructor/requestPeerTypeBroadcast'>requestPeerTypeBroadcast</a>#339bef6c flags:<a href='/type/%23'>#</a> creator:flags.0?<a href='/constructor/true'>true</a> has_username:flags.3?<a href='/type/Bool'>Bool</a> user_admin_rights:flags.1?<a href='/type/ChatAdminRights'>ChatAdminRights</a> bot_admin_rights:flags.2?<a href='/type/ChatAdminRights'>ChatAdminRights</a> = <a href='/type/RequestPeerType'>RequestPeerType</a>;
|
||||||
|
|
||||||
|
<a href='/constructor/keyboardButtonRequestPeer'>keyboardButtonRequestPeer</a>#0d0b468c text:<a href='/type/string'>string</a> button_id:<a href='/type/int'>int</a> peer_type:<a href='/type/RequestPeerType'>RequestPeerType</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
||||||
|
|
||||||
|
<a href='/constructor/messages.sendBotRequestedPeer'>messages.sendBotRequestedPeer</a>#fe38d01b peer:<a href='/type/InputPeer'>InputPeer</a> msg_id:<a href='/type/int'>int</a> button_id:<a href='/type/int'>int</a> requested_peer:<a href='/type/InputPeer'>InputPeer</a> = <a href='/type/Updates'>Updates</a>;
|
||||||
|
|
||||||
|
<a href='/constructor/messageActionRequestedPeer'>messageActionRequestedPeer</a>#fe77345d button_id:<a href='/type/int'>int</a> peer:<a href='/type/Peer'>Peer</a> = <a href='/type/MessageAction'>MessageAction</a>;
|
||||||
|
|
||||||
|
<a href='/constructor/keyboardButton'>keyboardButton</a>#a2fa4880 text:<a href='/type/string'>string</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
||||||
<a href='/constructor/keyboardButtonUrl'>keyboardButtonUrl</a>#258aff05 text:<a href='/type/string'>string</a> url:<a href='/type/string'>string</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
<a href='/constructor/keyboardButtonUrl'>keyboardButtonUrl</a>#258aff05 text:<a href='/type/string'>string</a> url:<a href='/type/string'>string</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
||||||
<a href='/constructor/keyboardButtonCallback'>keyboardButtonCallback</a>#35bbdb6b flags:<a href='/type/%23'>#</a> requires_password:flags.0?<a href='/constructor/true'>true</a> text:<a href='/type/string'>string</a> data:<a href='/type/bytes'>bytes</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
<a href='/constructor/keyboardButtonCallback'>keyboardButtonCallback</a>#35bbdb6b flags:<a href='/type/%23'>#</a> requires_password:flags.0?<a href='/constructor/true'>true</a> text:<a href='/type/string'>string</a> data:<a href='/type/bytes'>bytes</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
||||||
<a href='/constructor/keyboardButtonRequestPhone'>keyboardButtonRequestPhone</a>#b16a6c29 text:<a href='/type/string'>string</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
<a href='/constructor/keyboardButtonRequestPhone'>keyboardButtonRequestPhone</a>#b16a6c29 text:<a href='/type/string'>string</a> = <a href='/type/KeyboardButton'>KeyboardButton</a>;
|
||||||
|
@ -102,7 +113,8 @@ Each row can have a different number of columns, and user clients should properl
|
||||||
<li><a href="/constructor/keyboardButton">keyboardButton</a> - Send a message to the chat, replying to the message that attached the <a href="/bots/features#keyboards">reply keyboard</a></li>
|
<li><a href="/constructor/keyboardButton">keyboardButton</a> - Send a message to the chat, replying to the message that attached the <a href="/bots/features#keyboards">reply keyboard</a></li>
|
||||||
<li><a href="/constructor/keyboardButtonRequestPhone">keyboardButtonRequestPhone</a> - Only in private chats, send the current user's contact to the chat, replying to the message that attached the <a href="/bots/features#keyboards">reply keyboard</a></li>
|
<li><a href="/constructor/keyboardButtonRequestPhone">keyboardButtonRequestPhone</a> - Only in private chats, send the current user's contact to the chat, replying to the message that attached the <a href="/bots/features#keyboards">reply keyboard</a></li>
|
||||||
<li><a href="/constructor/keyboardButtonRequestGeoLocation">keyboardButtonRequestGeoLocation</a> - Only in private chats, send the current user's geolocation to the chat, replying to the message that attached the <a href="/bots/features#keyboards">reply keyboard</a></li>
|
<li><a href="/constructor/keyboardButtonRequestGeoLocation">keyboardButtonRequestGeoLocation</a> - Only in private chats, send the current user's geolocation to the chat, replying to the message that attached the <a href="/bots/features#keyboards">reply keyboard</a></li>
|
||||||
<li><a href="/constructor/keyboardButtonRequestPoll">keyboardButtonRequestPoll</a> - Only in private chats, prompt the user to create and send a <a href="/api/poll">poll</a> (or a quiz poll, depending on the <code>quiz</code> flag), replying to the message that attached the <a href="/bots/features#keyboards">reply keyboard</a></li>
|
<li><a href="/constructor/keyboardButtonRequestPoll">keyboardButtonRequestPoll</a> - Only in private chats, prompts the user to create and send a <a href="/api/poll">poll</a> (or a quiz poll, depending on the <code>quiz</code> flag), replying to the message that attached the <a href="/bots/features#keyboards">reply keyboard</a></li>
|
||||||
|
<li><a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> - Prompts the user to select and share a peer with the bot using <a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a>, according to the criteria specified in the <a href="/type/RequestPeerType">RequestPeerType</a> constructor. <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a>.<code>button_id</code> must be passed to the method: the peer and the specified <code>button_id</code> will be received by the bot as a <a href="/constructor/messageActionRequestedPeer">messageActionRequestedPeer</a> service message. </li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Buttons available only in inline keyboards:</p>
|
<p>Buttons available only in inline keyboards:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -150,7 +150,7 @@
|
||||||
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
|
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
|
||||||
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
|
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added <a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a> - </li>
|
<li>Added <a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a> - Send a chosen peer, as requested by a <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> button.</li>
|
||||||
<li>Added <a href="/method/account.getDefaultProfilePhotoEmojis">account.getDefaultProfilePhotoEmojis</a> - </li>
|
<li>Added <a href="/method/account.getDefaultProfilePhotoEmojis">account.getDefaultProfilePhotoEmojis</a> - </li>
|
||||||
<li>Added <a href="/method/account.getDefaultGroupPhotoEmojis">account.getDefaultGroupPhotoEmojis</a> - </li>
|
<li>Added <a href="/method/account.getDefaultGroupPhotoEmojis">account.getDefaultGroupPhotoEmojis</a> - </li>
|
||||||
<li>Added <a href="/method/auth.requestFirebaseSms">auth.requestFirebaseSms</a> - </li>
|
<li>Added <a href="/method/auth.requestFirebaseSms">auth.requestFirebaseSms</a> - </li>
|
||||||
|
@ -173,10 +173,10 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added <a href="/constructor/auth.sentCodeSuccess">auth.sentCodeSuccess</a> - </li>
|
<li>Added <a href="/constructor/auth.sentCodeSuccess">auth.sentCodeSuccess</a> - </li>
|
||||||
<li>Added <a href="/constructor/messageActionRequestedPeer">messageActionRequestedPeer</a> - </li>
|
<li>Added <a href="/constructor/messageActionRequestedPeer">messageActionRequestedPeer</a> - </li>
|
||||||
<li>Added <a href="/constructor/requestPeerTypeUser">requestPeerTypeUser</a> - </li>
|
<li>Added <a href="/constructor/requestPeerTypeUser">requestPeerTypeUser</a> - Choose a user.</li>
|
||||||
<li>Added <a href="/constructor/requestPeerTypeChat">requestPeerTypeChat</a> - </li>
|
<li>Added <a href="/constructor/requestPeerTypeChat">requestPeerTypeChat</a> - Choose a chat or supergroup</li>
|
||||||
<li>Added <a href="/constructor/requestPeerTypeBroadcast">requestPeerTypeBroadcast</a> - </li>
|
<li>Added <a href="/constructor/requestPeerTypeBroadcast">requestPeerTypeBroadcast</a> - Choose a channel</li>
|
||||||
<li>Added <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> - </li>
|
<li>Added <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> - Prompts the user to select and share a peer with the bot using <a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a></li>
|
||||||
<li>Added <a href="/constructor/emojiListNotModified">emojiListNotModified</a> - </li>
|
<li>Added <a href="/constructor/emojiListNotModified">emojiListNotModified</a> - </li>
|
||||||
<li>Added <a href="/constructor/emojiList">emojiList</a> - </li>
|
<li>Added <a href="/constructor/emojiList">emojiList</a> - </li>
|
||||||
<li>Added <a href="/constructor/auth.sentCodeTypeFirebaseSms">auth.sentCodeTypeFirebaseSms</a> - </li>
|
<li>Added <a href="/constructor/auth.sentCodeTypeFirebaseSms">auth.sentCodeTypeFirebaseSms</a> - </li>
|
||||||
|
|
|
@ -4,38 +4,10 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>keyboardButtonRequestPeer</title>
|
<title>keyboardButtonRequestPeer</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta property="description" content="Parameters
|
<meta property="description" content="Prompts the user to select and share a peer with the bot using messages.sendBotRequestedPeer">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
text
|
|
||||||
string
|
|
||||||
|
|
||||||
button_id
|
|
||||||
int
|
|
||||||
|
|
||||||
peer_type
|
|
||||||
RequestPeerType
|
|
||||||
|
|
||||||
Type
|
|
||||||
KeyboardButton">
|
|
||||||
<meta property="og:title" content="keyboardButtonRequestPeer">
|
<meta property="og:title" content="keyboardButtonRequestPeer">
|
||||||
<meta property="og:image" content="">
|
<meta property="og:image" content="">
|
||||||
<meta property="og:description" content="Parameters
|
<meta property="og:description" content="Prompts the user to select and share a peer with the bot using messages.sendBotRequestedPeer">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
text
|
|
||||||
string
|
|
||||||
|
|
||||||
button_id
|
|
||||||
int
|
|
||||||
|
|
||||||
peer_type
|
|
||||||
RequestPeerType
|
|
||||||
|
|
||||||
Type
|
|
||||||
KeyboardButton">
|
|
||||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||||
|
@ -70,7 +42,8 @@ KeyboardButton">
|
||||||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/keyboardButtonRequestPeer" >keyboardButtonRequestPeer</a></li></ul></div>
|
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/keyboardButtonRequestPeer" >keyboardButtonRequestPeer</a></li></ul></div>
|
||||||
<h1 id="dev_page_title">keyboardButtonRequestPeer</h1>
|
<h1 id="dev_page_title">keyboardButtonRequestPeer</h1>
|
||||||
|
|
||||||
<div id="dev_page_content"><p><div class="clearfix">
|
<div id="dev_page_content"><p>Prompts the user to select and share a peer with the bot using <a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a></p>
|
||||||
|
<p><div class="clearfix">
|
||||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
||||||
|
@ -96,22 +69,25 @@ KeyboardButton">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>text</strong></td>
|
<td><strong>text</strong></td>
|
||||||
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
<td style="text-align: center;"><a href="/type/string">string</a></td>
|
||||||
<td> </td>
|
<td>Button text</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>button_id</strong></td>
|
<td><strong>button_id</strong></td>
|
||||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||||
<td> </td>
|
<td>Button ID, to be passed to <a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>peer_type</strong></td>
|
<td><strong>peer_type</strong></td>
|
||||||
<td style="text-align: center;"><a href="/type/RequestPeerType">RequestPeerType</a></td>
|
<td style="text-align: center;"><a href="/type/RequestPeerType">RequestPeerType</a></td>
|
||||||
<td> </td>
|
<td>Filtering criteria to use for the peer selection list shown to the user.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||||
<p><a href="/type/KeyboardButton">KeyboardButton</a></p></div>
|
<p><a href="/type/KeyboardButton">KeyboardButton</a></p>
|
||||||
|
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||||
|
<h4><a class="anchor" href="#messagessendbotrequestedpeer" id="messagessendbotrequestedpeer" name="messagessendbotrequestedpeer"><i class="anchor-icon"></i></a><a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a></h4>
|
||||||
|
<p>Send a chosen peer, as requested by a <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> button.</p></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -4,32 +4,10 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>requestPeerTypeBroadcast</title>
|
<title>requestPeerTypeBroadcast</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta property="description" content="Parameters
|
<meta property="description" content="Choose a channel">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
flags
|
|
||||||
#
|
|
||||||
Flags, see TL conditional fields
|
|
||||||
creator
|
|
||||||
flags.0?true
|
|
||||||
|
|
||||||
has_username
|
|
||||||
flags.3?Bool…">
|
|
||||||
<meta property="og:title" content="requestPeerTypeBroadcast">
|
<meta property="og:title" content="requestPeerTypeBroadcast">
|
||||||
<meta property="og:image" content="">
|
<meta property="og:image" content="">
|
||||||
<meta property="og:description" content="Parameters
|
<meta property="og:description" content="Choose a channel">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
flags
|
|
||||||
#
|
|
||||||
Flags, see TL conditional fields
|
|
||||||
creator
|
|
||||||
flags.0?true
|
|
||||||
|
|
||||||
has_username
|
|
||||||
flags.3?Bool…">
|
|
||||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||||
|
@ -64,7 +42,8 @@ flags.3?Bool…">
|
||||||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/requestPeerTypeBroadcast" >requestPeerTypeBroadcast</a></li></ul></div>
|
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/requestPeerTypeBroadcast" >requestPeerTypeBroadcast</a></li></ul></div>
|
||||||
<h1 id="dev_page_title">requestPeerTypeBroadcast</h1>
|
<h1 id="dev_page_title">requestPeerTypeBroadcast</h1>
|
||||||
|
|
||||||
<div id="dev_page_content"><p><div class="clearfix">
|
<div id="dev_page_content"><p>Choose a channel</p>
|
||||||
|
<p><div class="clearfix">
|
||||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
||||||
|
@ -95,27 +74,30 @@ flags.3?Bool…">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>creator</strong></td>
|
<td><strong>creator</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
|
||||||
<td> </td>
|
<td>Whether to allow only choosing channels that were created by the current user.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>has_username</strong></td>
|
<td><strong>has_username</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/Bool">Bool</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/Bool">Bool</a></td>
|
||||||
<td> </td>
|
<td>If specified, allows only choosing channels with or without a username, according to the value of <a href="/type/Bool">Bool</a>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>user_admin_rights</strong></td>
|
<td><strong>user_admin_rights</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/ChatAdminRights">ChatAdminRights</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/ChatAdminRights">ChatAdminRights</a></td>
|
||||||
<td> </td>
|
<td>If specified, allows only choosing channels where the current user is an admin with at least the specified admin rights.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>bot_admin_rights</strong></td>
|
<td><strong>bot_admin_rights</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/ChatAdminRights">ChatAdminRights</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/ChatAdminRights">ChatAdminRights</a></td>
|
||||||
<td> </td>
|
<td>If specified, allows only choosing channels where the bot is an admin with at least the specified admin rights.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||||
<p><a href="/type/RequestPeerType">RequestPeerType</a></p></div>
|
<p><a href="/type/RequestPeerType">RequestPeerType</a></p>
|
||||||
|
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||||
|
<h4><a class="anchor" href="#bool" id="bool" name="bool"><i class="anchor-icon"></i></a><a href="/type/Bool">Bool</a></h4>
|
||||||
|
<p>Boolean type.</p></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -4,32 +4,10 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>requestPeerTypeChat</title>
|
<title>requestPeerTypeChat</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta property="description" content="Parameters
|
<meta property="description" content="Choose a chat or supergroup">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
flags
|
|
||||||
#
|
|
||||||
Flags, see TL conditional fields
|
|
||||||
creator
|
|
||||||
flags.0?true
|
|
||||||
|
|
||||||
bot_participant
|
|
||||||
flags.5?true…">
|
|
||||||
<meta property="og:title" content="requestPeerTypeChat">
|
<meta property="og:title" content="requestPeerTypeChat">
|
||||||
<meta property="og:image" content="">
|
<meta property="og:image" content="">
|
||||||
<meta property="og:description" content="Parameters
|
<meta property="og:description" content="Choose a chat or supergroup">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
flags
|
|
||||||
#
|
|
||||||
Flags, see TL conditional fields
|
|
||||||
creator
|
|
||||||
flags.0?true
|
|
||||||
|
|
||||||
bot_participant
|
|
||||||
flags.5?true…">
|
|
||||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||||
|
@ -64,7 +42,8 @@ flags.5?true…">
|
||||||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/requestPeerTypeChat" >requestPeerTypeChat</a></li></ul></div>
|
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/requestPeerTypeChat" >requestPeerTypeChat</a></li></ul></div>
|
||||||
<h1 id="dev_page_title">requestPeerTypeChat</h1>
|
<h1 id="dev_page_title">requestPeerTypeChat</h1>
|
||||||
|
|
||||||
<div id="dev_page_content"><p><div class="clearfix">
|
<div id="dev_page_content"><p>Choose a chat or supergroup</p>
|
||||||
|
<p><div class="clearfix">
|
||||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
||||||
|
@ -95,17 +74,17 @@ flags.5?true…">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>creator</strong></td>
|
<td><strong>creator</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
|
||||||
<td> </td>
|
<td>Whether to allow only choosing chats or supergroups that were created by the current user.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>bot_participant</strong></td>
|
<td><strong>bot_participant</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.5?<a href="/constructor/true">true</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.5?<a href="/constructor/true">true</a></td>
|
||||||
<td> </td>
|
<td>Whether to allow only choosing chats or supergroups where the bot is a participant.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>has_username</strong></td>
|
<td><strong>has_username</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/Bool">Bool</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/Bool">Bool</a></td>
|
||||||
<td> </td>
|
<td>If specified, allows only choosing chats or supergroups that are or aren't <a href="/api/forum">forums</a>, according to the value of <a href="/type/Bool">Bool</a>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>forum</strong></td>
|
<td><strong>forum</strong></td>
|
||||||
|
@ -115,17 +94,22 @@ flags.5?true…">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>user_admin_rights</strong></td>
|
<td><strong>user_admin_rights</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/ChatAdminRights">ChatAdminRights</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/ChatAdminRights">ChatAdminRights</a></td>
|
||||||
<td> </td>
|
<td>If specified, allows only choosing chats or supergroups where the current user is an admin with at least the specified admin rights.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>bot_admin_rights</strong></td>
|
<td><strong>bot_admin_rights</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/ChatAdminRights">ChatAdminRights</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/ChatAdminRights">ChatAdminRights</a></td>
|
||||||
<td> </td>
|
<td>If specified, allows only choosing chats or supergroups where the bot is an admin with at least the specified admin rights.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||||
<p><a href="/type/RequestPeerType">RequestPeerType</a></p></div>
|
<p><a href="/type/RequestPeerType">RequestPeerType</a></p>
|
||||||
|
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||||
|
<h4><a class="anchor" href="#forums" id="forums" name="forums"><i class="anchor-icon"></i></a><a href="/api/forum">Forums</a></h4>
|
||||||
|
<p>Telegram allows creating forums with multiple distinct topics.</p>
|
||||||
|
<h4><a class="anchor" href="#bool" id="bool" name="bool"><i class="anchor-icon"></i></a><a href="/type/Bool">Bool</a></h4>
|
||||||
|
<p>Boolean type.</p></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -4,36 +4,10 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>requestPeerTypeUser</title>
|
<title>requestPeerTypeUser</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta property="description" content="Parameters
|
<meta property="description" content="Choose a user.">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
flags
|
|
||||||
#
|
|
||||||
Flags, see TL conditional fields
|
|
||||||
bot
|
|
||||||
flags.0?Bool
|
|
||||||
|
|
||||||
premium
|
|
||||||
flags.1?Bool
|
|
||||||
|
|
||||||
Type…">
|
|
||||||
<meta property="og:title" content="requestPeerTypeUser">
|
<meta property="og:title" content="requestPeerTypeUser">
|
||||||
<meta property="og:image" content="">
|
<meta property="og:image" content="">
|
||||||
<meta property="og:description" content="Parameters
|
<meta property="og:description" content="Choose a user.">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
flags
|
|
||||||
#
|
|
||||||
Flags, see TL conditional fields
|
|
||||||
bot
|
|
||||||
flags.0?Bool
|
|
||||||
|
|
||||||
premium
|
|
||||||
flags.1?Bool
|
|
||||||
|
|
||||||
Type…">
|
|
||||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||||
|
@ -68,7 +42,8 @@ Type…">
|
||||||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/requestPeerTypeUser" >requestPeerTypeUser</a></li></ul></div>
|
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/requestPeerTypeUser" >requestPeerTypeUser</a></li></ul></div>
|
||||||
<h1 id="dev_page_title">requestPeerTypeUser</h1>
|
<h1 id="dev_page_title">requestPeerTypeUser</h1>
|
||||||
|
|
||||||
<div id="dev_page_content"><p><div class="clearfix">
|
<div id="dev_page_content"><p>Choose a user.</p>
|
||||||
|
<p><div class="clearfix">
|
||||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
||||||
|
@ -99,17 +74,19 @@ Type…">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>bot</strong></td>
|
<td><strong>bot</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/Bool">Bool</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/Bool">Bool</a></td>
|
||||||
<td> </td>
|
<td>Whether to allow choosing only bots.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>premium</strong></td>
|
<td><strong>premium</strong></td>
|
||||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/Bool">Bool</a></td>
|
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/Bool">Bool</a></td>
|
||||||
<td> </td>
|
<td>Whether to allow choosing only <a href="/api/premium">Premium</a> users.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||||
<p><a href="/type/RequestPeerType">RequestPeerType</a></p></div>
|
<p><a href="/type/RequestPeerType">RequestPeerType</a></p>
|
||||||
|
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||||
|
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -4,44 +4,10 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>messages.sendBotRequestedPeer</title>
|
<title>messages.sendBotRequestedPeer</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta property="description" content="Parameters
|
<meta property="description" content="Send a chosen peer, as requested by a keyboardButtonRequestPeer button.">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
peer
|
|
||||||
InputPeer
|
|
||||||
|
|
||||||
msg_id
|
|
||||||
int
|
|
||||||
|
|
||||||
button_id
|
|
||||||
int
|
|
||||||
|
|
||||||
requested_peer
|
|
||||||
InputPeer
|
|
||||||
|
|
||||||
Result
|
|
||||||
Updates…">
|
|
||||||
<meta property="og:title" content="messages.sendBotRequestedPeer">
|
<meta property="og:title" content="messages.sendBotRequestedPeer">
|
||||||
<meta property="og:image" content="">
|
<meta property="og:image" content="">
|
||||||
<meta property="og:description" content="Parameters
|
<meta property="og:description" content="Send a chosen peer, as requested by a keyboardButtonRequestPeer button.">
|
||||||
Name
|
|
||||||
Type
|
|
||||||
Description
|
|
||||||
peer
|
|
||||||
InputPeer
|
|
||||||
|
|
||||||
msg_id
|
|
||||||
int
|
|
||||||
|
|
||||||
button_id
|
|
||||||
int
|
|
||||||
|
|
||||||
requested_peer
|
|
||||||
InputPeer
|
|
||||||
|
|
||||||
Result
|
|
||||||
Updates…">
|
|
||||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||||
|
@ -76,7 +42,8 @@ Updates…">
|
||||||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/messages.sendBotRequestedPeer" >messages.sendBotRequestedPeer</a></li></ul></div>
|
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/messages.sendBotRequestedPeer" >messages.sendBotRequestedPeer</a></li></ul></div>
|
||||||
<h1 id="dev_page_title">messages.sendBotRequestedPeer</h1>
|
<h1 id="dev_page_title">messages.sendBotRequestedPeer</h1>
|
||||||
|
|
||||||
<div id="dev_page_content"><p><div class="clearfix">
|
<div id="dev_page_content"><p>Send a chosen peer, as requested by a <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> button.</p>
|
||||||
|
<p><div class="clearfix">
|
||||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
||||||
|
@ -110,28 +77,31 @@ Updates…">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>peer</strong></td>
|
<td><strong>peer</strong></td>
|
||||||
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
|
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
|
||||||
<td> </td>
|
<td>The bot that sent the <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> button.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>msg_id</strong></td>
|
<td><strong>msg_id</strong></td>
|
||||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||||
<td> </td>
|
<td>ID of the message that contained the reply keyboard with the <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> button.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>button_id</strong></td>
|
<td><strong>button_id</strong></td>
|
||||||
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
<td style="text-align: center;"><a href="/type/int">int</a></td>
|
||||||
<td> </td>
|
<td>The <code>button_id</code> field from the <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> constructor.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>requested_peer</strong></td>
|
<td><strong>requested_peer</strong></td>
|
||||||
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
|
<td style="text-align: center;"><a href="/type/InputPeer">InputPeer</a></td>
|
||||||
<td> </td>
|
<td>The chosen peer.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
|
||||||
<p><a href="/type/Updates">Updates</a></p>
|
<p><a href="/type/Updates">Updates</a></p>
|
||||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
|
||||||
|
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||||
|
<h4><a class="anchor" href="#keyboardbuttonrequestpeer" id="keyboardbuttonrequestpeer" name="keyboardbuttonrequestpeer"><i class="anchor-icon"></i></a><a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a></h4>
|
||||||
|
<p>Prompts the user to select and share a peer with the bot using <a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a></p></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -2715,7 +2715,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a></td>
|
<td><a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a></td>
|
||||||
<td> </td>
|
<td>Send a chosen peer, as requested by a <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> button.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/method/account.getDefaultProfilePhotoEmojis">account.getDefaultProfilePhotoEmojis</a></td>
|
<td><a href="/method/account.getDefaultProfilePhotoEmojis">account.getDefaultProfilePhotoEmojis</a></td>
|
||||||
|
|
|
@ -142,7 +142,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a></td>
|
<td><a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a></td>
|
||||||
<td> </td>
|
<td>Prompts the user to select and share a peer with the bot using <a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>RequestPeerType</title>
|
<title>RequestPeerType</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta property="description" content="Type of requested peer">
|
<meta property="description" content="Filtering criteria to use for the peer selection list shown to the user.">
|
||||||
<meta property="og:title" content="RequestPeerType">
|
<meta property="og:title" content="RequestPeerType">
|
||||||
<meta property="og:image" content="">
|
<meta property="og:image" content="">
|
||||||
<meta property="og:description" content="Type of requested peer">
|
<meta property="og:description" content="Filtering criteria to use for the peer selection list shown to the user.">
|
||||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/type/RequestPeerType" >RequestPeerType</a></li></ul></div>
|
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/type/RequestPeerType" >RequestPeerType</a></li></ul></div>
|
||||||
<h1 id="dev_page_title">RequestPeerType</h1>
|
<h1 id="dev_page_title">RequestPeerType</h1>
|
||||||
|
|
||||||
<div id="dev_page_content"><p>Type of requested peer</p>
|
<div id="dev_page_content"><p>Filtering criteria to use for the peer selection list shown to the user.</p>
|
||||||
<p><div class="clearfix">
|
<p><div class="clearfix">
|
||||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
|
@ -69,15 +69,15 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/constructor/requestPeerTypeUser">requestPeerTypeUser</a></td>
|
<td><a href="/constructor/requestPeerTypeUser">requestPeerTypeUser</a></td>
|
||||||
<td> </td>
|
<td>Choose a user.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/constructor/requestPeerTypeChat">requestPeerTypeChat</a></td>
|
<td><a href="/constructor/requestPeerTypeChat">requestPeerTypeChat</a></td>
|
||||||
<td> </td>
|
<td>Choose a chat or supergroup</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/constructor/requestPeerTypeBroadcast">requestPeerTypeBroadcast</a></td>
|
<td><a href="/constructor/requestPeerTypeBroadcast">requestPeerTypeBroadcast</a></td>
|
||||||
<td> </td>
|
<td>Choose a channel</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
|
|
|
@ -537,7 +537,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a></td>
|
<td><a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a></td>
|
||||||
<td> </td>
|
<td>Send a chosen peer, as requested by a <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</a> button.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
|
|
Loading…
Reference in a new issue