mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-03-14 13:04:31 +01:00
Update content of files
This commit is contained in:
parent
d7961965ae
commit
dedca03c2c
10 changed files with 66 additions and 83 deletions
|
@ -46,6 +46,7 @@
|
|||
|
||||
<p>Below you will find information on schema changes. For more details on the use of layers, see <a href="/api/invoking#layers">Invoking API methods</a>.</p>
|
||||
<h3><a class="anchor" href="#layer-155" id="layer-155" name="layer-155"><i class="anchor-icon"></i></a><a href="/schema?layer=155">Layer 155</a></h3>
|
||||
<p>Reaction dates.</p>
|
||||
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
|
||||
<h5><a class="anchor" href="#changed-constructors" id="changed-constructors" name="changed-constructors"><i class="anchor-icon"></i></a>Changed Constructors</h5>
|
||||
<ul>
|
||||
|
@ -54,6 +55,7 @@
|
|||
<h4><a class="anchor" href="#schema" id="schema" name="schema"><i class="anchor-icon"></i></a>Schema</h4>
|
||||
<div><pre><code><a href="/constructor/messagePeerReaction">messagePeerReaction</a>#8c79b63c flags:<a href="/type/%23">#</a> big:flags.0?<a href="/constructor/true">true</a> unread:flags.1?<a href="/constructor/true">true</a> peer_id:<a href="/type/Peer">Peer</a> date:<a href="/type/int">int</a> reaction:<a href="/type/Reaction">Reaction</a> = <a href="/type/MessagePeerReaction">MessagePeerReaction</a>;<br></code></pre></div>
|
||||
<h3><a class="anchor" href="#layer-154" id="layer-154" name="layer-154"><i class="anchor-icon"></i></a><a href="/schema?layer=154">Layer 154</a></h3>
|
||||
<p>Multiple <a href="/api/bots/webapps#bot-web-apps">bot web apps</a>, allow bots to edit their own about text and description,</p>
|
||||
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
|
||||
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
|
||||
<ul>
|
||||
|
@ -114,11 +116,11 @@
|
|||
<a href="/method/bots.setBotInfo">bots.setBotInfo</a>#a365df7a flags:<a href="/type/%23">#</a> lang_code:<a href="/type/string">string</a> about:flags.0?<a href="/type/string">string</a> description:flags.1?<a href="/type/string">string</a> = <a href="/type/Bool">Bool</a>;
|
||||
<a href="/method/bots.getBotInfo">bots.getBotInfo</a>#75ec12e6 lang_code:<a href="/type/string">string</a> = <a href="/type/Vector%20t">Vector</a><<a href="/type/string">string</a>>;<br></code></pre></div>
|
||||
<h3><a class="anchor" href="#layer-153" id="layer-153" name="layer-153"><i class="anchor-icon"></i></a><a href="/schema?layer=153">Layer 153</a></h3>
|
||||
<p>Allow bots to modify stickersets they created, allow assigning keywords to <a href="/api/custom-emoji">custom emoji stickers</a>, allow changing the thumbnail of <a href="/api/custom-emoji">custom emoji stickersets</a> and improve <a href="/api/config">client configuration caching</a>. </p>
|
||||
<p>Allow bots to modify stickersets they created, allow assigning keywords to <a href="/api/custom-emoji">custom emoji stickers</a>, allow changing the thumbnail of <a href="/api/custom-emoji">custom emoji stickersets</a> and improve <a href="/api/config">client configuration caching</a>.</p>
|
||||
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
|
||||
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
|
||||
<ul>
|
||||
<li>Added <a href="/method/stickers.changeSticker">stickers.changeSticker</a> - Update the keywords, emojis or <a href="/api/stickers#mask-stickers">mask coordinates</a> of a sticker</li>
|
||||
<li>Added <a href="/method/stickers.changeSticker">stickers.changeSticker</a> - Update the keywords, emojis or <a href="/api/stickers#mask-stickers">mask coordinates</a> of a sticker, bots only.</li>
|
||||
<li>Added <a href="/method/stickers.renameStickerSet">stickers.renameStickerSet</a> - Renames a stickerset, bots only.</li>
|
||||
<li>Added <a href="/method/stickers.deleteStickerSet">stickers.deleteStickerSet</a> - Deletes a stickerset we created, bots only.</li>
|
||||
</ul>
|
||||
|
@ -184,8 +186,8 @@
|
|||
<li>Added <a href="/constructor/emojiGroup">emojiGroup</a> - </li>
|
||||
<li>Added <a href="/constructor/messages.emojiGroupsNotModified">messages.emojiGroupsNotModified</a> - </li>
|
||||
<li>Added <a href="/constructor/messages.emojiGroups">messages.emojiGroups</a> - </li>
|
||||
<li>Added <a href="/constructor/videoSizeEmojiMarkup">videoSizeEmojiMarkup</a> - </li>
|
||||
<li>Added <a href="/constructor/videoSizeStickerMarkup">videoSizeStickerMarkup</a> - </li>
|
||||
<li>Added <a href="/constructor/videoSizeEmojiMarkup">videoSizeEmojiMarkup</a> - An <a href="/api/files#animated-profile-pictures">animated profile picture</a> based on a <a href="/api/custom-emoji">custom emoji sticker</a>.</li>
|
||||
<li>Added <a href="/constructor/videoSizeStickerMarkup">videoSizeStickerMarkup</a> - An <a href="/api/files#animated-profile-pictures">animated profile picture</a> based on a <a href="/api/stickers">sticker</a>.</li>
|
||||
<li>Added <a href="/constructor/textWithEntities">textWithEntities</a> - Styled text with <a href="/api/entities">message entities</a></li>
|
||||
<li>Added <a href="/constructor/messages.translateResult">messages.translateResult</a> - </li>
|
||||
<li>Added <a href="/constructor/autoSaveSettings">autoSaveSettings</a> - Media autosave settings</li>
|
||||
|
@ -265,6 +267,7 @@
|
|||
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
|
||||
<ul>
|
||||
<li>Added <strong>flags</strong>, <strong>fallback</strong> parameters in <a href="/method/photos.updateProfilePhoto">photos.updateProfilePhoto</a></li>
|
||||
<li>Added <strong>fallback</strong> parameter in <a href="/method/photos.uploadProfilePhoto">photos.uploadProfilePhoto</a></li>
|
||||
<li>Added <strong>flags</strong>, <strong>write_allowed</strong> parameters in <a href="/method/messages.toggleBotInAttachMenu">messages.toggleBotInAttachMenu</a></li>
|
||||
</ul>
|
||||
<h5><a class="anchor" href="#new-constructors" id="new-constructors" name="new-constructors"><i class="anchor-icon"></i></a>New Constructors</h5>
|
||||
|
@ -313,7 +316,8 @@
|
|||
<a href="/constructor/stickerSetNoCovered">stickerSetNoCovered</a>#77b15d1c set:<a href="/type/StickerSet">StickerSet</a> = <a href="/type/StickerSetCovered">StickerSetCovered</a>;<br>
|
||||
<a href="/constructor/updateUser">updateUser</a>#20529438 user_id:<a href="/type/long">long</a> = <a href="/type/Update">Update</a>;<br>
|
||||
---functions---<br>
|
||||
<a href="/method/photos.updateProfilePhoto">photos.updateProfilePhoto</a>#1c3d5956 flags:<a href="/type/%23">#</a> fallback:flags.0?<a href="/constructor/true">true</a> id:<a href="/type/InputPhoto">InputPhoto</a> = <a href="/type/photos.Photo">photos.Photo</a>;<br>
|
||||
<a href="/method/photos.updateProfilePhoto">photos.updateProfilePhoto</a>#1c3d5956 flags:<a href="/type/%23">#</a> fallback:flags.0?<a href="/constructor/true">true</a> id:<a href="/type/InputPhoto">InputPhoto</a> = <a href="/type/photos.Photo">photos.Photo</a>;
|
||||
<a href="/method/photos.uploadProfilePhoto">photos.uploadProfilePhoto</a>#89f30f69 flags:<a href="/type/%23">#</a> fallback:flags.3?<a href="/constructor/true">true</a> file:flags.0?<a href="/type/InputFile">InputFile</a> video:flags.1?<a href="/type/InputFile">InputFile</a> video_start_ts:flags.2?<a href="/type/double">double</a> = <a href="/type/photos.Photo">photos.Photo</a>;<br>
|
||||
<a href="/method/messages.toggleBotInAttachMenu">messages.toggleBotInAttachMenu</a>#69f59d69 flags:<a href="/type/%23">#</a> write_allowed:flags.0?<a href="/constructor/true">true</a> bot:<a href="/type/InputUser">InputUser</a> enabled:<a href="/type/Bool">Bool</a> = <a href="/type/Bool">Bool</a>;<br>
|
||||
<a href="/method/photos.uploadContactProfilePhoto">photos.uploadContactProfilePhoto</a>#b91a83bf flags:<a href="/type/%23">#</a> suggest:flags.3?<a href="/constructor/true">true</a> save:flags.4?<a href="/constructor/true">true</a> user_id:<a href="/type/InputUser">InputUser</a> file:flags.0?<a href="/type/InputFile">InputFile</a> video:flags.1?<a href="/type/InputFile">InputFile</a> video_start_ts:flags.2?<a href="/type/double">double</a> = <a href="/type/photos.Photo">photos.Photo</a>;<br>
|
||||
<a href="/method/channels.toggleParticipantsHidden">channels.toggleParticipantsHidden</a>#6a6e7854 channel:<a href="/type/InputChannel">InputChannel</a> enabled:<a href="/type/Bool">Bool</a> = <a href="/type/Updates">Updates</a>;<br></code></pre></div>
|
||||
|
@ -332,6 +336,7 @@
|
|||
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
|
||||
<ul>
|
||||
<li>Added <strong>flags</strong>, <strong>ttl_period</strong> parameters in <a href="/method/messages.createChat">messages.createChat</a></li>
|
||||
<li>Removed <strong>fallback</strong> parameter in <a href="/method/photos.uploadProfilePhoto">photos.uploadProfilePhoto</a></li>
|
||||
<li>Added <strong>forum</strong>, <strong>ttl_period</strong> parameters in <a href="/method/channels.createChannel">channels.createChannel</a></li>
|
||||
<li>Added <strong>hidden</strong> parameter in <a href="/method/channels.editForumTopic">channels.editForumTopic</a></li>
|
||||
</ul>
|
||||
|
@ -362,6 +367,7 @@
|
|||
<a href="/constructor/channelAdminLogEventActionToggleAntiSpam">channelAdminLogEventActionToggleAntiSpam</a>#64f36dfc new_value:<a href="/type/Bool">Bool</a> = <a href="/type/ChannelAdminLogEventAction">ChannelAdminLogEventAction</a>;<br>
|
||||
---functions---<br>
|
||||
<a href="/method/messages.createChat">messages.createChat</a>#0034a818 flags:<a href="/type/%23">#</a> users:<a href="/type/Vector%20t">Vector</a><<a href="/type/InputUser">InputUser</a>> title:<a href="/type/string">string</a> ttl_period:flags.0?<a href="/type/int">int</a> = <a href="/type/Updates">Updates</a>;<br>
|
||||
<a href="/method/photos.uploadProfilePhoto">photos.uploadProfilePhoto</a>#89f30f69 flags:<a href="/type/%23">#</a> file:flags.0?<a href="/type/InputFile">InputFile</a> video:flags.1?<a href="/type/InputFile">InputFile</a> video_start_ts:flags.2?<a href="/type/double">double</a> = <a href="/type/photos.Photo">photos.Photo</a>;<br>
|
||||
<a href="/method/channels.createChannel">channels.createChannel</a>#91006707 flags:<a href="/type/%23">#</a> broadcast:flags.0?<a href="/constructor/true">true</a> megagroup:flags.1?<a href="/constructor/true">true</a> for_import:flags.3?<a href="/constructor/true">true</a> forum:flags.5?<a href="/constructor/true">true</a> title:<a href="/type/string">string</a> about:<a href="/type/string">string</a> geo_point:flags.2?<a href="/type/InputGeoPoint">InputGeoPoint</a> address:flags.2?<a href="/type/string">string</a> ttl_period:flags.4?<a href="/type/int">int</a> = <a href="/type/Updates">Updates</a>;
|
||||
<a href="/method/channels.editForumTopic">channels.editForumTopic</a>#f4dfa185 flags:<a href="/type/%23">#</a> channel:<a href="/type/InputChannel">InputChannel</a> topic_id:<a href="/type/int">int</a> title:flags.0?<a href="/type/string">string</a> icon_emoji_id:flags.1?<a href="/type/long">long</a> closed:flags.2?<a href="/type/Bool">Bool</a> hidden:flags.3?<a href="/type/Bool">Bool</a> = <a href="/type/Updates">Updates</a>;
|
||||
<a href="/method/channels.toggleAntiSpam">channels.toggleAntiSpam</a>#68f3e4eb channel:<a href="/type/InputChannel">InputChannel</a> enabled:<a href="/type/Bool">Bool</a> = <a href="/type/Updates">Updates</a>;
|
||||
|
@ -528,6 +534,10 @@
|
|||
<ul>
|
||||
<li>Added <a href="/method/auth.importWebTokenAuthorization">auth.importWebTokenAuthorization</a> - </li>
|
||||
</ul>
|
||||
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
|
||||
<ul>
|
||||
<li>Added <strong>fallback</strong> parameter in <a href="/method/photos.uploadProfilePhoto">photos.uploadProfilePhoto</a></li>
|
||||
</ul>
|
||||
<h5><a class="anchor" href="#new-constructors" id="new-constructors" name="new-constructors"><i class="anchor-icon"></i></a>New Constructors</h5>
|
||||
<ul>
|
||||
<li>Added <a href="/constructor/stickerKeyword">stickerKeyword</a> - Keywords for a certain sticker</li>
|
||||
|
@ -542,6 +552,7 @@
|
|||
<a href="/constructor/stickerSetFullCovered">stickerSetFullCovered</a>#40d13c0e set:<a href="/type/StickerSet">StickerSet</a> packs:<a href="/type/Vector%20t">Vector</a><<a href="/type/StickerPack">StickerPack</a>> keywords:<a href="/type/Vector%20t">Vector</a><<a href="/type/StickerKeyword">StickerKeyword</a>> documents:<a href="/type/Vector%20t">Vector</a><<a href="/type/Document">Document</a>> = <a href="/type/StickerSetCovered">StickerSetCovered</a>;
|
||||
<a href="/constructor/stickerKeyword">stickerKeyword</a>#fcfeb29c document_id:<a href="/type/long">long</a> keyword:<a href="/type/Vector%20t">Vector</a><<a href="/type/string">string</a>> = <a href="/type/StickerKeyword">StickerKeyword</a>;<br>
|
||||
---functions---<br>
|
||||
<a href="/method/photos.uploadProfilePhoto">photos.uploadProfilePhoto</a>#89f30f69 flags:<a href="/type/%23">#</a> fallback:flags.3?<a href="/constructor/true">true</a> file:flags.0?<a href="/type/InputFile">InputFile</a> video:flags.1?<a href="/type/InputFile">InputFile</a> video_start_ts:flags.2?<a href="/type/double">double</a> = <a href="/type/photos.Photo">photos.Photo</a>;<br>
|
||||
<a href="/method/auth.importWebTokenAuthorization">auth.importWebTokenAuthorization</a>#2db873a9 api_id:<a href="/type/int">int</a> api_hash:<a href="/type/string">string</a> web_auth_token:<a href="/type/string">string</a> = <a href="/type/auth.Authorization">auth.Authorization</a>;<br></code></pre></div>
|
||||
<h3><a class="anchor" href="#layer-146" id="layer-146" name="layer-146"><i class="anchor-icon"></i></a><a href="/schema?layer=146">Layer 146</a></h3>
|
||||
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
|
||||
|
@ -551,7 +562,6 @@
|
|||
</ul>
|
||||
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
|
||||
<ul>
|
||||
<li>Added <strong>fallback</strong> parameter in <a href="/method/photos.uploadProfilePhoto">photos.uploadProfilePhoto</a></li>
|
||||
<li>Added <strong>emojis</strong>, <strong>text_color</strong> parameters in <a href="/method/stickers.createStickerSet">stickers.createStickerSet</a></li>
|
||||
</ul>
|
||||
<h5><a class="anchor" href="#new-constructors" id="new-constructors" name="new-constructors"><i class="anchor-icon"></i></a>New Constructors</h5>
|
||||
|
@ -580,7 +590,6 @@
|
|||
<a href="/constructor/messageExtendedMedia">messageExtendedMedia</a>#ee479c64 media:<a href="/type/MessageMedia">MessageMedia</a> = <a href="/type/MessageExtendedMedia">MessageExtendedMedia</a>;<br>
|
||||
<a href="/constructor/updateMessageExtendedMedia">updateMessageExtendedMedia</a>#5a73a98c peer:<a href="/type/Peer">Peer</a> msg_id:<a href="/type/int">int</a> extended_media:<a href="/type/MessageExtendedMedia">MessageExtendedMedia</a> = <a href="/type/Update">Update</a>;<br>
|
||||
---functions---<br>
|
||||
<a href="/method/photos.uploadProfilePhoto">photos.uploadProfilePhoto</a>#89f30f69 flags:<a href="/type/%23">#</a> fallback:flags.3?<a href="/constructor/true">true</a> file:flags.0?<a href="/type/InputFile">InputFile</a> video:flags.1?<a href="/type/InputFile">InputFile</a> video_start_ts:flags.2?<a href="/type/double">double</a> = <a href="/type/photos.Photo">photos.Photo</a>;<br>
|
||||
<a href="/method/stickers.createStickerSet">stickers.createStickerSet</a>#9021ab67 flags:<a href="/type/%23">#</a> masks:flags.0?<a href="/constructor/true">true</a> animated:flags.1?<a href="/constructor/true">true</a> videos:flags.4?<a href="/constructor/true">true</a> emojis:flags.5?<a href="/constructor/true">true</a> text_color:flags.6?<a href="/constructor/true">true</a> user_id:<a href="/type/InputUser">InputUser</a> title:<a href="/type/string">string</a> short_name:<a href="/type/string">string</a> thumb:flags.2?<a href="/type/InputDocument">InputDocument</a> stickers:<a href="/type/Vector%20t">Vector</a><<a href="/type/InputStickerSetItem">InputStickerSetItem</a>> software:flags.3?<a href="/type/string">string</a> = <a href="/type/messages.StickerSet">messages.StickerSet</a>;<br>
|
||||
<a href="/method/messages.getExtendedMedia">messages.getExtendedMedia</a>#84f80814 peer:<a href="/type/InputPeer">InputPeer</a> id:<a href="/type/Vector%20t">Vector</a><<a href="/type/int">int</a>> = <a href="/type/Updates">Updates</a>;<br></code></pre></div>
|
||||
<h3><a class="anchor" href="#layer-145" id="layer-145" name="layer-145"><i class="anchor-icon"></i></a><a href="/schema?layer=145">Layer 145</a></h3>
|
||||
|
|
|
@ -4,32 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>videoSizeEmojiMarkup</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
emoji_id
|
||||
long
|
||||
|
||||
background_colors
|
||||
Vector<int>
|
||||
|
||||
Type
|
||||
VideoSize">
|
||||
<meta property="description" content="An animated profile picture based on a custom emoji sticker.">
|
||||
<meta property="og:title" content="videoSizeEmojiMarkup">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
emoji_id
|
||||
long
|
||||
|
||||
background_colors
|
||||
Vector<int>
|
||||
|
||||
Type
|
||||
VideoSize">
|
||||
<meta property="og:description" content="An animated profile picture based on a custom emoji sticker.">
|
||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||
|
@ -64,7 +42,8 @@ VideoSize">
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/videoSizeEmojiMarkup" >videoSizeEmojiMarkup</a></li></ul></div>
|
||||
<h1 id="dev_page_title">videoSizeEmojiMarkup</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>An <a href="/api/files#animated-profile-pictures">animated profile picture</a> based on a <a href="/api/custom-emoji">custom emoji sticker</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
||||
|
@ -90,17 +69,24 @@ VideoSize">
|
|||
<tr>
|
||||
<td><strong>emoji_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td><a href="/api/custom-emoji">Custom emoji ID</a>: the custom emoji sticker is shown at the center of the profile picture and occupies at most 67% of it.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>background_colors</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/int">int</a>></td>
|
||||
<td> </td>
|
||||
<td>1, 2, 3 or 4 RBG-24 colors used to generate a solid (1), gradient (2) or freeform gradient (3, 4) background, similar to how <a href="/api/wallpapers#fill-types">fill wallpapers</a> are generated. The rotation angle for gradient backgrounds is 0.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/VideoSize">VideoSize</a></p></div>
|
||||
<p><a href="/type/VideoSize">VideoSize</a></p>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4>
|
||||
<p>Telegram allows including animated and static custom emojis inside of messages.</p>
|
||||
<h4><a class="anchor" href="#wallpapers" id="wallpapers" name="wallpapers"><i class="anchor-icon"></i></a><a href="/api/wallpapers">Wallpapers</a></h4>
|
||||
<p>Telegram apps support generating, sharing and synchronizing chat backgrounds.</p>
|
||||
<h4><a class="anchor" href="#uploading-and-downloading-files" id="uploading-and-downloading-files" name="uploading-and-downloading-files"><i class="anchor-icon"></i></a><a href="/api/files">Uploading and Downloading Files</a></h4>
|
||||
<p>How to transfer large data batches correctly.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,38 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>videoSizeStickerMarkup</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
stickerset
|
||||
InputStickerSet
|
||||
|
||||
sticker_id
|
||||
long
|
||||
|
||||
background_colors
|
||||
Vector<int>
|
||||
|
||||
Type
|
||||
VideoSize">
|
||||
<meta property="description" content="An animated profile picture based on a sticker.">
|
||||
<meta property="og:title" content="videoSizeStickerMarkup">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Parameters
|
||||
Name
|
||||
Type
|
||||
Description
|
||||
stickerset
|
||||
InputStickerSet
|
||||
|
||||
sticker_id
|
||||
long
|
||||
|
||||
background_colors
|
||||
Vector<int>
|
||||
|
||||
Type
|
||||
VideoSize">
|
||||
<meta property="og:description" content="An animated profile picture based on a sticker.">
|
||||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||||
|
@ -70,7 +42,8 @@ VideoSize">
|
|||
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/videoSizeStickerMarkup" >videoSizeStickerMarkup</a></li></ul></div>
|
||||
<h1 id="dev_page_title">videoSizeStickerMarkup</h1>
|
||||
|
||||
<div id="dev_page_content"><p><div class="clearfix">
|
||||
<div id="dev_page_content"><p>An <a href="/api/files#animated-profile-pictures">animated profile picture</a> based on a <a href="/api/stickers">sticker</a>.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
|
||||
|
@ -96,22 +69,29 @@ VideoSize">
|
|||
<tr>
|
||||
<td><strong>stickerset</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/InputStickerSet">InputStickerSet</a></td>
|
||||
<td> </td>
|
||||
<td>Stickerset</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>sticker_id</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/long">long</a></td>
|
||||
<td> </td>
|
||||
<td>Sticker ID</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>background_colors</strong></td>
|
||||
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a><<a href="/type/int">int</a>></td>
|
||||
<td> </td>
|
||||
<td>1, 2, 3 or 4 RBG-24 colors used to generate a solid (1), gradient (2) or freeform gradient (3, 4) background, similar to how <a href="/api/wallpapers#fill-types">fill wallpapers</a> are generated. The rotation angle for gradient backgrounds is 0.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/VideoSize">VideoSize</a></p></div>
|
||||
<p><a href="/type/VideoSize">VideoSize</a></p>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#wallpapers" id="wallpapers" name="wallpapers"><i class="anchor-icon"></i></a><a href="/api/wallpapers">Wallpapers</a></h4>
|
||||
<p>Telegram apps support generating, sharing and synchronizing chat backgrounds.</p>
|
||||
<h4><a class="anchor" href="#uploading-and-downloading-files" id="uploading-and-downloading-files" name="uploading-and-downloading-files"><i class="anchor-icon"></i></a><a href="/api/files">Uploading and Downloading Files</a></h4>
|
||||
<p>How to transfer large data batches correctly.</p>
|
||||
<h4><a class="anchor" href="#stickers" id="stickers" name="stickers"><i class="anchor-icon"></i></a><a href="/api/stickers">Stickers</a></h4>
|
||||
<p>Telegram clients support displaying static and animated stickers.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><strong>fallback</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/constructor/true">true</a></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/constructor/true">true</a></td>
|
||||
<td>If set, the chosen profile photo will be shown to users that can't display your main profile photo due to your privacy settings.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
<h1 id="dev_page_title">photos.uploadProfilePhoto</h1>
|
||||
|
||||
<div id="dev_page_content"><p>Updates current user profile photo.</p>
|
||||
<p>The <code>file</code>, <code>video</code> and <code>video_emoji_markup</code> flags are mutually exclusive.</p>
|
||||
<p><div class="clearfix">
|
||||
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
|
||||
<li class="dropdown">
|
||||
|
@ -76,7 +77,7 @@
|
|||
<tr>
|
||||
<td><strong>fallback</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/constructor/true">true</a></td>
|
||||
<td> </td>
|
||||
<td>If set, the chosen profile photo will be shown to users that can't display your main profile photo due to your privacy settings.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>file</strong></td>
|
||||
|
@ -91,12 +92,12 @@
|
|||
<tr>
|
||||
<td><strong>video_start_ts</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/double">double</a></td>
|
||||
<td>Floating point UNIX timestamp in seconds, indicating the frame of the video that should be used as static preview.</td>
|
||||
<td>Floating point UNIX timestamp in seconds, indicating the frame of the video/sticker that should be used as static preview; can only be used if <code>video</code> or <code>video_emoji_markup</code> is set.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>video_emoji_markup</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.4?<a href="/type/VideoSize">VideoSize</a></td>
|
||||
<td> </td>
|
||||
<td>Animated sticker profile picture, must contain either a <a href="/constructor/videoSizeEmojiMarkup">videoSizeEmojiMarkup</a> or a <a href="/constructor/videoSizeStickerMarkup">videoSizeStickerMarkup</a> constructor.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -166,7 +167,11 @@
|
|||
</table>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#uploading-and-downloading-files" id="uploading-and-downloading-files" name="uploading-and-downloading-files"><i class="anchor-icon"></i></a><a href="/api/files">Uploading and Downloading Files</a></h4>
|
||||
<p>How to transfer large data batches correctly.</p></div>
|
||||
<p>How to transfer large data batches correctly.</p>
|
||||
<h4><a class="anchor" href="#videosizeemojimarkup" id="videosizeemojimarkup" name="videosizeemojimarkup"><i class="anchor-icon"></i></a><a href="/constructor/videoSizeEmojiMarkup">videoSizeEmojiMarkup</a></h4>
|
||||
<p>An <a href="/api/files#animated-profile-pictures">animated profile picture</a> based on a <a href="/api/custom-emoji">custom emoji sticker</a>.</p>
|
||||
<h4><a class="anchor" href="#videosizestickermarkup" id="videosizestickermarkup" name="videosizestickermarkup"><i class="anchor-icon"></i></a><a href="/constructor/videoSizeStickerMarkup">videoSizeStickerMarkup</a></h4>
|
||||
<p>An <a href="/api/files#animated-profile-pictures">animated profile picture</a> based on a <a href="/api/stickers">sticker</a>.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -120,7 +120,10 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
|
||||
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4>
|
||||
<p>Telegram allows including animated and static custom emojis inside of messages.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1246,7 +1246,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/stickers.changeSticker">stickers.changeSticker</a></td>
|
||||
<td>Update the keywords, emojis or <a href="/api/stickers#mask-stickers">mask coordinates</a> of a sticker</td>
|
||||
<td>Update the keywords, emojis or <a href="/api/stickers#mask-stickers">mask coordinates</a> of a sticker, bots only.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/stickers.renameStickerSet">stickers.renameStickerSet</a></td>
|
||||
|
@ -2703,7 +2703,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/photos.uploadProfilePhoto">photos.uploadProfilePhoto</a></td>
|
||||
<td>Updates current user profile photo.</td>
|
||||
<td>Updates current user profile photo.<br><br>The <code>file</code>, <code>video</code> and <code>video_emoji_markup</code> flags are mutually exclusive.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/photos.uploadContactProfilePhoto">photos.uploadContactProfilePhoto</a></td>
|
||||
|
|
|
@ -69,15 +69,15 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/constructor/videoSize">videoSize</a></td>
|
||||
<td><a href="/api/files#animated-profile-pictures">Animated profile picture</a> in MPEG4 format</td>
|
||||
<td>An <a href="/api/files#animated-profile-pictures">animated profile picture</a> in MPEG4 format</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/videoSizeEmojiMarkup">videoSizeEmojiMarkup</a></td>
|
||||
<td> </td>
|
||||
<td>An <a href="/api/files#animated-profile-pictures">animated profile picture</a> based on a <a href="/api/custom-emoji">custom emoji sticker</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/constructor/videoSizeStickerMarkup">videoSizeStickerMarkup</a></td>
|
||||
<td> </td>
|
||||
<td>An <a href="/api/files#animated-profile-pictures">animated profile picture</a> based on a <a href="/api/stickers">sticker</a>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/stickers.changeSticker">stickers.changeSticker</a></td>
|
||||
<td>Update the keywords, emojis or <a href="/api/stickers#mask-stickers">mask coordinates</a> of a sticker</td>
|
||||
<td>Update the keywords, emojis or <a href="/api/stickers#mask-stickers">mask coordinates</a> of a sticker, bots only.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/stickers.renameStickerSet">stickers.renameStickerSet</a></td>
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/photos.uploadProfilePhoto">photos.uploadProfilePhoto</a></td>
|
||||
<td>Updates current user profile photo.</td>
|
||||
<td>Updates current user profile photo.<br><br>The <code>file</code>, <code>video</code> and <code>video_emoji_markup</code> flags are mutually exclusive.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/photos.uploadContactProfilePhoto">photos.uploadContactProfilePhoto</a></td>
|
||||
|
|
Loading…
Add table
Reference in a new issue