mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-28 23:38:26 +01:00
Update content of files
This commit is contained in:
parent
ed4e4660d1
commit
7221056cb1
10 changed files with 387 additions and 189 deletions
|
@ -55,6 +55,18 @@ To learn how to create…">
|
|||
<p>Subscribe to <a href="https://t.me/botnews">@BotNews</a> to be the first to know about the latest updates and join the discussion in <a href="https://t.me/bottalk">@BotTalk</a></p>
|
||||
</blockquote>
|
||||
<h3><a class="anchor" name="2023" href="#2023"><i class="anchor-icon"></i></a>2023</h3>
|
||||
<h4><a class="anchor" name="september-22-2023" href="#september-22-2023"><i class="anchor-icon"></i></a>September 22, 2023</h4>
|
||||
<p><strong>Bot API 6.9</strong></p>
|
||||
<ul>
|
||||
<li>Added the new administrator privileges <em>can_post_stories</em>, <em>can_edit_stories</em> and <em>can_delete_stories</em> to the classes <a href="/bots/api#chatmemberadministrator">ChatMemberAdministrator</a> and <a href="/bots/api#chatadministratorrights">ChatAdministratorRights</a>.</li>
|
||||
<li>Added the parameters <em>can_post_stories</em>, <em>can_edit_stories</em> and <em>can_delete_stories</em> to the method <a href="/bots/api#promotechatmember">promoteChatMember</a>. Currently, bots have no use for these privileges besides assigning them to other administrators.</li>
|
||||
<li>Added the ability to set any header color for Web App using the method <em>setHeaderColor</em>.</li>
|
||||
<li>Added the field <em>CloudStorage</em> to the class <a href="/bots/webapps#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the methods <em>requestWriteAccess</em> and <em>requestContact</em> to the class <a href="/bots/webapps#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added Web App events <em>writeAccessRequested</em> and <em>contactRequested</em>.</li>
|
||||
<li>Added the fields <em>from_request</em> and <em>from_attachment_menu</em> to the class <a href="/bots/api#writeaccessallowed">WriteAccessAllowed</a>.</li>
|
||||
<li>Added the fields <em>added_to_attachment_menu</em> and <em>allows_write_to_pm</em> to the class <a href="/bots/webapps#webappuser">WebAppUser</a>.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="august-18-2023" href="#august-18-2023"><i class="anchor-icon"></i></a>August 18, 2023</h4>
|
||||
<p><strong>Bot API 6.8</strong></p>
|
||||
<ul>
|
||||
|
|
|
@ -57,12 +57,13 @@
|
|||
</blockquote>
|
||||
<hr>
|
||||
<h3><a class="anchor" name="recent-changes" href="#recent-changes"><i class="anchor-icon"></i></a>Recent changes</h3>
|
||||
<h4><a class="anchor" name="september-14-2023" href="#september-14-2023"><i class="anchor-icon"></i></a>September 14, 2023</h4>
|
||||
<h4><a class="anchor" name="september-22-2023" href="#september-22-2023"><i class="anchor-icon"></i></a>September 22, 2023</h4>
|
||||
<p><strong>Bot API 6.9</strong></p>
|
||||
<ul>
|
||||
<li>Added the field <em>CloudStorage</em> and the methods <em>requestWriteAccess</em>, <em>requestContact</em> to the class <a href="#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the fields <em>added_to_attachment_menu</em>, <em>allows_write_to_pm</em> to the class <a href="#webappuser">WebAppUser</a>.</li>
|
||||
<li>Added the events <em>writeAccessRequested</em>, <em>contactRequested</em>.</li>
|
||||
<li>Added the field <em>CloudStorage</em> to the class <a href="#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the methods <em>requestWriteAccess</em> and <em>requestContact</em> to the class <a href="#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the fields <em>added_to_attachment_menu</em> and <em>allows_write_to_pm</em> to the class <a href="#webappuser">WebAppUser</a>.</li>
|
||||
<li>Added the events <em>writeAccessRequested</em> and <em>contactRequested</em>.</li>
|
||||
<li>Added the ability to set any header color using the <em>setHeaderColor</em> method.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="april-21-2023" href="#april-21-2023"><i class="anchor-icon"></i></a>April 21, 2023</h4>
|
||||
|
|
|
@ -55,6 +55,18 @@ To learn how to create…">
|
|||
<p>Subscribe to <a href="https://t.me/botnews">@BotNews</a> to be the first to know about the latest updates and join the discussion in <a href="https://t.me/bottalk">@BotTalk</a></p>
|
||||
</blockquote>
|
||||
<h3><a class="anchor" name="2023" href="#2023"><i class="anchor-icon"></i></a>2023</h3>
|
||||
<h4><a class="anchor" name="september-22-2023" href="#september-22-2023"><i class="anchor-icon"></i></a>September 22, 2023</h4>
|
||||
<p><strong>Bot API 6.9</strong></p>
|
||||
<ul>
|
||||
<li>Added the new administrator privileges <em>can_post_stories</em>, <em>can_edit_stories</em> and <em>can_delete_stories</em> to the classes <a href="/bots/api#chatmemberadministrator">ChatMemberAdministrator</a> and <a href="/bots/api#chatadministratorrights">ChatAdministratorRights</a>.</li>
|
||||
<li>Added the parameters <em>can_post_stories</em>, <em>can_edit_stories</em> and <em>can_delete_stories</em> to the method <a href="/bots/api#promotechatmember">promoteChatMember</a>. Currently, bots have no use for these privileges besides assigning them to other administrators.</li>
|
||||
<li>Added the ability to set any header color for Web App using the method <em>setHeaderColor</em>.</li>
|
||||
<li>Added the field <em>CloudStorage</em> to the class <a href="/bots/webapps#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the methods <em>requestWriteAccess</em> and <em>requestContact</em> to the class <a href="/bots/webapps#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added Web App events <em>writeAccessRequested</em> and <em>contactRequested</em>.</li>
|
||||
<li>Added the fields <em>from_request</em> and <em>from_attachment_menu</em> to the class <a href="/bots/api#writeaccessallowed">WriteAccessAllowed</a>.</li>
|
||||
<li>Added the fields <em>added_to_attachment_menu</em> and <em>allows_write_to_pm</em> to the class <a href="/bots/webapps#webappuser">WebAppUser</a>.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="august-18-2023" href="#august-18-2023"><i class="anchor-icon"></i></a>August 18, 2023</h4>
|
||||
<p><strong>Bot API 6.8</strong></p>
|
||||
<ul>
|
||||
|
|
|
@ -53,6 +53,18 @@ To learn how to create…">
|
|||
<blockquote>
|
||||
<p>Subscribe to <a href="https://t.me/botnews">@BotNews</a> to be the first to know about the latest updates and join the discussion in <a href="https://t.me/bottalk">@BotTalk</a></p>
|
||||
</blockquote>
|
||||
<h4><a class="anchor" name="september-22-2023" href="#september-22-2023"><i class="anchor-icon"></i></a>September 22, 2023</h4>
|
||||
<p><strong>Bot API 6.9</strong></p>
|
||||
<ul>
|
||||
<li>Added the new administrator privileges <em>can_post_stories</em>, <em>can_edit_stories</em> and <em>can_delete_stories</em> to the classes <a href="#chatmemberadministrator">ChatMemberAdministrator</a> and <a href="#chatadministratorrights">ChatAdministratorRights</a>.</li>
|
||||
<li>Added the parameters <em>can_post_stories</em>, <em>can_edit_stories</em> and <em>can_delete_stories</em> to the method <a href="#promotechatmember">promoteChatMember</a>. Currently, bots have no use for these privileges besides assigning them to other administrators.</li>
|
||||
<li>Added the ability to set any header color for Web App using the method <em>setHeaderColor</em>.</li>
|
||||
<li>Added the field <em>CloudStorage</em> to the class <a href="/bots/webapps#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the methods <em>requestWriteAccess</em> and <em>requestContact</em> to the class <a href="/bots/webapps#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added Web App events <em>writeAccessRequested</em> and <em>contactRequested</em>.</li>
|
||||
<li>Added the fields <em>from_request</em> and <em>from_attachment_menu</em> to the class <a href="#writeaccessallowed">WriteAccessAllowed</a>.</li>
|
||||
<li>Added the fields <em>added_to_attachment_menu</em> and <em>allows_write_to_pm</em> to the class <a href="/bots/webapps#webappuser">WebAppUser</a>.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="august-18-2023" href="#august-18-2023"><i class="anchor-icon"></i></a>August 18, 2023</h4>
|
||||
<p><strong>Bot API 6.8</strong></p>
|
||||
<ul>
|
||||
|
@ -74,46 +86,6 @@ To learn how to create…">
|
|||
<li>Added the ability to change bot settings from the bot's profile in official Telegram apps, including the ability to set animated profile photos.</li>
|
||||
<li>Added the ability to specify custom emoji entities using <a href="#html-style">HTML</a> and <a href="#markdownv2-style">MarkdownV2</a> formatting options for bots that purchased additional usernames on <a href="https://fragment.com">Fragment</a>.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="march-9-2023" href="#march-9-2023"><i class="anchor-icon"></i></a>March 9, 2023</h4>
|
||||
<p><strong>Bot API 6.6</strong></p>
|
||||
<ul>
|
||||
<li>Added the ability to set different bot descriptions for different user languages using the method <a href="#setmydescription">setMyDescription</a>.</li>
|
||||
<li>Added the ability to get the current bot description in the given language as the class <a href="#botdescription">BotDescription</a> using the method <a href="#getmydescription">getMyDescription</a>.</li>
|
||||
<li>Added the ability to set different bot short descriptions for different user languages using the method <a href="#setmyshortdescription">setMyShortDescription</a>.</li>
|
||||
<li>Added the ability to get the current bot short description in the given language as the class <a href="#botshortdescription">BotShortDescription</a> using the method <a href="#getmyshortdescription">getMyShortDescription</a>.</li>
|
||||
<li>Added the parameter <em>emoji</em> to the method <a href="#sendsticker">sendSticker</a> to specify an emoji for just uploaded stickers.</li>
|
||||
<li>Added support for the creation of custom emoji sticker sets in <a href="#createnewstickerset">createNewStickerSet</a>.</li>
|
||||
<li>Added the parameter <em>needs_repainting</em> to the method <a href="#createnewstickerset">createNewStickerSet</a> to automatically change the color of emoji based on context (e.g., use text color in messages, accent color in statuses, etc.).</li>
|
||||
<li>Added the field <em>needs_repainting</em> to the class <a href="#sticker">Sticker</a>.</li>
|
||||
<li>Replaced the parameters <em>png_sticker</em>, <em>tgs_sticker</em>, <em>webm_sticker</em>, <em>emojis</em> and <em>mask_position</em> in the method <a href="#addstickertoset">addStickerToSet</a> with the parameter <em>sticker</em> of the type <a href="#inputsticker">InputSticker</a>.</li>
|
||||
<li>Added support for the creation of sticker sets with multiple initial stickers in <a href="#createnewstickerset">createNewStickerSet</a> by replacing the parameters <em>png_sticker</em>, <em>tgs_sticker</em>, <em>webm_sticker</em>, <em>emojis</em> and <em>mask_position</em> with the parameters <em>stickers</em> and <em>sticker_format</em>.</li>
|
||||
<li>Added support for .WEBP files in <a href="#createnewstickerset">createNewStickerSet</a> and <a href="#addstickertoset">addStickerToSet</a>.</li>
|
||||
<li>Added support for .WEBP, .TGS, and .WEBM files in <a href="#uploadstickerfile">uploadStickerFile</a> by replacing the parameter <em>png_sticker</em> in the method <a href="#uploadstickerfile">uploadStickerFile</a> with the parameters <em>sticker</em> and <em>sticker_format</em>.</li>
|
||||
<li>Added the ability to specify search keywords for stickers added to sticker sets.</li>
|
||||
<li>Added the method <a href="#setcustomemojistickersetthumbnail">setCustomEmojiStickerSetThumbnail</a> for editing the thumbnail of custom emoji sticker sets created by the bot.</li>
|
||||
<li>Added the method <a href="#setstickersettitle">setStickerSetTitle</a> for editing the title of sticker sets created by the bot.</li>
|
||||
<li>Added the method <a href="#deletestickerset">deleteStickerSet</a> for complete deletion of a given sticker set that was created by the bot.</li>
|
||||
<li>Added the method <a href="#setstickeremojilist">setStickerEmojiList</a> for changing the list of emoji associated with a sticker.</li>
|
||||
<li>Added the method <a href="#setstickerkeywords">setStickerKeywords</a> for changing the search keywords assigned to a sticker.</li>
|
||||
<li>Added the method <a href="#setstickermaskposition">setStickerMaskPosition</a> for changing the <a href="#maskposition">mask position</a> of a mask sticker.</li>
|
||||
<li>Renamed the field <em>thumb</em> in the classes <a href="#animation">Animation</a>, <a href="#audio">Audio</a>, <a href="#document">Document</a>, <a href="#sticker">Sticker</a>, <a href="#video">Video</a>, <a href="#videonote">VideoNote</a>, <a href="#inputmediaanimation">InputMediaAnimation</a>, <a href="#inputmediaaudio">InputMediaAudio</a>, <a href="#inputmediadocument">InputMediaDocument</a>, <a href="#inputmediavideo">InputMediaVideo</a>, <a href="#stickerset">StickerSet</a> to <em>thumbnail</em>.</li>
|
||||
<li>Renamed the parameter <em>thumb</em> in the methods <a href="#sendanimation">sendAnimation</a>, <a href="#sendaudio">sendAudio</a>, <a href="#senddocument">sendDocument</a>, <a href="#sendvideo">sendVideo</a>, <a href="#sendvideonote">sendVideoNote</a> to <em>thumbnail</em>.</li>
|
||||
<li>Renamed the method <em>setStickerSetThumb</em> to <a href="#setstickersetthumbnail">setStickerSetThumbnail</a> and its parameter <em>thumb</em> to <em>thumbnail</em>.</li>
|
||||
<li>Renamed the fields <em>thumb_url</em>, <em>thumb_width</em>, and <em>thumb_height</em> in the classes <a href="#inlinequeryresultarticle">InlineQueryResultArticle</a>, <a href="#inlinequeryresultcontact">InlineQueryResultContact</a>, <a href="#inlinequeryresultdocument">InlineQueryResultDocument</a>, <a href="#inlinequeryresultlocation">InlineQueryResultLocation</a>, and <a href="#inlinequeryresultvenue">InlineQueryResultVenue</a> to <em>thumbnail_url</em>, <em>thumbnail_width</em>, and <em>thumbnail_height</em> respectively.</li>
|
||||
<li>Renamed the field <em>thumb_url</em> in the classes <a href="#inlinequeryresultphoto">InlineQueryResultPhoto</a> and <a href="#inlinequeryresultvideo">InlineQueryResultVideo</a> to <em>thumbnail_url</em>.</li>
|
||||
<li>Renamed the fields <em>thumb_url</em> and <em>thumb_mime_type</em> in the classes <a href="#inlinequeryresultgif">InlineQueryResultGif</a>, and <a href="#inlinequeryresultmpeg4gif">InlineQueryResultMpeg4Gif</a> to <em>thumbnail_url</em> and <em>thumbnail_mime_type</em> respectively.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="february-3-2023" href="#february-3-2023"><i class="anchor-icon"></i></a>February 3, 2023</h4>
|
||||
<p><strong>Bot API 6.5</strong></p>
|
||||
<ul>
|
||||
<li>Added <a href="https://telegram.org/blog/profile-pics-emoji-translations#chat-selection-for-bots">requests for users and chats</a> and support for <a href="https://telegram.org/blog/profile-pics-emoji-translations#granular-media-permissions">granular media permissions</a>.</li>
|
||||
<li>Added the class <a href="#keyboardbuttonrequestuser">KeyboardButtonRequestUser</a> and the field <em>request_user</em> to the class <a href="#keyboardbutton">KeyboardButton</a>.</li>
|
||||
<li>Added the class <a href="#keyboardbuttonrequestchat">KeyboardButtonRequestChat</a> and the field <em>request_chat</em> to the class <a href="#keyboardbutton">KeyboardButton</a>.</li>
|
||||
<li>Added the classes <a href="#usershared">UserShared</a>, <a href="#chatshared">ChatShared</a> and the fields <em>user_shared</em>, and <em>chat_shared</em> to the class <a href="#message">Message</a>.</li>
|
||||
<li>Replaced the fields <em>can_send_media_messages</em> in the classes <a href="#chatmemberrestricted">ChatMemberRestricted</a> and <a href="#chatpermissions">ChatPermissions</a> with separate fields <em>can_send_audios</em>, <em>can_send_documents</em>, <em>can_send_photos</em>, <em>can_send_videos</em>, <em>can_send_video_notes</em>, and <em>can_send_voice_notes</em> for different media types.</li>
|
||||
<li>Added the parameter <em>use_independent_chat_permissions</em> to the methods <a href="#restrictchatmember">restrictChatMember</a> and <a href="#setchatpermissions">setChatPermissions</a>.</li>
|
||||
<li>Added the field <em>user_chat_id</em> to the class <a href="#chatjoinrequest">ChatJoinRequest</a>.</li>
|
||||
</ul>
|
||||
<p><strong><a href="/bots/api-changelog">See earlier changes »</a></strong></p>
|
||||
<h3><a class="anchor" name="authorizing-your-bot" href="#authorizing-your-bot"><i class="anchor-icon"></i></a>Authorizing your bot</h3>
|
||||
<p>Each bot is given a unique authentication token <a href="/bots/features#botfather">when it is created</a>. The token looks something like <code>123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11</code>, but we'll use simply <strong><token></strong> in this document instead. You can learn about obtaining tokens and generating new ones in <a href="/bots/features#botfather">this document</a>.</p>
|
||||
|
@ -955,7 +927,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>write_access_allowed</td>
|
||||
<td><a href="#writeaccessallowed">WriteAccessAllowed</a></td>
|
||||
<td><em>Optional</em>. Service message: the user allowed the bot added to the attachment menu to write messages</td>
|
||||
<td><em>Optional</em>. Service message: the user allowed the bot to write messages after adding it to the attachment or side menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method <a href="/bots/webapps#initializing-mini-apps">requestWriteAccess</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>passport_data</td>
|
||||
|
@ -1894,7 +1866,7 @@ To learn how to create…">
|
|||
</tbody>
|
||||
</table>
|
||||
<h4><a class="anchor" name="writeaccessallowed" href="#writeaccessallowed"><i class="anchor-icon"></i></a>WriteAccessAllowed</h4>
|
||||
<p>This object represents a service message about a user allowing a bot to write messages after adding the bot to the attachment menu or launching a Web App from a link.</p>
|
||||
<p>This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method <a href="/bots/webapps#initializing-mini-apps">requestWriteAccess</a>.</p>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -1905,9 +1877,19 @@ To learn how to create…">
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>from_request</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. True, if the access was granted after the user accepted an explicit request from a Web App sent by the method <a href="/bots/webapps#initializing-mini-apps">requestWriteAccess</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>web_app_name</td>
|
||||
<td>String</td>
|
||||
<td><em>Optional</em>. Name of the Web App which was launched from a link</td>
|
||||
<td><em>Optional</em>. Name of the Web App, if the access was granted when the Web App was launched from a link</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>from_attachment_menu</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. True, if the access was granted when the bot was added to the attachment or side menu</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -2040,7 +2022,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>url</td>
|
||||
<td>String</td>
|
||||
<td>An HTTPS URL of a Web App to be opened with additional data as specified in <a href="/bots/webapps#initializing-web-apps">Initializing Web Apps</a></td>
|
||||
<td>An HTTPS URL of a Web App to be opened with additional data as specified in <a href="/bots/webapps#initializing-mini-apps">Initializing Web Apps</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -2616,7 +2598,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>can_manage_chat</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>True</em>, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>
|
||||
<td><em>True</em>, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_delete_messages</td>
|
||||
|
@ -2651,7 +2633,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>can_post_messages</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post in the channel; channels only</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post messages in the channel; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_edit_messages</td>
|
||||
|
@ -2664,6 +2646,21 @@ To learn how to create…">
|
|||
<td><em>Optional</em>. <em>True</em>, if the user is allowed to pin messages; groups and supergroups only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_post_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post stories in the channel; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_edit_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can edit stories posted by other users; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_delete_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can delete stories posted by other users</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_manage_topics</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only</td>
|
||||
|
@ -2747,7 +2744,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>can_manage_chat</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>True</em>, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>
|
||||
<td><em>True</em>, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_delete_messages</td>
|
||||
|
@ -2782,7 +2779,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>can_post_messages</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post in the channel; channels only</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post messages in the channel; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_edit_messages</td>
|
||||
|
@ -2795,6 +2792,21 @@ To learn how to create…">
|
|||
<td><em>Optional</em>. <em>True</em>, if the user is allowed to pin messages; groups and supergroups only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_post_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post stories in the channel; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_edit_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can edit stories posted by other users; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_delete_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can delete stories posted by other users</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_manage_topics</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only</td>
|
||||
|
@ -8141,7 +8153,7 @@ pre-formatted fixed-width code block written in the Python programming language
|
|||
<tr>
|
||||
<td>web_app</td>
|
||||
<td><a href="#webappinfo">WebAppInfo</a></td>
|
||||
<td><em>Optional</em>. Description of the <a href="/bots/webapps">Web App</a> that will be launched when the user presses the button. The Web App will be able to switch back to the inline mode using the method <a href="/bots/webapps#initializing-web-apps">switchInlineQuery</a> inside the Web App.</td>
|
||||
<td><em>Optional</em>. Description of the <a href="/bots/webapps">Web App</a> that will be launched when the user presses the button. The Web App will be able to switch back to the inline mode using the method <a href="/bots/webapps#initializing-mini-apps">switchInlineQuery</a> inside the Web App.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>start_parameter</td>
|
||||
|
|
|
@ -57,12 +57,13 @@
|
|||
</blockquote>
|
||||
<hr>
|
||||
<h3><a class="anchor" name="recent-changes" href="#recent-changes"><i class="anchor-icon"></i></a>Recent changes</h3>
|
||||
<h4><a class="anchor" name="september-14-2023" href="#september-14-2023"><i class="anchor-icon"></i></a>September 14, 2023</h4>
|
||||
<h4><a class="anchor" name="september-22-2023" href="#september-22-2023"><i class="anchor-icon"></i></a>September 22, 2023</h4>
|
||||
<p><strong>Bot API 6.9</strong></p>
|
||||
<ul>
|
||||
<li>Added the field <em>CloudStorage</em> and the methods <em>requestWriteAccess</em>, <em>requestContact</em> to the class <a href="#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the fields <em>added_to_attachment_menu</em>, <em>allows_write_to_pm</em> to the class <a href="#webappuser">WebAppUser</a>.</li>
|
||||
<li>Added the events <em>writeAccessRequested</em>, <em>contactRequested</em>.</li>
|
||||
<li>Added the field <em>CloudStorage</em> to the class <a href="#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the methods <em>requestWriteAccess</em> and <em>requestContact</em> to the class <a href="#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the fields <em>added_to_attachment_menu</em> and <em>allows_write_to_pm</em> to the class <a href="#webappuser">WebAppUser</a>.</li>
|
||||
<li>Added the events <em>writeAccessRequested</em> and <em>contactRequested</em>.</li>
|
||||
<li>Added the ability to set any header color using the <em>setHeaderColor</em> method.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="april-21-2023" href="#april-21-2023"><i class="anchor-icon"></i></a>April 21, 2023</h4>
|
||||
|
|
|
@ -55,6 +55,18 @@ To learn how to create…">
|
|||
<p>Subscribe to <a href="https://t.me/botnews">@BotNews</a> to be the first to know about the latest updates and join the discussion in <a href="https://t.me/bottalk">@BotTalk</a></p>
|
||||
</blockquote>
|
||||
<h3><a class="anchor" name="2023" href="#2023"><i class="anchor-icon"></i></a>2023</h3>
|
||||
<h4><a class="anchor" name="september-22-2023" href="#september-22-2023"><i class="anchor-icon"></i></a>September 22, 2023</h4>
|
||||
<p><strong>Bot API 6.9</strong></p>
|
||||
<ul>
|
||||
<li>Added the new administrator privileges <em>can_post_stories</em>, <em>can_edit_stories</em> and <em>can_delete_stories</em> to the classes <a href="/bots/api#chatmemberadministrator">ChatMemberAdministrator</a> and <a href="/bots/api#chatadministratorrights">ChatAdministratorRights</a>.</li>
|
||||
<li>Added the parameters <em>can_post_stories</em>, <em>can_edit_stories</em> and <em>can_delete_stories</em> to the method <a href="/bots/api#promotechatmember">promoteChatMember</a>. Currently, bots have no use for these privileges besides assigning them to other administrators.</li>
|
||||
<li>Added the ability to set any header color for Web App using the method <em>setHeaderColor</em>.</li>
|
||||
<li>Added the field <em>CloudStorage</em> to the class <a href="/bots/webapps#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the methods <em>requestWriteAccess</em> and <em>requestContact</em> to the class <a href="/bots/webapps#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added Web App events <em>writeAccessRequested</em> and <em>contactRequested</em>.</li>
|
||||
<li>Added the fields <em>from_request</em> and <em>from_attachment_menu</em> to the class <a href="/bots/api#writeaccessallowed">WriteAccessAllowed</a>.</li>
|
||||
<li>Added the fields <em>added_to_attachment_menu</em> and <em>allows_write_to_pm</em> to the class <a href="/bots/webapps#webappuser">WebAppUser</a>.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="august-18-2023" href="#august-18-2023"><i class="anchor-icon"></i></a>August 18, 2023</h4>
|
||||
<p><strong>Bot API 6.8</strong></p>
|
||||
<ul>
|
||||
|
|
|
@ -53,6 +53,18 @@ To learn how to create…">
|
|||
<blockquote>
|
||||
<p>Subscribe to <a href="https://t.me/botnews">@BotNews</a> to be the first to know about the latest updates and join the discussion in <a href="https://t.me/bottalk">@BotTalk</a></p>
|
||||
</blockquote>
|
||||
<h4><a class="anchor" name="september-22-2023" href="#september-22-2023"><i class="anchor-icon"></i></a>September 22, 2023</h4>
|
||||
<p><strong>Bot API 6.9</strong></p>
|
||||
<ul>
|
||||
<li>Added the new administrator privileges <em>can_post_stories</em>, <em>can_edit_stories</em> and <em>can_delete_stories</em> to the classes <a href="#chatmemberadministrator">ChatMemberAdministrator</a> and <a href="#chatadministratorrights">ChatAdministratorRights</a>.</li>
|
||||
<li>Added the parameters <em>can_post_stories</em>, <em>can_edit_stories</em> and <em>can_delete_stories</em> to the method <a href="#promotechatmember">promoteChatMember</a>. Currently, bots have no use for these privileges besides assigning them to other administrators.</li>
|
||||
<li>Added the ability to set any header color for Web App using the method <em>setHeaderColor</em>.</li>
|
||||
<li>Added the field <em>CloudStorage</em> to the class <a href="/bots/webapps#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the methods <em>requestWriteAccess</em> and <em>requestContact</em> to the class <a href="/bots/webapps#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added Web App events <em>writeAccessRequested</em> and <em>contactRequested</em>.</li>
|
||||
<li>Added the fields <em>from_request</em> and <em>from_attachment_menu</em> to the class <a href="#writeaccessallowed">WriteAccessAllowed</a>.</li>
|
||||
<li>Added the fields <em>added_to_attachment_menu</em> and <em>allows_write_to_pm</em> to the class <a href="/bots/webapps#webappuser">WebAppUser</a>.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="august-18-2023" href="#august-18-2023"><i class="anchor-icon"></i></a>August 18, 2023</h4>
|
||||
<p><strong>Bot API 6.8</strong></p>
|
||||
<ul>
|
||||
|
@ -74,46 +86,6 @@ To learn how to create…">
|
|||
<li>Added the ability to change bot settings from the bot's profile in official Telegram apps, including the ability to set animated profile photos.</li>
|
||||
<li>Added the ability to specify custom emoji entities using <a href="#html-style">HTML</a> and <a href="#markdownv2-style">MarkdownV2</a> formatting options for bots that purchased additional usernames on <a href="https://fragment.com">Fragment</a>.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="march-9-2023" href="#march-9-2023"><i class="anchor-icon"></i></a>March 9, 2023</h4>
|
||||
<p><strong>Bot API 6.6</strong></p>
|
||||
<ul>
|
||||
<li>Added the ability to set different bot descriptions for different user languages using the method <a href="#setmydescription">setMyDescription</a>.</li>
|
||||
<li>Added the ability to get the current bot description in the given language as the class <a href="#botdescription">BotDescription</a> using the method <a href="#getmydescription">getMyDescription</a>.</li>
|
||||
<li>Added the ability to set different bot short descriptions for different user languages using the method <a href="#setmyshortdescription">setMyShortDescription</a>.</li>
|
||||
<li>Added the ability to get the current bot short description in the given language as the class <a href="#botshortdescription">BotShortDescription</a> using the method <a href="#getmyshortdescription">getMyShortDescription</a>.</li>
|
||||
<li>Added the parameter <em>emoji</em> to the method <a href="#sendsticker">sendSticker</a> to specify an emoji for just uploaded stickers.</li>
|
||||
<li>Added support for the creation of custom emoji sticker sets in <a href="#createnewstickerset">createNewStickerSet</a>.</li>
|
||||
<li>Added the parameter <em>needs_repainting</em> to the method <a href="#createnewstickerset">createNewStickerSet</a> to automatically change the color of emoji based on context (e.g., use text color in messages, accent color in statuses, etc.).</li>
|
||||
<li>Added the field <em>needs_repainting</em> to the class <a href="#sticker">Sticker</a>.</li>
|
||||
<li>Replaced the parameters <em>png_sticker</em>, <em>tgs_sticker</em>, <em>webm_sticker</em>, <em>emojis</em> and <em>mask_position</em> in the method <a href="#addstickertoset">addStickerToSet</a> with the parameter <em>sticker</em> of the type <a href="#inputsticker">InputSticker</a>.</li>
|
||||
<li>Added support for the creation of sticker sets with multiple initial stickers in <a href="#createnewstickerset">createNewStickerSet</a> by replacing the parameters <em>png_sticker</em>, <em>tgs_sticker</em>, <em>webm_sticker</em>, <em>emojis</em> and <em>mask_position</em> with the parameters <em>stickers</em> and <em>sticker_format</em>.</li>
|
||||
<li>Added support for .WEBP files in <a href="#createnewstickerset">createNewStickerSet</a> and <a href="#addstickertoset">addStickerToSet</a>.</li>
|
||||
<li>Added support for .WEBP, .TGS, and .WEBM files in <a href="#uploadstickerfile">uploadStickerFile</a> by replacing the parameter <em>png_sticker</em> in the method <a href="#uploadstickerfile">uploadStickerFile</a> with the parameters <em>sticker</em> and <em>sticker_format</em>.</li>
|
||||
<li>Added the ability to specify search keywords for stickers added to sticker sets.</li>
|
||||
<li>Added the method <a href="#setcustomemojistickersetthumbnail">setCustomEmojiStickerSetThumbnail</a> for editing the thumbnail of custom emoji sticker sets created by the bot.</li>
|
||||
<li>Added the method <a href="#setstickersettitle">setStickerSetTitle</a> for editing the title of sticker sets created by the bot.</li>
|
||||
<li>Added the method <a href="#deletestickerset">deleteStickerSet</a> for complete deletion of a given sticker set that was created by the bot.</li>
|
||||
<li>Added the method <a href="#setstickeremojilist">setStickerEmojiList</a> for changing the list of emoji associated with a sticker.</li>
|
||||
<li>Added the method <a href="#setstickerkeywords">setStickerKeywords</a> for changing the search keywords assigned to a sticker.</li>
|
||||
<li>Added the method <a href="#setstickermaskposition">setStickerMaskPosition</a> for changing the <a href="#maskposition">mask position</a> of a mask sticker.</li>
|
||||
<li>Renamed the field <em>thumb</em> in the classes <a href="#animation">Animation</a>, <a href="#audio">Audio</a>, <a href="#document">Document</a>, <a href="#sticker">Sticker</a>, <a href="#video">Video</a>, <a href="#videonote">VideoNote</a>, <a href="#inputmediaanimation">InputMediaAnimation</a>, <a href="#inputmediaaudio">InputMediaAudio</a>, <a href="#inputmediadocument">InputMediaDocument</a>, <a href="#inputmediavideo">InputMediaVideo</a>, <a href="#stickerset">StickerSet</a> to <em>thumbnail</em>.</li>
|
||||
<li>Renamed the parameter <em>thumb</em> in the methods <a href="#sendanimation">sendAnimation</a>, <a href="#sendaudio">sendAudio</a>, <a href="#senddocument">sendDocument</a>, <a href="#sendvideo">sendVideo</a>, <a href="#sendvideonote">sendVideoNote</a> to <em>thumbnail</em>.</li>
|
||||
<li>Renamed the method <em>setStickerSetThumb</em> to <a href="#setstickersetthumbnail">setStickerSetThumbnail</a> and its parameter <em>thumb</em> to <em>thumbnail</em>.</li>
|
||||
<li>Renamed the fields <em>thumb_url</em>, <em>thumb_width</em>, and <em>thumb_height</em> in the classes <a href="#inlinequeryresultarticle">InlineQueryResultArticle</a>, <a href="#inlinequeryresultcontact">InlineQueryResultContact</a>, <a href="#inlinequeryresultdocument">InlineQueryResultDocument</a>, <a href="#inlinequeryresultlocation">InlineQueryResultLocation</a>, and <a href="#inlinequeryresultvenue">InlineQueryResultVenue</a> to <em>thumbnail_url</em>, <em>thumbnail_width</em>, and <em>thumbnail_height</em> respectively.</li>
|
||||
<li>Renamed the field <em>thumb_url</em> in the classes <a href="#inlinequeryresultphoto">InlineQueryResultPhoto</a> and <a href="#inlinequeryresultvideo">InlineQueryResultVideo</a> to <em>thumbnail_url</em>.</li>
|
||||
<li>Renamed the fields <em>thumb_url</em> and <em>thumb_mime_type</em> in the classes <a href="#inlinequeryresultgif">InlineQueryResultGif</a>, and <a href="#inlinequeryresultmpeg4gif">InlineQueryResultMpeg4Gif</a> to <em>thumbnail_url</em> and <em>thumbnail_mime_type</em> respectively.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="february-3-2023" href="#february-3-2023"><i class="anchor-icon"></i></a>February 3, 2023</h4>
|
||||
<p><strong>Bot API 6.5</strong></p>
|
||||
<ul>
|
||||
<li>Added <a href="https://telegram.org/blog/profile-pics-emoji-translations#chat-selection-for-bots">requests for users and chats</a> and support for <a href="https://telegram.org/blog/profile-pics-emoji-translations#granular-media-permissions">granular media permissions</a>.</li>
|
||||
<li>Added the class <a href="#keyboardbuttonrequestuser">KeyboardButtonRequestUser</a> and the field <em>request_user</em> to the class <a href="#keyboardbutton">KeyboardButton</a>.</li>
|
||||
<li>Added the class <a href="#keyboardbuttonrequestchat">KeyboardButtonRequestChat</a> and the field <em>request_chat</em> to the class <a href="#keyboardbutton">KeyboardButton</a>.</li>
|
||||
<li>Added the classes <a href="#usershared">UserShared</a>, <a href="#chatshared">ChatShared</a> and the fields <em>user_shared</em>, and <em>chat_shared</em> to the class <a href="#message">Message</a>.</li>
|
||||
<li>Replaced the fields <em>can_send_media_messages</em> in the classes <a href="#chatmemberrestricted">ChatMemberRestricted</a> and <a href="#chatpermissions">ChatPermissions</a> with separate fields <em>can_send_audios</em>, <em>can_send_documents</em>, <em>can_send_photos</em>, <em>can_send_videos</em>, <em>can_send_video_notes</em>, and <em>can_send_voice_notes</em> for different media types.</li>
|
||||
<li>Added the parameter <em>use_independent_chat_permissions</em> to the methods <a href="#restrictchatmember">restrictChatMember</a> and <a href="#setchatpermissions">setChatPermissions</a>.</li>
|
||||
<li>Added the field <em>user_chat_id</em> to the class <a href="#chatjoinrequest">ChatJoinRequest</a>.</li>
|
||||
</ul>
|
||||
<p><strong><a href="/bots/api-changelog">See earlier changes »</a></strong></p>
|
||||
<h3><a class="anchor" name="authorizing-your-bot" href="#authorizing-your-bot"><i class="anchor-icon"></i></a>Authorizing your bot</h3>
|
||||
<p>Each bot is given a unique authentication token <a href="/bots/features#botfather">when it is created</a>. The token looks something like <code>123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11</code>, but we'll use simply <strong><token></strong> in this document instead. You can learn about obtaining tokens and generating new ones in <a href="/bots/features#botfather">this document</a>.</p>
|
||||
|
@ -955,7 +927,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>write_access_allowed</td>
|
||||
<td><a href="#writeaccessallowed">WriteAccessAllowed</a></td>
|
||||
<td><em>Optional</em>. Service message: the user allowed the bot added to the attachment menu to write messages</td>
|
||||
<td><em>Optional</em>. Service message: the user allowed the bot to write messages after adding it to the attachment or side menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method <a href="/bots/webapps#initializing-mini-apps">requestWriteAccess</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>passport_data</td>
|
||||
|
@ -1894,7 +1866,7 @@ To learn how to create…">
|
|||
</tbody>
|
||||
</table>
|
||||
<h4><a class="anchor" name="writeaccessallowed" href="#writeaccessallowed"><i class="anchor-icon"></i></a>WriteAccessAllowed</h4>
|
||||
<p>This object represents a service message about a user allowing a bot to write messages after adding the bot to the attachment menu or launching a Web App from a link.</p>
|
||||
<p>This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method <a href="/bots/webapps#initializing-mini-apps">requestWriteAccess</a>.</p>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -1905,9 +1877,19 @@ To learn how to create…">
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>from_request</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. True, if the access was granted after the user accepted an explicit request from a Web App sent by the method <a href="/bots/webapps#initializing-mini-apps">requestWriteAccess</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>web_app_name</td>
|
||||
<td>String</td>
|
||||
<td><em>Optional</em>. Name of the Web App which was launched from a link</td>
|
||||
<td><em>Optional</em>. Name of the Web App, if the access was granted when the Web App was launched from a link</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>from_attachment_menu</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. True, if the access was granted when the bot was added to the attachment or side menu</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -2040,7 +2022,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>url</td>
|
||||
<td>String</td>
|
||||
<td>An HTTPS URL of a Web App to be opened with additional data as specified in <a href="/bots/webapps#initializing-web-apps">Initializing Web Apps</a></td>
|
||||
<td>An HTTPS URL of a Web App to be opened with additional data as specified in <a href="/bots/webapps#initializing-mini-apps">Initializing Web Apps</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -2616,7 +2598,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>can_manage_chat</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>True</em>, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>
|
||||
<td><em>True</em>, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_delete_messages</td>
|
||||
|
@ -2651,7 +2633,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>can_post_messages</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post in the channel; channels only</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post messages in the channel; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_edit_messages</td>
|
||||
|
@ -2664,6 +2646,21 @@ To learn how to create…">
|
|||
<td><em>Optional</em>. <em>True</em>, if the user is allowed to pin messages; groups and supergroups only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_post_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post stories in the channel; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_edit_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can edit stories posted by other users; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_delete_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can delete stories posted by other users</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_manage_topics</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only</td>
|
||||
|
@ -2747,7 +2744,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>can_manage_chat</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>True</em>, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>
|
||||
<td><em>True</em>, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_delete_messages</td>
|
||||
|
@ -2782,7 +2779,7 @@ To learn how to create…">
|
|||
<tr>
|
||||
<td>can_post_messages</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post in the channel; channels only</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post messages in the channel; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_edit_messages</td>
|
||||
|
@ -2795,6 +2792,21 @@ To learn how to create…">
|
|||
<td><em>Optional</em>. <em>True</em>, if the user is allowed to pin messages; groups and supergroups only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_post_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can post stories in the channel; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_edit_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can edit stories posted by other users; channels only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_delete_stories</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the administrator can delete stories posted by other users</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>can_manage_topics</td>
|
||||
<td>Boolean</td>
|
||||
<td><em>Optional</em>. <em>True</em>, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only</td>
|
||||
|
@ -8141,7 +8153,7 @@ pre-formatted fixed-width code block written in the Python programming language
|
|||
<tr>
|
||||
<td>web_app</td>
|
||||
<td><a href="#webappinfo">WebAppInfo</a></td>
|
||||
<td><em>Optional</em>. Description of the <a href="/bots/webapps">Web App</a> that will be launched when the user presses the button. The Web App will be able to switch back to the inline mode using the method <a href="/bots/webapps#initializing-web-apps">switchInlineQuery</a> inside the Web App.</td>
|
||||
<td><em>Optional</em>. Description of the <a href="/bots/webapps">Web App</a> that will be launched when the user presses the button. The Web App will be able to switch back to the inline mode using the method <a href="/bots/webapps#initializing-mini-apps">switchInlineQuery</a> inside the Web App.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>start_parameter</td>
|
||||
|
|
|
@ -57,12 +57,13 @@
|
|||
</blockquote>
|
||||
<hr>
|
||||
<h3><a class="anchor" name="recent-changes" href="#recent-changes"><i class="anchor-icon"></i></a>Recent changes</h3>
|
||||
<h4><a class="anchor" name="september-14-2023" href="#september-14-2023"><i class="anchor-icon"></i></a>September 14, 2023</h4>
|
||||
<h4><a class="anchor" name="september-22-2023" href="#september-22-2023"><i class="anchor-icon"></i></a>September 22, 2023</h4>
|
||||
<p><strong>Bot API 6.9</strong></p>
|
||||
<ul>
|
||||
<li>Added the field <em>CloudStorage</em> and the methods <em>requestWriteAccess</em>, <em>requestContact</em> to the class <a href="#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the fields <em>added_to_attachment_menu</em>, <em>allows_write_to_pm</em> to the class <a href="#webappuser">WebAppUser</a>.</li>
|
||||
<li>Added the events <em>writeAccessRequested</em>, <em>contactRequested</em>.</li>
|
||||
<li>Added the field <em>CloudStorage</em> to the class <a href="#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the methods <em>requestWriteAccess</em> and <em>requestContact</em> to the class <a href="#initializing-mini-apps">WebApp</a>.</li>
|
||||
<li>Added the fields <em>added_to_attachment_menu</em> and <em>allows_write_to_pm</em> to the class <a href="#webappuser">WebAppUser</a>.</li>
|
||||
<li>Added the events <em>writeAccessRequested</em> and <em>contactRequested</em>.</li>
|
||||
<li>Added the ability to set any header color using the <em>setHeaderColor</em> method.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" name="april-21-2023" href="#april-21-2023"><i class="anchor-icon"></i></a>April 21, 2023</h4>
|
||||
|
|
|
@ -649,7 +649,8 @@ inputChatPhotoSticker sticker:chatPhotoSticker = InputChatPhoto;
|
|||
chatPermissions can_send_basic_messages:Bool can_send_audios:Bool can_send_documents:Bool can_send_photos:Bool can_send_videos:Bool can_send_video_notes:Bool can_send_voice_notes:Bool can_send_polls:Bool can_send_other_messages:Bool can_add_web_page_previews:Bool can_change_info:Bool can_invite_users:Bool can_pin_messages:Bool can_manage_topics:Bool = ChatPermissions;
|
||||
|
||||
//@description Describes rights of the administrator
|
||||
//@can_manage_chat True, if the administrator can get chat event log, get chat statistics, get message statistics in channels, get channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other privilege; applicable to supergroups and channels only
|
||||
//@can_manage_chat True, if the administrator can get chat event log, get chat statistics, get chat boosts in channels, get message statistics in channels, get channel members,
|
||||
//-see anonymous administrators in supergroups and ignore slow mode. Implied by any other privilege; applicable to supergroups and channels only
|
||||
//@can_change_info True, if the administrator can change the chat title, photo, and other settings
|
||||
//@can_post_messages True, if the administrator can create channel posts; applicable to channels only
|
||||
//@can_edit_messages True, if the administrator can edit messages of other users and pin messages; applicable to channels only
|
||||
|
@ -660,8 +661,11 @@ chatPermissions can_send_basic_messages:Bool can_send_audios:Bool can_send_docum
|
|||
//@can_manage_topics True, if the administrator can manage topics; applicable to forum supergroups only
|
||||
//@can_promote_members True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that were directly or indirectly promoted by them
|
||||
//@can_manage_video_chats True, if the administrator can manage video chats
|
||||
//@can_post_stories True, if the administrator can create new channel stories, or edit and delete posted stories; applicable to channels only
|
||||
//@can_edit_stories True, if the administrator can edit stories posted by other users, pin stories and access story archive; applicable to channels only
|
||||
//@can_delete_stories True, if the administrator can delete stories posted by other users; applicable to channels only
|
||||
//@is_anonymous True, if the administrator isn't shown in the chat member list and sends messages anonymously; applicable to supergroups only
|
||||
chatAdministratorRights can_manage_chat:Bool can_change_info:Bool can_post_messages:Bool can_edit_messages:Bool can_delete_messages:Bool can_invite_users:Bool can_restrict_members:Bool can_pin_messages:Bool can_manage_topics:Bool can_promote_members:Bool can_manage_video_chats:Bool is_anonymous:Bool = ChatAdministratorRights;
|
||||
chatAdministratorRights can_manage_chat:Bool can_change_info:Bool can_post_messages:Bool can_edit_messages:Bool can_delete_messages:Bool can_invite_users:Bool can_restrict_members:Bool can_pin_messages:Bool can_manage_topics:Bool can_promote_members:Bool can_manage_video_chats:Bool can_post_stories:Bool can_edit_stories:Bool can_delete_stories:Bool is_anonymous:Bool = ChatAdministratorRights;
|
||||
|
||||
|
||||
//@description Describes an option for buying Telegram Premium to a user
|
||||
|
@ -984,7 +988,9 @@ basicGroupFullInfo photo:chatPhoto description:string creator_user_id:int53 memb
|
|||
//@restriction_reason If non-empty, contains a human-readable description of the reason why access to this supergroup or channel must be restricted
|
||||
//@is_scam True, if many users reported this supergroup or channel as a scam
|
||||
//@is_fake True, if many users reported this supergroup or channel as a fake account
|
||||
supergroup id:int53 usernames:usernames date:int32 status:ChatMemberStatus member_count:int32 has_linked_chat:Bool has_location:Bool sign_messages:Bool join_to_send_messages:Bool join_by_request:Bool is_slow_mode_enabled:Bool is_channel:Bool is_broadcast_group:Bool is_forum:Bool is_verified:Bool restriction_reason:string is_scam:Bool is_fake:Bool = Supergroup;
|
||||
//@has_active_stories True, if the channel has non-expired stories available to the current user
|
||||
//@has_unread_active_stories True, if the channel has unread non-expired stories available to the current user
|
||||
supergroup id:int53 usernames:usernames date:int32 status:ChatMemberStatus member_count:int32 has_linked_chat:Bool has_location:Bool sign_messages:Bool join_to_send_messages:Bool join_by_request:Bool is_slow_mode_enabled:Bool is_channel:Bool is_broadcast_group:Bool is_forum:Bool is_verified:Bool restriction_reason:string is_scam:Bool is_fake:Bool has_active_stories:Bool has_unread_active_stories:Bool = Supergroup;
|
||||
|
||||
//@description Contains full information about a supergroup or channel
|
||||
//@photo Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo
|
||||
|
@ -1006,13 +1012,14 @@ supergroup id:int53 usernames:usernames date:int32 status:ChatMemberStatus membe
|
|||
//@is_all_history_available True, if new chat members will have access to old messages. In public, discussion, of forum groups and all channels, old messages are always available,
|
||||
//-so this option affects only private non-forum supergroups without a linked chat. The value of this field is only available to chat administrators
|
||||
//@has_aggressive_anti_spam_enabled True, if aggressive anti-spam checks are enabled in the supergroup. The value of this field is only available to chat administrators
|
||||
//@has_pinned_stories True, if the channel has pinned stories
|
||||
//@sticker_set_id Identifier of the supergroup sticker set; 0 if none
|
||||
//@location Location to which the supergroup is connected; may be null if none
|
||||
//@invite_link Primary invite link for the chat; may be null. For chat administrators with can_invite_users right only
|
||||
//@bot_commands List of commands of bots in the group
|
||||
//@upgraded_from_basic_group_id Identifier of the basic group from which supergroup was upgraded; 0 if none
|
||||
//@upgraded_from_max_message_id Identifier of the last message in the basic group from which supergroup was upgraded; 0 if none
|
||||
supergroupFullInfo photo:chatPhoto description:string member_count:int32 administrator_count:int32 restricted_count:int32 banned_count:int32 linked_chat_id:int53 slow_mode_delay:int32 slow_mode_delay_expires_in:double can_get_members:Bool has_hidden_members:Bool can_hide_members:Bool can_set_sticker_set:Bool can_set_location:Bool can_get_statistics:Bool can_toggle_aggressive_anti_spam:Bool is_all_history_available:Bool has_aggressive_anti_spam_enabled:Bool sticker_set_id:int64 location:chatLocation invite_link:chatInviteLink bot_commands:vector<botCommands> upgraded_from_basic_group_id:int53 upgraded_from_max_message_id:int53 = SupergroupFullInfo;
|
||||
supergroupFullInfo photo:chatPhoto description:string member_count:int32 administrator_count:int32 restricted_count:int32 banned_count:int32 linked_chat_id:int53 slow_mode_delay:int32 slow_mode_delay_expires_in:double can_get_members:Bool has_hidden_members:Bool can_hide_members:Bool can_set_sticker_set:Bool can_set_location:Bool can_get_statistics:Bool can_toggle_aggressive_anti_spam:Bool is_all_history_available:Bool has_aggressive_anti_spam_enabled:Bool has_pinned_stories:Bool sticker_set_id:int64 location:chatLocation invite_link:chatInviteLink bot_commands:vector<botCommands> upgraded_from_basic_group_id:int53 upgraded_from_max_message_id:int53 = SupergroupFullInfo;
|
||||
|
||||
|
||||
//@class SecretChatState @description Describes the current secret chat state
|
||||
|
@ -1141,12 +1148,11 @@ unreadReaction type:ReactionType sender_id:MessageSender is_big:Bool = UnreadRea
|
|||
messageSendingStatePending sending_id:int32 = MessageSendingState;
|
||||
|
||||
//@description The message failed to be sent
|
||||
//@error_code An error code; 0 if unknown
|
||||
//@error_message Error message
|
||||
//@error The cause of the message sending failure
|
||||
//@can_retry True, if the message can be re-sent
|
||||
//@need_another_sender True, if the message can be re-sent only on behalf of a different sender
|
||||
//@retry_after Time left before the message can be re-sent, in seconds. No update is sent when this field changes
|
||||
messageSendingStateFailed error_code:int32 error_message:string can_retry:Bool need_another_sender:Bool retry_after:double = MessageSendingState;
|
||||
messageSendingStateFailed error:error can_retry:Bool need_another_sender:Bool retry_after:double = MessageSendingState;
|
||||
|
||||
|
||||
//@class MessageReplyTo @description Contains information about the message or the story a message is replying to
|
||||
|
@ -2082,6 +2088,7 @@ labeledPricePart label:string amount:int53 = LabeledPricePart;
|
|||
//@max_tip_amount The maximum allowed amount of tip in the smallest units of the currency
|
||||
//@suggested_tip_amounts Suggested amounts of tip in the smallest units of the currency
|
||||
//@recurring_payment_terms_of_service_url An HTTP URL with terms of service for recurring payments. If non-empty, the invoice payment will result in recurring payments and the user must accept the terms of service before allowed to pay
|
||||
//@terms_of_service_url An HTTP URL with terms of service for non-recurring payments. If non-empty, then the user must accept the terms of service before allowed to pay
|
||||
//@is_test True, if the payment is a test payment
|
||||
//@need_name True, if the user's name is needed for payment
|
||||
//@need_phone_number True, if the user's phone number is needed for payment
|
||||
|
@ -2090,7 +2097,7 @@ labeledPricePart label:string amount:int53 = LabeledPricePart;
|
|||
//@send_phone_number_to_provider True, if the user's phone number will be sent to the provider
|
||||
//@send_email_address_to_provider True, if the user's email address will be sent to the provider
|
||||
//@is_flexible True, if the total price depends on the shipping method
|
||||
invoice currency:string price_parts:vector<labeledPricePart> max_tip_amount:int53 suggested_tip_amounts:vector<int53> recurring_payment_terms_of_service_url:string is_test:Bool need_name:Bool need_phone_number:Bool need_email_address:Bool need_shipping_address:Bool send_phone_number_to_provider:Bool send_email_address_to_provider:Bool is_flexible:Bool = Invoice;
|
||||
invoice currency:string price_parts:vector<labeledPricePart> max_tip_amount:int53 suggested_tip_amounts:vector<int53> recurring_payment_terms_of_service_url:string terms_of_service_url:string is_test:Bool need_name:Bool need_phone_number:Bool need_email_address:Bool need_shipping_address:Bool send_phone_number_to_provider:Bool send_email_address_to_provider:Bool is_flexible:Bool = Invoice;
|
||||
|
||||
//@description Order information
|
||||
//@name Name of the user
|
||||
|
@ -3208,6 +3215,13 @@ storyAreaTypeLocation location:location = StoryAreaType;
|
|||
//@description An area pointing to a venue @venue Information about the venue
|
||||
storyAreaTypeVenue venue:venue = StoryAreaType;
|
||||
|
||||
//@description An area pointing to a suggested reaction. App needs to show a clickable reaction on the area and call setStoryReaction when the are is clicked
|
||||
//@reaction_type Type of the reaction
|
||||
//@total_count Number of times the reaction was added
|
||||
//@is_dark True, if reaction has a dark background
|
||||
//@is_flipped True, if reaction corner is flipped
|
||||
storyAreaTypeSuggestedReaction reaction_type:ReactionType total_count:int32 is_dark:Bool is_flipped:Bool = StoryAreaType;
|
||||
|
||||
|
||||
//@description Describes a clickable rectangle area on a story media @position Position of the area @type Type of the area
|
||||
storyArea position:storyAreaPosition type:StoryAreaType = StoryArea;
|
||||
|
@ -3228,6 +3242,12 @@ inputStoryAreaTypeFoundVenue query_id:int64 result_id:string = InputStoryAreaTyp
|
|||
//@venue_id Identifier of the venue in the provider database
|
||||
inputStoryAreaTypePreviousVenue venue_provider:string venue_id:string = InputStoryAreaType;
|
||||
|
||||
//@description An area pointing to a suggested reaction
|
||||
//@reaction_type Type of the reaction
|
||||
//@is_dark True, if reaction has a dark background
|
||||
//@is_flipped True, if reaction corner is flipped
|
||||
inputStoryAreaTypeSuggestedReaction reaction_type:ReactionType is_dark:Bool is_flipped:Bool = InputStoryAreaType;
|
||||
|
||||
|
||||
//@description Describes a clickable rectangle area on a story media to be added @position Position of the area @type Type of the area
|
||||
inputStoryArea position:storyAreaPosition type:InputStoryAreaType = InputStoryArea;
|
||||
|
@ -3287,9 +3307,10 @@ storyListArchive = StoryList;
|
|||
|
||||
//@description Contains information about interactions with a story
|
||||
//@view_count Number of times the story was viewed
|
||||
//@reaction_count Number of reactions added to the story
|
||||
//@forward_count Number of times the story was forwarded; 0 if none or unknown
|
||||
//@reaction_count Number of reactions added to the story; 0 if none or unknown
|
||||
//@recent_viewer_user_ids Identifiers of at most 3 recent viewers of the story
|
||||
storyInteractionInfo view_count:int32 reaction_count:int32 recent_viewer_user_ids:vector<int53> = StoryInteractionInfo;
|
||||
storyInteractionInfo view_count:int32 forward_count:int32 reaction_count:int32 recent_viewer_user_ids:vector<int53> = StoryInteractionInfo;
|
||||
|
||||
//@description Represents a story
|
||||
//@id Unique story identifier among stories of the given sender
|
||||
|
@ -3300,8 +3321,11 @@ storyInteractionInfo view_count:int32 reaction_count:int32 recent_viewer_user_id
|
|||
//@is_edited True, if the story was edited
|
||||
//@is_pinned True, if the story is saved in the sender's profile and will be available there after expiration
|
||||
//@is_visible_only_for_self True, if the story is visible only for the current user
|
||||
//@can_be_deleted True, if the story can be deleted
|
||||
//@can_be_edited True, if the story can be edited
|
||||
//@can_be_forwarded True, if the story can be forwarded as a message. Otherwise, screenshots and saving of the story content must be also forbidden
|
||||
//@can_be_replied True, if the story can be replied in the chat with the story sender
|
||||
//@can_toggle_is_pinned True, if the story's is_pinned value can be changed
|
||||
//@can_get_viewers True, if users viewed the story can be received through getStoryViewers
|
||||
//@has_expired_viewers True, if users viewed the story can't be received, because the story has expired more than getOption("story_viewers_expiration_delay") seconds ago
|
||||
//@interaction_info Information about interactions with the story; may be null if the story isn't owned or there were no interactions
|
||||
|
@ -3310,7 +3334,7 @@ storyInteractionInfo view_count:int32 reaction_count:int32 recent_viewer_user_id
|
|||
//@content Content of the story
|
||||
//@areas Clickable areas to be shown on the story content
|
||||
//@caption Caption of the story
|
||||
story id:int32 sender_chat_id:int53 date:int32 is_being_sent:Bool is_being_edited:Bool is_edited:Bool is_pinned:Bool is_visible_only_for_self:Bool can_be_forwarded:Bool can_be_replied:Bool can_get_viewers:Bool has_expired_viewers:Bool interaction_info:storyInteractionInfo chosen_reaction_type:ReactionType privacy_settings:StoryPrivacySettings content:StoryContent areas:vector<storyArea> caption:formattedText = Story;
|
||||
story id:int32 sender_chat_id:int53 date:int32 is_being_sent:Bool is_being_edited:Bool is_edited:Bool is_pinned:Bool is_visible_only_for_self:Bool can_be_deleted:Bool can_be_edited:Bool can_be_forwarded:Bool can_be_replied:Bool can_toggle_is_pinned:Bool can_get_viewers:Bool has_expired_viewers:Bool interaction_info:storyInteractionInfo chosen_reaction_type:ReactionType privacy_settings:StoryPrivacySettings content:StoryContent areas:vector<storyArea> caption:formattedText = Story;
|
||||
|
||||
//@description Represents a list of stories @total_count Approximate total number of stories found @stories The list of stories
|
||||
stories total_count:int32 stories:vector<story> = Stories;
|
||||
|
@ -3330,6 +3354,23 @@ storyInfo story_id:int32 date:int32 is_for_close_friends:Bool = StoryInfo;
|
|||
chatActiveStories chat_id:int53 list:StoryList order:int53 max_read_story_id:int32 stories:vector<storyInfo> = ChatActiveStories;
|
||||
|
||||
|
||||
//@description Describes current boost status of a chat
|
||||
//@is_boosted True, if the current user has already boosted the chat
|
||||
//@level Current boost level of the chat
|
||||
//@boost_count The number of times the chat was boosted
|
||||
//@current_level_boost_count The number of boosts added to reach the current level
|
||||
//@next_level_boost_count The number of boosts needed to reach the next level; 0 if the next level isn't available
|
||||
//@premium_member_count Approximate number of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat
|
||||
//@premium_member_percentage A percentage of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat
|
||||
chatBoostStatus is_boosted:Bool level:int32 boost_count:int32 current_level_boost_count:int32 next_level_boost_count:int32 premium_member_count:int32 premium_member_percentage:double = ChatBoostStatus;
|
||||
|
||||
//@description Describes a boost of a chat @user_id Identifier of a user that boosted the chat @expiration_date Point in time (Unix timestamp) when the boost will automatically expire if the user will not prolongate their Telegram Premium subscription
|
||||
chatBoost user_id:int53 expiration_date:int32 = ChatBoost;
|
||||
|
||||
//@description Contains a list of boosts applied to a chat @total_count Total number of boosts applied to the chat @boosts List of boosts @next_offset The offset for the next request. If empty, there are no more results
|
||||
foundChatBoosts total_count:int32 boosts:vector<chatBoost> next_offset:string = FoundChatBoosts;
|
||||
|
||||
|
||||
//@class CallDiscardReason @description Describes the reason why a call was discarded
|
||||
|
||||
//@description The call wasn't discarded, or the reason is unknown
|
||||
|
@ -4184,6 +4225,9 @@ premiumLimitTypeMonthlySentStoryCount = PremiumLimitType;
|
|||
//@description The maximum length of captions of sent stories
|
||||
premiumLimitTypeStoryCaptionLength = PremiumLimitType;
|
||||
|
||||
//@description The maximum number of suggested reaction areas on a story
|
||||
premiumLimitTypeStorySuggestedReactionAreaCount = PremiumLimitType;
|
||||
|
||||
|
||||
//@class PremiumFeature @description Describes a feature available to Premium users
|
||||
|
||||
|
@ -4235,10 +4279,13 @@ premiumFeatureRealTimeChatTranslation = PremiumFeature;
|
|||
//@description Allowed to use many additional features for stories
|
||||
premiumFeatureUpgradedStories = PremiumFeature;
|
||||
|
||||
//@description The ability to boost chats
|
||||
premiumFeatureChatBoost = PremiumFeature;
|
||||
|
||||
|
||||
//@class PremiumStoryFeature @description Describes a story feature available to Premium users
|
||||
|
||||
//@description User stories are displayed before stories of non-premium contacts
|
||||
//@description User stories are displayed before stories of non-premium contacts and channels
|
||||
premiumStoryFeaturePriorityOrder = PremiumStoryFeature;
|
||||
|
||||
//@description The ability to hide the fact that the user viewed other's stories
|
||||
|
@ -4417,7 +4464,7 @@ chatTheme name:string light_settings:themeSettings dark_settings:themeSettings =
|
|||
hashtags hashtags:vector<string> = Hashtags;
|
||||
|
||||
|
||||
//@class CanSendStoryResult @description Represents result of checking whether the current user can send a story
|
||||
//@class CanSendStoryResult @description Represents result of checking whether the current user can send a story in the specific chat
|
||||
|
||||
//@description A story can be sent
|
||||
canSendStoryResultOk = CanSendStoryResult;
|
||||
|
@ -4425,6 +4472,9 @@ canSendStoryResultOk = CanSendStoryResult;
|
|||
//@description The user must subscribe to Telegram Premium to be able to post stories
|
||||
canSendStoryResultPremiumNeeded = CanSendStoryResult;
|
||||
|
||||
//@description The channel chat must be boosted first by Telegram Premium subscribers to post more stories. Call getChatBoostStatus to get current boost status of the chat
|
||||
canSendStoryResultBoostNeeded = CanSendStoryResult;
|
||||
|
||||
//@description The limit for the number of active stories exceeded. The user can buy Telegram Premium, delete an active story, or wait for the oldest story to expire
|
||||
canSendStoryResultActiveStoryLimitExceeded = CanSendStoryResult;
|
||||
|
||||
|
@ -4435,6 +4485,27 @@ canSendStoryResultWeeklyLimitExceeded retry_after:int32 = CanSendStoryResult;
|
|||
canSendStoryResultMonthlyLimitExceeded retry_after:int32 = CanSendStoryResult;
|
||||
|
||||
|
||||
//@class CanBoostChatResult @description Represents result of checking whether the current user can boost the specific chat
|
||||
|
||||
//@description The chat can be boosted @currently_boosted_chat_id Identifier of the currently boosted chat from which boost will be removed; 0 if none
|
||||
canBoostChatResultOk currently_boosted_chat_id:int53 = CanBoostChatResult;
|
||||
|
||||
//@description The chat can't be boosted
|
||||
canBoostChatResultInvalidChat = CanBoostChatResult;
|
||||
|
||||
//@description The chat is already boosted by the user
|
||||
canBoostChatResultAlreadyBoosted = CanBoostChatResult;
|
||||
|
||||
//@description The user must subscribe to Telegram Premium to be able to boost chats
|
||||
canBoostChatResultPremiumNeeded = CanBoostChatResult;
|
||||
|
||||
//@description The user must have Telegram Premium subscription instead of a gifted Telegram Premium
|
||||
canBoostChatResultPremiumSubscriptionNeeded = CanBoostChatResult;
|
||||
|
||||
//@description The user must wait the specified time before the boost can be moved to another chat @retry_after Time left before the user can boost another chat
|
||||
canBoostChatResultWaitNeeded retry_after:int32 = CanBoostChatResult;
|
||||
|
||||
|
||||
//@class CanTransferOwnershipResult @description Represents result of checking whether the current session can be used to transfer a chat ownership to another user
|
||||
|
||||
//@description The session can be used
|
||||
|
@ -5020,6 +5091,12 @@ internalLinkTypeBotStartInGroup bot_username:string start_parameter:string admin
|
|||
//@description The link is a link to the change phone number section of the app
|
||||
internalLinkTypeChangePhoneNumber = InternalLinkType;
|
||||
|
||||
//@description The link is a link to boost a Telegram chat. Call getChatBoostLinkInfo with the given URL to process the link.
|
||||
//-If the chat is found, then call getChatBoostStatus and canBoostChat to get the current boost status and check whether the chat can be boosted.
|
||||
//-If the user wants to boost the chat and the chat can be boosted, then call boostChat
|
||||
//@url URL to be passed to getChatBoostLinkInfo
|
||||
internalLinkTypeChatBoost url:string = InternalLinkType;
|
||||
|
||||
//@description The link is an invite link to a chat folder. Call checkChatFolderInviteLink with the given invite link to process the link @invite_link Internal representation of the invite link
|
||||
internalLinkTypeChatFolderInvite invite_link:string = InternalLinkType;
|
||||
|
||||
|
@ -5144,7 +5221,7 @@ internalLinkTypeVideoChat chat_username:string invite_hash:string is_live_stream
|
|||
//@description The link is a link to a Web App. Call searchPublicChat with the given bot username, check that the user is a bot, then call searchWebApp with the received bot and the given web_app_short_name.
|
||||
//-Process received foundWebApp by showing a confirmation dialog if needed. If the bot can be added to attachment or side menu, but isn't added yet, then show a disclaimer about Mini Apps being a third-party apps
|
||||
//-instead of the dialog and ask the user to accept their Terms of service. If the user accept the terms and confirms adding, then use toggleBotIsAddedToAttachmentMenu to add the bot.
|
||||
//-Then call getWebAppLinkUrl and open the returned URL as a Web App
|
||||
//-Then, call getWebAppLinkUrl and open the returned URL as a Web App
|
||||
//@bot_username Username of the bot that owns the Web App
|
||||
//@web_app_short_name Short name of the Web App
|
||||
//@start_parameter Start parameter to be passed to getWebAppLinkUrl
|
||||
|
@ -5164,6 +5241,15 @@ messageLink link:string is_public:Bool = MessageLink;
|
|||
messageLinkInfo is_public:Bool chat_id:int53 message_thread_id:int53 message:message media_timestamp:int32 for_album:Bool = MessageLinkInfo;
|
||||
|
||||
|
||||
//@description Contains an HTTPS link to boost a chat @link The link @is_public True, if the link will work for non-members of the chat
|
||||
chatBoostLink link:string is_public:Bool = ChatBoostLink;
|
||||
|
||||
//@description Contains information about a link to boost a a chat
|
||||
//@is_public True, if the link will work for non-members of the chat
|
||||
//@chat_id Identifier of the chat to which the link points; 0 if the chat isn't found
|
||||
chatBoostLinkInfo is_public:Bool chat_id:int53 = ChatBoostLinkInfo;
|
||||
|
||||
|
||||
//@class BlockList @description Describes a type of a block list
|
||||
|
||||
//@description The main block list that disallows writing messages to the current user, receiving their status and photo, viewing of stories, and some other actions
|
||||
|
@ -5665,9 +5751,8 @@ updateMessageSendSucceeded message:message old_message_id:int53 = Update;
|
|||
//@description A message failed to send. Be aware that some messages being sent can be irrecoverably deleted, in which case updateDeleteMessages will be received instead of this update
|
||||
//@message The failed to send message
|
||||
//@old_message_id The previous temporary message identifier
|
||||
//@error_code An error code
|
||||
//@error_message Error message
|
||||
updateMessageSendFailed message:message old_message_id:int53 error_code:int32 error_message:string = Update;
|
||||
//@error The cause of the message sending failure
|
||||
updateMessageSendFailed message:message old_message_id:int53 error:error = Update;
|
||||
|
||||
//@description The message content has changed @chat_id Chat identifier @message_id Message identifier @new_content New message content
|
||||
updateMessageContent chat_id:int53 message_id:int53 new_content:MessageContent = Update;
|
||||
|
@ -5949,10 +6034,9 @@ updateStorySendSucceeded story:story old_story_id:int32 = Update;
|
|||
|
||||
//@description A story failed to send. If the story sending is canceled, then updateStoryDeleted will be received instead of this update
|
||||
//@story The failed to send story
|
||||
//@error The cause of the failure; may be null if unknown
|
||||
//@error_code An error code
|
||||
//@error_message Error message
|
||||
updateStorySendFailed story:story error:CanSendStoryResult error_code:int32 error_message:string = Update;
|
||||
//@error The cause of the story sending failure
|
||||
//@error_type Type of the error; may be null if unknown
|
||||
updateStorySendFailed story:story error:error error_type:CanSendStoryResult = Update;
|
||||
|
||||
//@description The list of active stories posted by a specific chat has changed
|
||||
//@active_stories The new list of active stories
|
||||
|
@ -6979,7 +7063,7 @@ setPollAnswer chat_id:int53 message_id:int53 option_ids:vector<int32> = Ok;
|
|||
//@limit The maximum number of voters to be returned; must be positive and can't be greater than 50. For optimal performance, the number of returned voters is chosen by TDLib and can be smaller than the specified limit, even if the end of the voter list has not been reached
|
||||
getPollVoters chat_id:int53 message_id:int53 option_id:int32 offset:int32 limit:int32 = MessageSenders;
|
||||
|
||||
//@description Stops a poll. A poll in a message can be stopped when the message has can_be_edited flag set
|
||||
//@description Stops a poll. A poll in a message can be stopped when the message has can_be_edited flag is set
|
||||
//@chat_id Identifier of the chat to which the poll belongs
|
||||
//@message_id Identifier of the message containing the poll
|
||||
//@reply_markup The new message reply markup; pass null if none; for bots only
|
||||
|
@ -7222,7 +7306,7 @@ createNewBasicGroupChat user_ids:vector<int53> title:string message_auto_delete_
|
|||
//@param_description Chat description; 0-255 characters
|
||||
//@location Chat location if a location-based supergroup is being created; pass null to create an ordinary supergroup chat
|
||||
//@message_auto_delete_time Message auto-delete time value, in seconds; must be from 0 up to 365 * 86400 and be divisible by 86400. If 0, then messages aren't deleted automatically
|
||||
//@for_import Pass true to create a supergroup for importing messages using importMessage
|
||||
//@for_import Pass true to create a supergroup for importing messages using importMessages
|
||||
createNewSupergroupChat title:string is_forum:Bool is_channel:Bool description:string location:chatLocation message_auto_delete_time:int32 for_import:Bool = Chat;
|
||||
|
||||
//@description Creates a new secret chat. Returns the newly created chat @user_id Identifier of the target user
|
||||
|
@ -7507,10 +7591,14 @@ readChatList chat_list:ChatList = Ok;
|
|||
//@only_local Pass true to get only locally available information without sending network requests
|
||||
getStory story_sender_chat_id:int53 story_id:int32 only_local:Bool = Story;
|
||||
|
||||
//@description Checks whether the current user can send a story
|
||||
canSendStory = CanSendStoryResult;
|
||||
//@description Returns channel chats in which the current user has the right to post stories. The chats must be rechecked with canSendStory before actually trying to post a story there
|
||||
getChatsToSendStories = Chats;
|
||||
|
||||
//@description Sends a new story. Returns a temporary story
|
||||
//@description Checks whether the current user can send a story on behalf of a chat; requires can_post_stories rights for channel chats @chat_id Chat identifier
|
||||
canSendStory chat_id:int53 = CanSendStoryResult;
|
||||
|
||||
//@description Sends a new story to a chat; requires can_post_stories rights for channel chats. Returns a temporary story
|
||||
//@chat_id Identifier of the chat that will post the story
|
||||
//@content Content of the story
|
||||
//@areas Clickable rectangle areas to be shown on the story media; pass null if none
|
||||
//@caption Story caption; pass null to use an empty caption; 0-getOption("story_caption_length_max") characters
|
||||
|
@ -7518,23 +7606,32 @@ canSendStory = CanSendStoryResult;
|
|||
//@active_period Period after which the story is moved to archive, in seconds; must be one of 6 * 3600, 12 * 3600, 86400, or 2 * 86400 for Telegram Premium users, and 86400 otherwise
|
||||
//@is_pinned Pass true to keep the story accessible after expiration
|
||||
//@protect_content Pass true if the content of the story must be protected from forwarding and screenshotting
|
||||
sendStory content:InputStoryContent areas:inputStoryAreas caption:formattedText privacy_settings:StoryPrivacySettings active_period:int32 is_pinned:Bool protect_content:Bool = Story;
|
||||
sendStory chat_id:int53 content:InputStoryContent areas:inputStoryAreas caption:formattedText privacy_settings:StoryPrivacySettings active_period:int32 is_pinned:Bool protect_content:Bool = Story;
|
||||
|
||||
//@description Changes content and caption of a previously sent story
|
||||
//@description Changes content and caption of a story. Can be called only if story.can_be_edited == true
|
||||
//@story_sender_chat_id Identifier of the chat that posted the story
|
||||
//@story_id Identifier of the story to edit
|
||||
//@content New content of the story; pass null to keep the current content
|
||||
//@areas New clickable rectangle areas to be shown on the story media; pass null to keep the current areas. Areas can't be edited if story content isn't changed
|
||||
//@caption New story caption; pass null to keep the current caption
|
||||
editStory story_id:int32 content:InputStoryContent areas:inputStoryAreas caption:formattedText = Ok;
|
||||
editStory story_sender_chat_id:int53 story_id:int32 content:InputStoryContent areas:inputStoryAreas caption:formattedText = Ok;
|
||||
|
||||
//@description Changes privacy settings of a previously sent story @story_id Identifier of the story @privacy_settings The new privacy settigs for the story
|
||||
setStoryPrivacySettings story_id:int32 privacy_settings:StoryPrivacySettings = Ok;
|
||||
//@description Changes privacy settings of a story. Can be called only if story.can_be_edited == true
|
||||
//@story_sender_chat_id Identifier of the chat that posted the story
|
||||
//@story_id Identifier of the story
|
||||
//@privacy_settings The new privacy settigs for the story
|
||||
setStoryPrivacySettings story_sender_chat_id:int53 story_id:int32 privacy_settings:StoryPrivacySettings = Ok;
|
||||
|
||||
//@description Toggles whether a story is accessible after expiration @story_id Identifier of the story @is_pinned Pass true to make the story accessible after expiration; pass false to make it private
|
||||
toggleStoryIsPinned story_id:int32 is_pinned:Bool = Ok;
|
||||
//@description Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_pinned == true
|
||||
//@story_sender_chat_id Identifier of the chat that posted the story
|
||||
//@story_id Identifier of the story
|
||||
//@is_pinned Pass true to make the story accessible after expiration; pass false to make it private
|
||||
toggleStoryIsPinned story_sender_chat_id:int53 story_id:int32 is_pinned:Bool = Ok;
|
||||
|
||||
//@description Deletes a previously sent story @story_id Identifier of the story to delete
|
||||
deleteStory story_id:int32 = Ok;
|
||||
//@description Deletes a previously sent story. Can be called only if story.can_be_deleted == true
|
||||
//@story_sender_chat_id Identifier of the chat that posted the story
|
||||
//@story_id Identifier of the story to delete
|
||||
deleteStory story_sender_chat_id:int53 story_id:int32 = Ok;
|
||||
|
||||
//@description Returns list of chats with non-default notification settings for stories
|
||||
getStoryNotificationSettingsExceptions = Chats;
|
||||
|
@ -7558,12 +7655,13 @@ getChatActiveStories chat_id:int53 = ChatActiveStories;
|
|||
//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit
|
||||
getChatPinnedStories chat_id:int53 from_story_id:int32 limit:int32 = Stories;
|
||||
|
||||
//@description Returns the list of all stories of the current user. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id).
|
||||
//-For optimal performance, the number of returned stories is chosen by TDLib
|
||||
//@description Returns the list of all stories posted by the given chat; requires can_edit_stories rights for channel chats.
|
||||
//-The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib
|
||||
//@chat_id Chat identifier
|
||||
//@from_story_id Identifier of the story starting from which stories must be returned; use 0 to get results from the last story
|
||||
//@limit The maximum number of stories to be returned
|
||||
//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit
|
||||
getArchivedStories from_story_id:int32 limit:int32 = Stories;
|
||||
getChatArchivedStories chat_id:int53 from_story_id:int32 limit:int32 = Stories;
|
||||
|
||||
//@description Informs TDLib that a story is opened and is being viewed by the user
|
||||
//@story_sender_chat_id The identifier of the sender of the opened story
|
||||
|
@ -7585,7 +7683,7 @@ getStoryAvailableReactions row_size:int32 = AvailableReactions;
|
|||
//@update_recent_reactions Pass true if the reaction needs to be added to recent reactions
|
||||
setStoryReaction story_sender_chat_id:int53 story_id:int32 reaction_type:ReactionType update_recent_reactions:Bool = Ok;
|
||||
|
||||
//@description Returns viewers of a story. The method can be called if story.can_get_viewers == true
|
||||
//@description Returns viewers of a story. The method can be called only for stories posted on behalf of the current user
|
||||
//@story_id Story identifier
|
||||
//@query Query to search for in names and usernames of the viewers; may be empty to get all relevant viewers
|
||||
//@only_contacts Pass true to get only contacts; pass false to get all relevant viewers
|
||||
|
@ -7606,6 +7704,28 @@ reportStory story_sender_chat_id:int53 story_id:int32 reason:ReportReason text:s
|
|||
activateStoryStealthMode = Ok;
|
||||
|
||||
|
||||
//@description Returns the current boost status for a channel chat @chat_id Identifier of the channel chat
|
||||
getChatBoostStatus chat_id:int53 = ChatBoostStatus;
|
||||
|
||||
//@description Checks whether the current user can boost a chat @chat_id Identifier of the chat
|
||||
canBoostChat chat_id:int53 = CanBoostChatResult;
|
||||
|
||||
//@description Boosts a chat @chat_id Identifier of the chat
|
||||
boostChat chat_id:int53 = Ok;
|
||||
|
||||
//@description Returns an HTTPS link to boost the specified channel chat @chat_id Identifier of the chat
|
||||
getChatBoostLink chat_id:int53 = ChatBoostLink;
|
||||
|
||||
//@description Returns information about a link to boost a chat. Can be called for any internal link of the type internalLinkTypeChatBoost @url The link to boost a chat
|
||||
getChatBoostLinkInfo url:string = ChatBoostLinkInfo;
|
||||
|
||||
//@description Returns list of boosts applied to a chat. The user must be an administrator in the channel chat to get the list of boosts
|
||||
//@chat_id Identifier of the chat
|
||||
//@offset Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
|
||||
//@limit The maximum number of boosts to be returned; up to 100. For optimal performance, the number of returned boosts can be smaller than the specified limit
|
||||
getChatBoosts chat_id:int53 offset:string limit:int32 = FoundChatBoosts;
|
||||
|
||||
|
||||
//@description Returns information about a bot that can be added to attachment or side menu @bot_user_id Bot's user identifier
|
||||
getAttachmentMenuBot bot_user_id:int53 = AttachmentMenuBot;
|
||||
|
||||
|
@ -7903,7 +8023,7 @@ setGroupCallTitle group_call_id:int32 title:string = Ok;
|
|||
//@mute_new_participants New value of the mute_new_participants setting
|
||||
toggleGroupCallMuteNewParticipants group_call_id:int32 mute_new_participants:Bool = Ok;
|
||||
|
||||
//@description Invites users to an active group call. Sends a service message of type messageInviteToGroupCall for video chats
|
||||
//@description Invites users to an active group call. Sends a service message of type messageInviteVideoChatParticipants for video chats
|
||||
//@group_call_id Group call identifier
|
||||
//@user_ids User identifiers. At most 10 users can be invited simultaneously
|
||||
inviteGroupCallParticipants group_call_id:int32 user_ids:vector<int53> = Ok;
|
||||
|
@ -8447,7 +8567,7 @@ closeSecretChat secret_chat_id:int32 = Ok;
|
|||
getChatEventLog chat_id:int53 query:string from_event_id:int64 limit:int32 filters:chatEventLogFilters user_ids:vector<int53> = ChatEvents;
|
||||
|
||||
|
||||
//@description Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy
|
||||
//@description Returns an invoice payment form. This method must be called when the user presses inline button of the type inlineKeyboardButtonTypeBuy
|
||||
//@input_invoice The invoice
|
||||
//@theme Preferred payment form theme; pass null to use the default theme
|
||||
getPaymentForm input_invoice:InputInvoice theme:themeParameters = PaymentForm;
|
||||
|
|
|
@ -63,7 +63,7 @@ inputMediaInvoice#8eb5a6d5 flags:# title:string description:string photo:flags.0
|
|||
inputMediaGeoLive#971fa843 flags:# stopped:flags.0?true geo_point:InputGeoPoint heading:flags.2?int period:flags.1?int proximity_notification_radius:flags.3?int = InputMedia;
|
||||
inputMediaPoll#f94e5f1 flags:# poll:Poll correct_answers:flags.0?Vector<bytes> solution:flags.1?string solution_entities:flags.1?Vector<MessageEntity> = InputMedia;
|
||||
inputMediaDice#e66fbf7b emoticon:string = InputMedia;
|
||||
inputMediaStory#9a86b58f user_id:InputUser id:int = InputMedia;
|
||||
inputMediaStory#89fdd778 peer:InputPeer id:int = InputMedia;
|
||||
|
||||
inputChatPhotoEmpty#1ca48f57 = InputChatPhoto;
|
||||
inputChatUploadedPhoto#bdcdaec0 flags:# file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.3?VideoSize = InputChatPhoto;
|
||||
|
@ -117,11 +117,11 @@ userStatusLastMonth#77ebc742 = UserStatus;
|
|||
chatEmpty#29562865 id:long = Chat;
|
||||
chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat;
|
||||
chatForbidden#6592a1a7 id:long title:string = Chat;
|
||||
channel#83259464 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector<Username> = Chat;
|
||||
channel#94f592db flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector<Username> stories_max_id:flags2.4?int = Chat;
|
||||
channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat;
|
||||
|
||||
chatFull#c9d31138 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true translations_disabled:flags.19?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector<BotInfo> pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector<long> available_reactions:flags.18?ChatReactions = ChatFull;
|
||||
channelFull#f2355507 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions = ChatFull;
|
||||
channelFull#723027bd flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions stories:flags2.4?PeerStories = ChatFull;
|
||||
|
||||
chatParticipant#c02d4007 user_id:long inviter_id:long date:int = ChatParticipant;
|
||||
chatParticipantCreator#e46bcee4 user_id:long = ChatParticipant;
|
||||
|
@ -150,7 +150,7 @@ messageMediaInvoice#f6a548d3 flags:# shipping_address_requested:flags.1?true tes
|
|||
messageMediaGeoLive#b940c666 flags:# geo:GeoPoint heading:flags.0?int period:int proximity_notification_radius:flags.1?int = MessageMedia;
|
||||
messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia;
|
||||
messageMediaDice#3f7ee58b value:int emoticon:string = MessageMedia;
|
||||
messageMediaStory#cbb20d88 flags:# via_mention:flags.1?true user_id:long id:int story:flags.0?StoryItem = MessageMedia;
|
||||
messageMediaStory#68cb6283 flags:# via_mention:flags.1?true peer:Peer id:int story:flags.0?StoryItem = MessageMedia;
|
||||
|
||||
messageActionEmpty#b6aef7b0 = MessageAction;
|
||||
messageActionChatCreate#bd47cbad title:string users:Vector<long> = MessageAction;
|
||||
|
@ -242,7 +242,7 @@ inputReportReasonFake#f5ddd6e7 = ReportReason;
|
|||
inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
|
||||
inputReportReasonPersonalDetails#9ec7863d = ReportReason;
|
||||
|
||||
userFull#4fe1cc86 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper stories:flags.25?UserStories = UserFull;
|
||||
userFull#b9b12c6c flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper stories:flags.25?PeerStories = UserFull;
|
||||
|
||||
contact#145ade0b user_id:long mutual:Bool = Contact;
|
||||
|
||||
|
@ -404,11 +404,11 @@ updateChannelPinnedTopics#fe198602 flags:# channel_id:long order:flags.0?Vector<
|
|||
updateUser#20529438 user_id:long = Update;
|
||||
updateAutoSaveSettings#ec05b097 = Update;
|
||||
updateGroupInvitePrivacyForbidden#ccf08ad6 user_id:long = Update;
|
||||
updateStory#205a4133 user_id:long story:StoryItem = Update;
|
||||
updateReadStories#feb5345a user_id:long max_id:int = Update;
|
||||
updateStory#75b3b798 peer:Peer story:StoryItem = Update;
|
||||
updateReadStories#f74e932b peer:Peer max_id:int = Update;
|
||||
updateStoryID#1bf335b9 id:int random_id:long = Update;
|
||||
updateStoriesStealthMode#2c084dc1 stealth_mode:StoriesStealthMode = Update;
|
||||
updateSentStoryReaction#e3a73d20 user_id:long story_id:int reaction:Reaction = Update;
|
||||
updateSentStoryReaction#7d627683 peer:Peer story_id:int reaction:Reaction = Update;
|
||||
|
||||
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
|
||||
|
||||
|
@ -864,7 +864,7 @@ dataJSON#7d748d04 data:string = DataJSON;
|
|||
|
||||
labeledPrice#cb296bf8 label:string amount:long = LabeledPrice;
|
||||
|
||||
invoice#3e85a91b flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector<LabeledPrice> max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector<long> recurring_terms_url:flags.9?string = Invoice;
|
||||
invoice#5db95a15 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector<LabeledPrice> max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector<long> terms_url:flags.10?string = Invoice;
|
||||
|
||||
paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge;
|
||||
|
||||
|
@ -1144,7 +1144,7 @@ chatOnlines#f041e250 onlines:int = ChatOnlines;
|
|||
|
||||
statsURL#47a971e0 url:string = StatsURL;
|
||||
|
||||
chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true anonymous:flags.10?true manage_call:flags.11?true other:flags.12?true manage_topics:flags.13?true = ChatAdminRights;
|
||||
chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true anonymous:flags.10?true manage_call:flags.11?true other:flags.12?true manage_topics:flags.13?true post_stories:flags.14?true edit_stories:flags.15?true delete_stories:flags.16?true = ChatAdminRights;
|
||||
|
||||
chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true manage_topics:flags.18?true send_photos:flags.19?true send_videos:flags.20?true send_roundvideos:flags.21?true send_audios:flags.22?true send_voices:flags.23?true send_docs:flags.24?true send_plain:flags.25?true until_date:int = ChatBannedRights;
|
||||
|
||||
|
@ -1219,7 +1219,7 @@ inputThemeSettings#8fde504f flags:# message_colors_animated:flags.2?true base_th
|
|||
themeSettings#fa58b6d4 flags:# message_colors_animated:flags.2?true base_theme:BaseTheme accent_color:int outbox_accent_color:flags.3?int message_colors:flags.0?Vector<int> wallpaper:flags.1?WallPaper = ThemeSettings;
|
||||
|
||||
webPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector<Document> settings:flags.1?ThemeSettings = WebPageAttribute;
|
||||
webPageAttributeStory#939a4671 flags:# user_id:long id:int story:flags.0?StoryItem = WebPageAttribute;
|
||||
webPageAttributeStory#2e94c3e7 flags:# peer:Peer id:int story:flags.0?StoryItem = WebPageAttribute;
|
||||
|
||||
messages.votesList#4899484e flags:# count:int votes:Vector<MessagePeerVote> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = messages.VotesList;
|
||||
|
||||
|
@ -1550,20 +1550,16 @@ messagePeerVoteMultiple#4628f6e6 peer:Peer options:Vector<bytes> date:int = Mess
|
|||
|
||||
sponsoredWebPage#3db8ec63 flags:# url:string site_name:string photo:flags.0?Photo = SponsoredWebPage;
|
||||
|
||||
storyViews#c64c0b97 flags:# has_viewers:flags.1?true views_count:int reactions_count:int recent_viewers:flags.0?Vector<long> = StoryViews;
|
||||
storyViews#8d595cd6 flags:# has_viewers:flags.1?true views_count:int forwards_count:flags.2?int reactions:flags.3?Vector<ReactionCount> reactions_count:flags.4?int recent_viewers:flags.0?Vector<long> = StoryViews;
|
||||
|
||||
storyItemDeleted#51e6ee4f id:int = StoryItem;
|
||||
storyItemSkipped#ffadc913 flags:# close_friends:flags.8?true id:int date:int expire_date:int = StoryItem;
|
||||
storyItem#44c457ce flags:# pinned:flags.5?true public:flags.7?true close_friends:flags.8?true min:flags.9?true noforwards:flags.10?true edited:flags.11?true contacts:flags.12?true selected_contacts:flags.13?true id:int date:int expire_date:int caption:flags.0?string entities:flags.1?Vector<MessageEntity> media:MessageMedia media_areas:flags.14?Vector<MediaArea> privacy:flags.2?Vector<PrivacyRule> views:flags.3?StoryViews sent_reaction:flags.15?Reaction = StoryItem;
|
||||
|
||||
userStories#8611a200 flags:# user_id:long max_read_id:flags.0?int stories:Vector<StoryItem> = UserStories;
|
||||
storyItem#44c457ce flags:# pinned:flags.5?true public:flags.7?true close_friends:flags.8?true min:flags.9?true noforwards:flags.10?true edited:flags.11?true contacts:flags.12?true selected_contacts:flags.13?true out:flags.16?true id:int date:int expire_date:int caption:flags.0?string entities:flags.1?Vector<MessageEntity> media:MessageMedia media_areas:flags.14?Vector<MediaArea> privacy:flags.2?Vector<PrivacyRule> views:flags.3?StoryViews sent_reaction:flags.15?Reaction = StoryItem;
|
||||
|
||||
stories.allStoriesNotModified#1158fe3e flags:# state:string stealth_mode:StoriesStealthMode = stories.AllStories;
|
||||
stories.allStories#519d899e flags:# has_more:flags.0?true count:int state:string user_stories:Vector<UserStories> users:Vector<User> stealth_mode:StoriesStealthMode = stories.AllStories;
|
||||
stories.allStories#6efc5e81 flags:# has_more:flags.0?true count:int state:string peer_stories:Vector<PeerStories> chats:Vector<Chat> users:Vector<User> stealth_mode:StoriesStealthMode = stories.AllStories;
|
||||
|
||||
stories.stories#4fe57df1 count:int stories:Vector<StoryItem> users:Vector<User> = stories.Stories;
|
||||
|
||||
stories.userStories#37a6ff5f stories:UserStories users:Vector<User> = stories.UserStories;
|
||||
stories.stories#5dd8c3c8 count:int stories:Vector<StoryItem> chats:Vector<Chat> users:Vector<User> = stories.Stories;
|
||||
|
||||
storyView#b0bdeac5 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true user_id:long date:int reaction:flags.2?Reaction = StoryView;
|
||||
|
||||
|
@ -1583,6 +1579,20 @@ mediaAreaCoordinates#3d1ea4e x:double y:double w:double h:double rotation:double
|
|||
mediaAreaVenue#be82db9c coordinates:MediaAreaCoordinates geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MediaArea;
|
||||
inputMediaAreaVenue#b282217f coordinates:MediaAreaCoordinates query_id:long result_id:string = MediaArea;
|
||||
mediaAreaGeoPoint#df8b3b22 coordinates:MediaAreaCoordinates geo:GeoPoint = MediaArea;
|
||||
mediaAreaSuggestedReaction#14455871 flags:# dark:flags.0?true flipped:flags.1?true coordinates:MediaAreaCoordinates reaction:Reaction = MediaArea;
|
||||
|
||||
peerStories#9a35e999 flags:# peer:Peer max_read_id:flags.0?int stories:Vector<StoryItem> = PeerStories;
|
||||
|
||||
stories.peerStories#cae68768 stories:PeerStories chats:Vector<Chat> users:Vector<User> = stories.PeerStories;
|
||||
|
||||
stories.boostsStatus#66ea1fef flags:# my_boost:flags.2?true level:int current_level_boosts:int boosts:int next_level_boosts:flags.0?int premium_audience:flags.1?StatsPercentValue = stories.BoostsStatus;
|
||||
|
||||
stories.canApplyBoostOk#c3173587 = stories.CanApplyBoostResult;
|
||||
stories.canApplyBoostReplace#712c4655 current_boost:Peer chats:Vector<Chat> = stories.CanApplyBoostResult;
|
||||
|
||||
booster#e9e6380 user_id:long expires:int = Booster;
|
||||
|
||||
stories.boostersList#f3dd3d1d flags:# count:int boosters:Vector<Booster> next_offset:flags.0?string users:Vector<User> = stories.BoostersList;
|
||||
|
||||
---functions---
|
||||
|
||||
|
@ -1709,7 +1719,6 @@ account.invalidateSignInCodes#ca8ae8ba codes:Vector<string> = Bool;
|
|||
users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
|
||||
users.getFullUser#b60f5918 id:InputUser = users.UserFull;
|
||||
users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector<SecureValueError> = Bool;
|
||||
users.getStoriesMaxIDs#ca1cb9ab id:Vector<InputUser> = Vector<int>;
|
||||
|
||||
contacts.getContactIDs#7adc669d hash:long = Vector<int>;
|
||||
contacts.getStatuses#c4a353ee = Vector<ContactStatus>;
|
||||
|
@ -1735,7 +1744,6 @@ contacts.resolvePhone#8af94344 phone:string = contacts.ResolvedPeer;
|
|||
contacts.exportContactToken#f8654027 = ExportedContactToken;
|
||||
contacts.importContactToken#13005788 token:string = User;
|
||||
contacts.editCloseFriends#ba6705f0 id:Vector<long> = Bool;
|
||||
contacts.toggleStoriesHidden#753fb865 id:InputUser hidden:Bool = Bool;
|
||||
contacts.setBlocked#94c65c76 flags:# my_stories_from:flags.0?true id:Vector<InputPeer> limit:int = Bool;
|
||||
|
||||
messages.getMessages#63c66506 id:Vector<InputMessage> = messages.Messages;
|
||||
|
@ -2124,23 +2132,30 @@ chatlists.hideChatlistUpdates#66e486fb chatlist:InputChatlist = Bool;
|
|||
chatlists.getLeaveChatlistSuggestions#fdbcd714 chatlist:InputChatlist = Vector<Peer>;
|
||||
chatlists.leaveChatlist#74fae13a chatlist:InputChatlist peers:Vector<InputPeer> = Updates;
|
||||
|
||||
stories.canSendStory#b100d45d = Bool;
|
||||
stories.sendStory#d455fcec flags:# pinned:flags.2?true noforwards:flags.4?true media:InputMedia media_areas:flags.5?Vector<MediaArea> caption:flags.0?string entities:flags.1?Vector<MessageEntity> privacy_rules:Vector<InputPrivacyRule> random_id:long period:flags.3?int = Updates;
|
||||
stories.editStory#a9b91ae4 flags:# id:int media:flags.0?InputMedia media_areas:flags.3?Vector<MediaArea> caption:flags.1?string entities:flags.1?Vector<MessageEntity> privacy_rules:flags.2?Vector<InputPrivacyRule> = Updates;
|
||||
stories.deleteStories#b5d501d7 id:Vector<int> = Vector<int>;
|
||||
stories.togglePinned#51602944 id:Vector<int> pinned:Bool = Vector<int>;
|
||||
stories.canSendStory#c7dfdfdd peer:InputPeer = Bool;
|
||||
stories.sendStory#bcb73644 flags:# pinned:flags.2?true noforwards:flags.4?true peer:InputPeer media:InputMedia media_areas:flags.5?Vector<MediaArea> caption:flags.0?string entities:flags.1?Vector<MessageEntity> privacy_rules:Vector<InputPrivacyRule> random_id:long period:flags.3?int = Updates;
|
||||
stories.editStory#b583ba46 flags:# peer:InputPeer id:int media:flags.0?InputMedia media_areas:flags.3?Vector<MediaArea> caption:flags.1?string entities:flags.1?Vector<MessageEntity> privacy_rules:flags.2?Vector<InputPrivacyRule> = Updates;
|
||||
stories.deleteStories#ae59db5f peer:InputPeer id:Vector<int> = Vector<int>;
|
||||
stories.togglePinned#9a75a1ef peer:InputPeer id:Vector<int> pinned:Bool = Vector<int>;
|
||||
stories.getAllStories#eeb0d625 flags:# next:flags.1?true hidden:flags.2?true state:flags.0?string = stories.AllStories;
|
||||
stories.getUserStories#96d528e0 user_id:InputUser = stories.UserStories;
|
||||
stories.getPinnedStories#b471137 user_id:InputUser offset_id:int limit:int = stories.Stories;
|
||||
stories.getStoriesArchive#1f5bc5d2 offset_id:int limit:int = stories.Stories;
|
||||
stories.getStoriesByID#6a15cf46 user_id:InputUser id:Vector<int> = stories.Stories;
|
||||
stories.getPinnedStories#5821a5dc peer:InputPeer offset_id:int limit:int = stories.Stories;
|
||||
stories.getStoriesArchive#b4352016 peer:InputPeer offset_id:int limit:int = stories.Stories;
|
||||
stories.getStoriesByID#5774ca74 peer:InputPeer id:Vector<int> = stories.Stories;
|
||||
stories.toggleAllStoriesHidden#7c2557c4 hidden:Bool = Bool;
|
||||
stories.getAllReadUserStories#729c562c = Updates;
|
||||
stories.readStories#edc5105b user_id:InputUser max_id:int = Vector<int>;
|
||||
stories.incrementStoryViews#22126127 user_id:InputUser id:Vector<int> = Bool;
|
||||
stories.getStoryViewsList#f95f61a4 flags:# just_contacts:flags.0?true reactions_first:flags.2?true q:flags.1?string id:int offset:string limit:int = stories.StoryViewsList;
|
||||
stories.getStoriesViews#9a75d6a6 id:Vector<int> = stories.StoryViews;
|
||||
stories.exportStoryLink#16e443ce user_id:InputUser id:int = ExportedStoryLink;
|
||||
stories.report#c95be06a user_id:InputUser id:Vector<int> reason:ReportReason message:string = Bool;
|
||||
stories.readStories#a556dac8 peer:InputPeer max_id:int = Vector<int>;
|
||||
stories.incrementStoryViews#b2028afb peer:InputPeer id:Vector<int> = Bool;
|
||||
stories.getStoryViewsList#7ed23c57 flags:# just_contacts:flags.0?true reactions_first:flags.2?true peer:InputPeer q:flags.1?string id:int offset:string limit:int = stories.StoryViewsList;
|
||||
stories.getStoriesViews#28e16cc8 peer:InputPeer id:Vector<int> = stories.StoryViews;
|
||||
stories.exportStoryLink#7b8def20 peer:InputPeer id:int = ExportedStoryLink;
|
||||
stories.report#1923fa8c peer:InputPeer id:Vector<int> reason:ReportReason message:string = Bool;
|
||||
stories.activateStealthMode#57bbd166 flags:# past:flags.0?true future:flags.1?true = Updates;
|
||||
stories.sendReaction#49aaa9b3 flags:# add_to_recent:flags.0?true user_id:InputUser story_id:int reaction:Reaction = Updates;
|
||||
stories.sendReaction#7fd736b2 flags:# add_to_recent:flags.0?true peer:InputPeer story_id:int reaction:Reaction = Updates;
|
||||
stories.getPeerStories#2c4ada50 peer:InputPeer = stories.PeerStories;
|
||||
stories.getAllReadPeerStories#9b5ae7f9 = Updates;
|
||||
stories.getPeerMaxIDs#535983c3 id:Vector<InputPeer> = Vector<int>;
|
||||
stories.getChatsToSend#a56a8b60 = messages.Chats;
|
||||
stories.togglePeerStoriesHidden#bd0415c4 peer:InputPeer hidden:Bool = Bool;
|
||||
stories.getBoostsStatus#4c449472 peer:InputPeer = stories.BoostsStatus;
|
||||
stories.getBoostersList#337ef980 peer:InputPeer offset:string limit:int = stories.BoostersList;
|
||||
stories.canApplyBoost#db05c1bd peer:InputPeer = stories.CanApplyBoostResult;
|
||||
stories.applyBoost#f29d7c2b peer:InputPeer = Bool;
|
||||
|
|
Loading…
Reference in a new issue