Skip to content

Commit

Permalink
Regenerate bot API docs. (#67)
Browse files Browse the repository at this point in the history
Co-authored-by: PaulSonOfLars <[email protected]>
  • Loading branch information
github-actions[bot] and PaulSonOfLars authored Oct 13, 2023
1 parent 183db0a commit 544a0ce
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
64 changes: 32 additions & 32 deletions api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2299,103 +2299,103 @@
"Boolean"
],
"required": false,
"description": "Pass True 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"
"description": "Pass True if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege"
},
{
"name": "can_post_messages",
"name": "can_delete_messages",
"types": [
"Boolean"
],
"required": false,
"description": "Pass True if the administrator can post messages in the channel; channels only"
"description": "Pass True if the administrator can delete messages of other users"
},
{
"name": "can_edit_messages",
"name": "can_manage_video_chats",
"types": [
"Boolean"
],
"required": false,
"description": "Pass True if the administrator can edit messages of other users and can pin messages; channels only"
"description": "Pass True if the administrator can manage video chats"
},
{
"name": "can_delete_messages",
"name": "can_restrict_members",
"types": [
"Boolean"
],
"required": false,
"description": "Pass True if the administrator can delete messages of other users"
"description": "Pass True if the administrator can restrict, ban or unban chat members, or access supergroup statistics"
},
{
"name": "can_post_stories",
"name": "can_promote_members",
"types": [
"Boolean"
],
"required": false,
"description": "Pass True if the administrator can post stories in the channel; channels only"
"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)"
},
{
"name": "can_edit_stories",
"name": "can_change_info",
"types": [
"Boolean"
],
"required": false,
"description": "Pass True if the administrator can edit stories posted by other users; channels only"
"description": "Pass True if the administrator can change chat title, photo and other settings"
},
{
"name": "can_delete_stories",
"name": "can_invite_users",
"types": [
"Boolean"
],
"required": false,
"description": "Pass True if the administrator can delete stories posted by other users; channels only"
"description": "Pass True if the administrator can invite new users to the chat"
},
{
"name": "can_manage_video_chats",
"name": "can_post_messages",
"types": [
"Boolean"
],
"required": false,
"description": "Pass True if the administrator can manage video chats"
"description": "Pass True if the administrator can post messages in the channel, or access channel statistics; channels only"
},
{
"name": "can_restrict_members",
"name": "can_edit_messages",
"types": [
"Boolean"
],
"required": false,
"description": "Pass True if the administrator can restrict, ban or unban chat members"
"description": "Pass True if the administrator can edit messages of other users and can pin messages; channels only"
},
{
"name": "can_promote_members",
"name": "can_pin_messages",
"types": [
"Boolean"
],
"required": false,
"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)"
"description": "Pass True if the administrator can pin messages, supergroups only"
},
{
"name": "can_change_info",
"name": "can_post_stories",
"types": [
"Boolean"
],
"required": false,
"description": "Pass True if the administrator can change chat title, photo and other settings"
"description": "Pass True if the administrator can post stories in the channel; channels only"
},
{
"name": "can_invite_users",
"name": "can_edit_stories",
"types": [
"Boolean"
],
"required": false,
"description": "Pass True if the administrator can invite new users to the chat"
"description": "Pass True if the administrator can edit stories posted by other users; channels only"
},
{
"name": "can_pin_messages",
"name": "can_delete_stories",
"types": [
"Boolean"
],
"required": false,
"description": "Pass True if the administrator can pin messages, supergroups only"
"description": "Pass True if the administrator can delete stories posted by other users; channels only"
},
{
"name": "can_manage_topics",
Expand Down Expand Up @@ -8771,7 +8771,7 @@
"Boolean"
],
"required": true,
"description": "True, 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"
"description": "True, if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege"
},
{
"name": "can_delete_messages",
Expand All @@ -8795,7 +8795,7 @@
"Boolean"
],
"required": true,
"description": "True, if the administrator can restrict, ban or unban chat members"
"description": "True, if the administrator can restrict, ban or unban chat members, or access supergroup statistics"
},
{
"name": "can_promote_members",
Expand Down Expand Up @@ -8827,7 +8827,7 @@
"Boolean"
],
"required": false,
"description": "Optional. True, if the administrator can post messages in the channel; channels only"
"description": "Optional. True, if the administrator can post messages in the channel, or access channel statistics; channels only"
},
{
"name": "can_edit_messages",
Expand Down Expand Up @@ -8989,7 +8989,7 @@
"Boolean"
],
"required": true,
"description": "True, 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"
"description": "True, if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege"
},
{
"name": "can_delete_messages",
Expand All @@ -9013,7 +9013,7 @@
"Boolean"
],
"required": true,
"description": "True, if the administrator can restrict, ban or unban chat members"
"description": "True, if the administrator can restrict, ban or unban chat members, or access supergroup statistics"
},
{
"name": "can_promote_members",
Expand Down Expand Up @@ -9045,7 +9045,7 @@
"Boolean"
],
"required": false,
"description": "Optional. True, if the administrator can post messages in the channel; channels only"
"description": "Optional. True, if the administrator can post messages in the channel, or access channel statistics; channels only"
},
{
"name": "can_edit_messages",
Expand Down Expand Up @@ -9450,7 +9450,7 @@
"Integer"
],
"required": true,
"description": "Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 24 hours to send messages until the join request is processed, assuming no other administrator contacted the user."
"description": "Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user."
},
{
"name": "date",
Expand Down
2 changes: 1 addition & 1 deletion api.min.json

Large diffs are not rendered by default.

0 comments on commit 544a0ce

Please sign in to comment.