"description":"Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Pass False for all boolean parameters to demote a user. Returns True on success.",
"html_description":"<p>Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Pass <em>False</em> for all boolean parameters to demote a user. Returns <em>True</em> on success.</p>",
"rst_description":"Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Pass :code:`False` for all boolean parameters to demote a user. Returns :code:`True` on success.",
"annotations":[
{
"type":"Integer or String",
"required":true,
"description":"Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"html_description":"<td>Unique identifier for the target chat or username of the target channel (in the format <code>@channelusername</code>)</td>",
"rst_description":"Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)\n",
"name":"chat_id"
},
{
"type":"Integer",
"required":true,
"description":"Unique identifier of the target user",
"html_description":"<td>Unique identifier of the target user</td>",
"rst_description":"Unique identifier of the target user\n",
"name":"user_id"
},
{
"type":"Boolean",
"required":false,
"description":"Pass True if the administrator's presence in the chat is hidden",
"html_description":"<td>Pass <em>True</em> if the administrator's presence in the chat is hidden</td>",
"rst_description":"Pass :code:`True` if the administrator's presence in the chat is hidden\n",
"description":"Pass True if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages and ignore slow mode. Implied by any other administrator privilege.",
"html_description":"<td>Pass <em>True</em> if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages and ignore slow mode. Implied by any other administrator privilege.</td>",
"rst_description":"Pass :code:`True` if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages and ignore slow mode. Implied by any other administrator privilege.\n",
"description":"Pass True if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)",
"html_description":"<td>Pass <em>True</em> if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)</td>",
"rst_description":"Pass :code:`True` if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)\n",
"description":"Pass True if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive",
"html_description":"<td>Pass <em>True</em> if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive</td>",
"rst_description":"Pass :code:`True` if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive\n",
"description":"Pass True if the administrator can post messages in the channel, or access channel statistics; for channels only",
"html_description":"<td>Pass <em>True</em> if the administrator can post messages in the channel, or access channel statistics; for channels only</td>",
"rst_description":"Pass :code:`True` if the administrator can post messages in the channel, or access channel statistics; for channels only\n",