mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-29 15:59:13 +01:00
Update content of files
This commit is contained in:
parent
66418a5d3a
commit
d1d8046bc7
4 changed files with 5 additions and 5 deletions
|
@ -153,7 +153,7 @@ Note that calling this method will also automatically save the wallpaper, if it'
|
|||
As mentioned earlier, <a href="#fill-wallpapers">fill wallpapers</a> can't be saved to the server using <a href="/method/account.installWallPaper">account.installWallPaper</a> or <a href="/method/account.saveWallPaper">account.saveWallPaper</a>: an <a href="/constructor/inputWallPaperNoFile">inputWallPaperNoFile</a> is available for fill wallpapers but can <strong>only</strong> be used when working with <a href="/api/themes">themes »</a> or when using <a href="/method/messages.setChatWallPaper">messages.setChatWallPaper</a>.</li>
|
||||
</ul>
|
||||
<p>Wallpapers can also be installed in a specific chat, by using <a href="/method/messages.setChatWallPaper">messages.setChatWallPaper</a>: this will emit a <a href="/constructor/messageActionSetChatWallPaper">messageActionSetChatWallPaper</a> service message, displaying the wallpaper in the UI along with an invitation for the other user to apply the same wallpaper. </p>
|
||||
<p>If the other user decides to apply the same wallpaper to the chat, <a href="/method/messages.setChatWallPaper">messages.setChatWallPaper</a> should be invoked passing the wallpaper and wallpaper settings received in the <a href="/constructor/messageActionSetChatWallPaper">messageActionSetChatWallPaper</a> service message, along with the <code>id</code> of the <a href="/constructor/messageActionSetChatWallPaper">messageActionSetChatWallPaper</a> service message: this way, the action will emit a different <a href="/constructor/messageActionSetSameChatWallPaper">messageActionSetSameChatWallPaper</a>, which should be displayed in the UI as a simple acknowledgment service message, without the full wallpaper and without an invitation for the other user to apply it (since both participants just did that already). </p>
|
||||
<p>If the other user decides to apply the same wallpaper to the chat, <a href="/method/messages.setChatWallPaper">messages.setChatWallPaper</a> should be invoked passing the wallpaper <code>settings</code> received in the <a href="/constructor/messageActionSetChatWallPaper">messageActionSetChatWallPaper</a> service message, along with the <code>id</code> of the <a href="/constructor/messageActionSetChatWallPaper">messageActionSetChatWallPaper</a> service message, <strong>without</strong> the <code>wallpaper</code>: this way, the action will emit a different <a href="/constructor/messageActionSetSameChatWallPaper">messageActionSetSameChatWallPaper</a>, which should be displayed in the UI as a simple acknowledgment service message, without the full wallpaper and without an invitation for the other user to apply it (since both participants already just did that). </p>
|
||||
<p>Note that in order to pass <a href="#image-wallpapers">image</a> or <a href="#pattern-wallpapers">pattern</a> wallpapers to <a href="/method/messages.setChatWallPaper">messages.setChatWallPaper</a>, the <code>for_chat</code> flag must be set when <a href="#uploading-wallpapers">uploading them with account.uploadWallPaper</a>. </p>
|
||||
<p>Also note that unlike <a href="/method/account.installWallPaper">account.installWallPaper</a> or <a href="/method/account.saveWallPaper">account.saveWallPaper</a>, <a href="/method/messages.setChatWallPaper">messages.setChatWallPaper</a> accepts <a href="#fill-wallpapers">fill wallpapers</a> as well.</p></div>
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
<h4><a class="anchor" href="#channelscheckusername" id="channelscheckusername" name="channelscheckusername"><i class="anchor-icon"></i></a><a href="/method/channels.checkUsername">channels.checkUsername</a></h4>
|
||||
<p>Check if a username is free and can be assigned to a channel/supergroup</p>
|
||||
<h4><a class="anchor" href="#channelsupdateusername" id="channelsupdateusername" name="channelsupdateusername"><i class="anchor-icon"></i></a><a href="/method/channels.updateUsername">channels.updateUsername</a></h4>
|
||||
<p>Change the username of a supergroup/channel</p>
|
||||
<p>Change or remove the username of a supergroup/channel</p>
|
||||
<h4><a class="anchor" href="#config" id="config" name="config"><i class="anchor-icon"></i></a><a href="/constructor/config">config</a></h4>
|
||||
<p>Current configuration</p></div>
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="utf-8">
|
||||
<title>channels.updateUsername</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="description" content="Change the username of a supergroup/channel">
|
||||
<meta property="description" content="Change or remove the username of a supergroup/channel">
|
||||
<meta property="og:title" content="channels.updateUsername">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:description" content="Change the username of a supergroup/channel">
|
||||
<meta property="og:description" content="Change or remove the username of a supergroup/channel">
|
||||
<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">
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
<tr>
|
||||
<td><strong>wallpaper</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/InputWallPaper">InputWallPaper</a></td>
|
||||
<td>The <a href="/api/wallpapers">wallpaper »</a>, obtained as described in the <a href="/api/wallpapers#uploading-wallpapers">wallpaper documentation »</a> or from a <a href="/constructor/messageActionSetChatWallPaper">messageActionSetChatWallPaper</a> service message.</td>
|
||||
<td>The <a href="/api/wallpapers">wallpaper »</a>, obtained as described in the <a href="/api/wallpapers#uploading-wallpapers">wallpaper documentation »</a>; must <strong>not</strong> be provided when installing a wallpaper obtained from a <a href="/constructor/messageActionSetChatWallPaper">messageActionSetChatWallPaper</a> service message (<code>id</code> must be provided, instead).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>settings</strong></td>
|
||||
|
|
Loading…
Reference in a new issue