This commit is contained in:
sys-001 2024-02-16 14:22:30 +00:00
parent fd071f07ca
commit 78cde86580
5 changed files with 477 additions and 275 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "7.0.0", "version": "7.1.0",
"types": [ "types": [
{ {
"name": "Update", "name": "Update",
@ -11,7 +11,7 @@
"int" "int"
], ],
"optional": false, "optional": false,
"description": "The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if you're using webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially." "description": "The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This identifier becomes especially handy if you're using webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially."
}, },
{ {
"name": "message", "name": "message",
@ -27,7 +27,7 @@
"Message" "Message"
], ],
"optional": true, "optional": true,
"description": "Optional. New version of a message that is known to the bot and was edited" "description": "Optional. New version of a message that is known to the bot and was edited. This update may at times be triggered by changes to message fields that are either unavailable or not actively used by your bot."
}, },
{ {
"name": "channel_post", "name": "channel_post",
@ -43,7 +43,7 @@
"Message" "Message"
], ],
"optional": true, "optional": true,
"description": "Optional. New version of a channel post that is known to the bot and was edited" "description": "Optional. New version of a channel post that is known to the bot and was edited. This update may at times be triggered by changes to message fields that are either unavailable or not actively used by your bot."
}, },
{ {
"name": "message_reaction", "name": "message_reaction",
@ -59,7 +59,7 @@
"MessageReactionCountUpdated" "MessageReactionCountUpdated"
], ],
"optional": true, "optional": true,
"description": "Optional. Reactions to a message with anonymous reactions were changed. The bot must be an administrator in the chat and must explicitly specify \"message_reaction_count\" in the list of allowed_updates to receive these updates." "description": "Optional. Reactions to a message with anonymous reactions were changed. The bot must be an administrator in the chat and must explicitly specify \"message_reaction_count\" in the list of allowed_updates to receive these updates. The updates are grouped and can be sent with delay up to a few minutes."
}, },
{ {
"name": "inline_query", "name": "inline_query",
@ -107,7 +107,7 @@
"Poll" "Poll"
], ],
"optional": true, "optional": true,
"description": "Optional. New poll state. Bots receive only updates about stopped polls and polls, which are sent by the bot" "description": "Optional. New poll state. Bots receive only updates about manually stopped polls and polls, which are sent by the bot"
}, },
{ {
"name": "poll_answer", "name": "poll_answer",
@ -551,7 +551,15 @@
"int" "int"
], ],
"optional": true, "optional": true,
"description": "Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user; in seconds. Returned only in getChat." "description": "Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unprivileged user; in seconds. Returned only in getChat."
},
{
"name": "unrestrict_boost_count",
"types": [
"int"
],
"optional": true,
"description": "Optional. For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions. Returned only in getChat."
}, },
{ {
"name": "message_auto_delete_time", "name": "message_auto_delete_time",
@ -614,6 +622,14 @@
"description": "Optional. True, if the bot can change the group sticker set. Returned only in getChat.", "description": "Optional. True, if the bot can change the group sticker set. Returned only in getChat.",
"default": true "default": true
}, },
{
"name": "custom_emoji_sticker_set_name",
"types": [
"string"
],
"optional": true,
"description": "Optional. For supergroups, the name of the group's custom emoji sticker set. Custom emoji from this set can be used by all users and bots in the group. Returned only in getChat."
},
{ {
"name": "linked_chat_id", "name": "linked_chat_id",
"types": [ "types": [
@ -669,6 +685,14 @@
"optional": true, "optional": true,
"description": "Optional. Sender of the message, sent on behalf of a chat. For example, the channel itself for channel posts, the supergroup itself for messages from anonymous group administrators, the linked channel for messages automatically forwarded to the discussion group. For backward compatibility, the field from contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat." "description": "Optional. Sender of the message, sent on behalf of a chat. For example, the channel itself for channel posts, the supergroup itself for messages from anonymous group administrators, the linked channel for messages automatically forwarded to the discussion group. For backward compatibility, the field from contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat."
}, },
{
"name": "sender_boost_count",
"types": [
"int"
],
"optional": true,
"description": "Optional. If the sender of the message boosted the chat, the number of boosts added by the user"
},
{ {
"name": "date", "name": "date",
"types": [ "types": [
@ -735,6 +759,14 @@
"optional": true, "optional": true,
"description": "Optional. For replies that quote part of the original message, the quoted part of the message" "description": "Optional. For replies that quote part of the original message, the quoted part of the message"
}, },
{
"name": "reply_to_story",
"types": [
"Story"
],
"optional": true,
"description": "Optional. For replies to a story, the original story"
},
{ {
"name": "via_bot", "name": "via_bot",
"types": [ "types": [
@ -1109,6 +1141,14 @@
"optional": true, "optional": true,
"description": "Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location." "description": "Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location."
}, },
{
"name": "boost_added",
"types": [
"ChatBoostAdded"
],
"optional": true,
"description": "Optional. Service message: user boosted the chat"
},
{ {
"name": "forum_topic_created", "name": "forum_topic_created",
"types": [ "types": [
@ -2075,8 +2115,25 @@
}, },
{ {
"name": "Story", "name": "Story",
"description": "This object represents a message about a forwarded story in the chat. Currently holds no information.", "description": "This object represents a story.",
"fields": [], "fields": [
{
"name": "chat",
"types": [
"Chat"
],
"optional": false,
"description": "Chat that posted the story"
},
{
"name": "id",
"types": [
"int"
],
"optional": false,
"description": "Unique identifier for the story in the chat"
}
],
"extended_by": [] "extended_by": []
}, },
{ {
@ -2690,6 +2747,21 @@
], ],
"extended_by": [] "extended_by": []
}, },
{
"name": "ChatBoostAdded",
"description": "This object represents a service message about a user boosting a chat.",
"fields": [
{
"name": "boost_count",
"types": [
"int"
],
"optional": false,
"description": "Number of boosts added by the user"
}
],
"extended_by": []
},
{ {
"name": "ForumTopicCreated", "name": "ForumTopicCreated",
"description": "This object represents a service message about a new forum topic created in the chat.", "description": "This object represents a service message about a new forum topic created in the chat.",
@ -2993,7 +3065,7 @@
"int" "int"
], ],
"optional": false, "optional": false,
"description": "Identifier of the messsage with the giveaway in the chat" "description": "Identifier of the message with the giveaway in the chat"
}, },
{ {
"name": "winners_selection_date", "name": "winners_selection_date",
@ -3129,7 +3201,7 @@
"bool" "bool"
], ],
"optional": true, "optional": true,
"description": "Optional. True, if the media in the link preview is suppposed to be shrunk; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview" "description": "Optional. True, if the media in the link preview is supposed to be shrunk; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview"
}, },
{ {
"name": "prefer_large_media", "name": "prefer_large_media",
@ -3137,7 +3209,7 @@
"bool" "bool"
], ],
"optional": true, "optional": true,
"description": "Optional. True, if the media in the link preview is suppposed to be enlarged; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview" "description": "Optional. True, if the media in the link preview is supposed to be enlarged; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview"
}, },
{ {
"name": "show_above_text", "name": "show_above_text",
@ -3280,7 +3352,7 @@
"bool" "bool"
], ],
"optional": true, "optional": true,
"description": "Optional. Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.Example: A user requests to change the bot's language, bot replies to the request with a keyboard to select the new language. Other users in the group don't see the keyboard." "description": "Optional. Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message.Example: A user requests to change the bot's language, bot replies to the request with a keyboard to select the new language. Other users in the group don't see the keyboard."
} }
], ],
"extended_by": [] "extended_by": []
@ -3493,7 +3565,7 @@
"bool" "bool"
], ],
"optional": true, "optional": true,
"description": "Optional. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.Example: A user votes in a poll, bot returns confirmation message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet." "description": "Optional. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message.Example: A user votes in a poll, bot returns confirmation message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet."
} }
], ],
"extended_by": [] "extended_by": []
@ -3531,7 +3603,7 @@
"string" "string"
], ],
"optional": true, "optional": true,
"description": "Optional. HTTP or tg:// URL to be opened when the button is pressed. Links tg://user?id=<user_id> can be used to mention a user by their ID without using a username, if this is allowed by their privacy settings." "description": "Optional. HTTP or tg:// URL to be opened when the button is pressed. Links tg://user?id=<user_id> can be used to mention a user by their identifier without using a username, if this is allowed by their privacy settings."
}, },
{ {
"name": "callback_data", "name": "callback_data",
@ -3776,7 +3848,7 @@
"bool" "bool"
], ],
"optional": true, "optional": true,
"description": "Optional. Use this parameter if you want to force reply from specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message." "description": "Optional. Use this parameter if you want to force reply from specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message."
} }
], ],
"extended_by": [] "extended_by": []
@ -3917,7 +3989,7 @@
"bool" "bool"
], ],
"optional": false, "optional": false,
"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" "description": "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."
}, },
{ {
"name": "can_delete_messages", "name": "can_delete_messages",
@ -3967,6 +4039,30 @@
"optional": false, "optional": false,
"description": "True, if the user is allowed to invite new users to the chat" "description": "True, if the user is allowed to invite new users to the chat"
}, },
{
"name": "can_post_stories",
"types": [
"bool"
],
"optional": false,
"description": "True, if the administrator can post stories to the chat"
},
{
"name": "can_edit_stories",
"types": [
"bool"
],
"optional": false,
"description": "True, if the administrator can edit stories posted by other users"
},
{
"name": "can_delete_stories",
"types": [
"bool"
],
"optional": false,
"description": "True, if the administrator can delete stories posted by other users"
},
{ {
"name": "can_post_messages", "name": "can_post_messages",
"types": [ "types": [
@ -3991,30 +4087,6 @@
"optional": true, "optional": true,
"description": "Optional. True, if the user is allowed to pin messages; groups and supergroups only" "description": "Optional. True, if the user is allowed to pin messages; groups and supergroups only"
}, },
{
"name": "can_post_stories",
"types": [
"bool"
],
"optional": true,
"description": "Optional. True, if the administrator can post stories in the channel; channels only"
},
{
"name": "can_edit_stories",
"types": [
"bool"
],
"optional": true,
"description": "Optional. True, if the administrator can edit stories posted by other users; channels only"
},
{
"name": "can_delete_stories",
"types": [
"bool"
],
"optional": true,
"description": "Optional. True, if the administrator can delete stories posted by other users; channels only"
},
{ {
"name": "can_manage_topics", "name": "can_manage_topics",
"types": [ "types": [
@ -4183,7 +4255,7 @@
"bool" "bool"
], ],
"optional": false, "optional": false,
"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" "description": "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."
}, },
{ {
"name": "can_delete_messages", "name": "can_delete_messages",
@ -4233,6 +4305,30 @@
"optional": false, "optional": false,
"description": "True, if the user is allowed to invite new users to the chat" "description": "True, if the user is allowed to invite new users to the chat"
}, },
{
"name": "can_post_stories",
"types": [
"bool"
],
"optional": false,
"description": "True, if the administrator can post stories to the chat"
},
{
"name": "can_edit_stories",
"types": [
"bool"
],
"optional": false,
"description": "True, if the administrator can edit stories posted by other users"
},
{
"name": "can_delete_stories",
"types": [
"bool"
],
"optional": false,
"description": "True, if the administrator can delete stories posted by other users"
},
{ {
"name": "can_post_messages", "name": "can_post_messages",
"types": [ "types": [
@ -4257,30 +4353,6 @@
"optional": true, "optional": true,
"description": "Optional. True, if the user is allowed to pin messages; groups and supergroups only" "description": "Optional. True, if the user is allowed to pin messages; groups and supergroups only"
}, },
{
"name": "can_post_stories",
"types": [
"bool"
],
"optional": true,
"description": "Optional. True, if the administrator can post stories in the channel; channels only"
},
{
"name": "can_edit_stories",
"types": [
"bool"
],
"optional": true,
"description": "Optional. True, if the administrator can edit stories posted by other users; channels only"
},
{
"name": "can_delete_stories",
"types": [
"bool"
],
"optional": true,
"description": "Optional. True, if the administrator can delete stories posted by other users; channels only"
},
{ {
"name": "can_manage_topics", "name": "can_manage_topics",
"types": [ "types": [
@ -5400,7 +5472,7 @@
"ChatBoost" "ChatBoost"
], ],
"optional": false, "optional": false,
"description": "Infomation about the chat boost" "description": "Information about the chat boost"
} }
], ],
"extended_by": [] "extended_by": []
@ -11629,7 +11701,7 @@
}, },
{ {
"name": "setMessageReaction", "name": "setMessageReaction",
"description": "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. In albums, bots must react to the first message. Returns True on success.", "description": "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Returns True on success.",
"fields": [ "fields": [
{ {
"name": "chat_id", "name": "chat_id",
@ -11646,7 +11718,7 @@
"int" "int"
], ],
"optional": false, "optional": false,
"description": "Identifier of the target message" "description": "Identifier of the target message. If the message belongs to a media group, the reaction is set to the first non-deleted message in the group instead."
}, },
{ {
"name": "reaction", "name": "reaction",
@ -11881,7 +11953,7 @@
"bool" "bool"
], ],
"optional": true, "optional": true,
"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" "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."
}, },
{ {
"name": "can_delete_messages", "name": "can_delete_messages",
@ -11931,6 +12003,30 @@
"optional": true, "optional": true,
"description": "Pass True if the administrator can invite new users to the chat" "description": "Pass True if the administrator can invite new users to the chat"
}, },
{
"name": "can_post_stories",
"types": [
"bool"
],
"optional": true,
"description": "Pass True if the administrator can post stories to the chat"
},
{
"name": "can_edit_stories",
"types": [
"bool"
],
"optional": true,
"description": "Pass True if the administrator can edit stories posted by other users"
},
{
"name": "can_delete_stories",
"types": [
"bool"
],
"optional": true,
"description": "Pass True if the administrator can delete stories posted by other users"
},
{ {
"name": "can_post_messages", "name": "can_post_messages",
"types": [ "types": [
@ -11955,30 +12051,6 @@
"optional": true, "optional": true,
"description": "Pass True if the administrator can pin messages, supergroups only" "description": "Pass True if the administrator can pin messages, supergroups only"
}, },
{
"name": "can_post_stories",
"types": [
"bool"
],
"optional": true,
"description": "Pass True if the administrator can post stories in the channel; channels only"
},
{
"name": "can_edit_stories",
"types": [
"bool"
],
"optional": true,
"description": "Pass True if the administrator can edit stories posted by other users; channels only"
},
{
"name": "can_delete_stories",
"types": [
"bool"
],
"optional": true,
"description": "Pass True if the administrator can delete stories posted by other users; channels only"
},
{ {
"name": "can_manage_topics", "name": "can_manage_topics",
"types": [ "types": [

View File

@ -1,4 +1,4 @@
version: 7.0.0 version: 7.1.0
types: types:
- -
name: Update name: Update
@ -9,7 +9,7 @@ types:
types: types:
- int - int
optional: false optional: false
description: "The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if you're using webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially." description: "The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This identifier becomes especially handy if you're using webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially."
- -
name: message name: message
types: types:
@ -21,7 +21,7 @@ types:
types: types:
- Message - Message
optional: true optional: true
description: 'Optional. New version of a message that is known to the bot and was edited' description: 'Optional. New version of a message that is known to the bot and was edited. This update may at times be triggered by changes to message fields that are either unavailable or not actively used by your bot.'
- -
name: channel_post name: channel_post
types: types:
@ -33,7 +33,7 @@ types:
types: types:
- Message - Message
optional: true optional: true
description: 'Optional. New version of a channel post that is known to the bot and was edited' description: 'Optional. New version of a channel post that is known to the bot and was edited. This update may at times be triggered by changes to message fields that are either unavailable or not actively used by your bot.'
- -
name: message_reaction name: message_reaction
types: types:
@ -45,7 +45,7 @@ types:
types: types:
- MessageReactionCountUpdated - MessageReactionCountUpdated
optional: true optional: true
description: 'Optional. Reactions to a message with anonymous reactions were changed. The bot must be an administrator in the chat and must explicitly specify "message_reaction_count" in the list of allowed_updates to receive these updates.' description: 'Optional. Reactions to a message with anonymous reactions were changed. The bot must be an administrator in the chat and must explicitly specify "message_reaction_count" in the list of allowed_updates to receive these updates. The updates are grouped and can be sent with delay up to a few minutes.'
- -
name: inline_query name: inline_query
types: types:
@ -81,7 +81,7 @@ types:
types: types:
- Poll - Poll
optional: true optional: true
description: 'Optional. New poll state. Bots receive only updates about stopped polls and polls, which are sent by the bot' description: 'Optional. New poll state. Bots receive only updates about manually stopped polls and polls, which are sent by the bot'
- -
name: poll_answer name: poll_answer
types: types:
@ -415,7 +415,13 @@ types:
types: types:
- int - int
optional: true optional: true
description: 'Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user; in seconds. Returned only in getChat.' description: 'Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unprivileged user; in seconds. Returned only in getChat.'
-
name: unrestrict_boost_count
types:
- int
optional: true
description: 'Optional. For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions. Returned only in getChat.'
- -
name: message_auto_delete_time name: message_auto_delete_time
types: types:
@ -463,6 +469,12 @@ types:
optional: true optional: true
description: 'Optional. True, if the bot can change the group sticker set. Returned only in getChat.' description: 'Optional. True, if the bot can change the group sticker set. Returned only in getChat.'
default: true default: true
-
name: custom_emoji_sticker_set_name
types:
- string
optional: true
description: "Optional. For supergroups, the name of the group's custom emoji sticker set. Custom emoji from this set can be used by all users and bots in the group. Returned only in getChat."
- -
name: linked_chat_id name: linked_chat_id
types: types:
@ -504,6 +516,12 @@ types:
- Chat - Chat
optional: true optional: true
description: 'Optional. Sender of the message, sent on behalf of a chat. For example, the channel itself for channel posts, the supergroup itself for messages from anonymous group administrators, the linked channel for messages automatically forwarded to the discussion group. For backward compatibility, the field from contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat.' description: 'Optional. Sender of the message, sent on behalf of a chat. For example, the channel itself for channel posts, the supergroup itself for messages from anonymous group administrators, the linked channel for messages automatically forwarded to the discussion group. For backward compatibility, the field from contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat.'
-
name: sender_boost_count
types:
- int
optional: true
description: 'Optional. If the sender of the message boosted the chat, the number of boosts added by the user'
- -
name: date name: date
types: types:
@ -554,6 +572,12 @@ types:
- TextQuote - TextQuote
optional: true optional: true
description: 'Optional. For replies that quote part of the original message, the quoted part of the message' description: 'Optional. For replies that quote part of the original message, the quoted part of the message'
-
name: reply_to_story
types:
- Story
optional: true
description: 'Optional. For replies to a story, the original story'
- -
name: via_bot name: via_bot
types: types:
@ -836,6 +860,12 @@ types:
- ProximityAlertTriggered - ProximityAlertTriggered
optional: true optional: true
description: "Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location." description: "Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location."
-
name: boost_added
types:
- ChatBoostAdded
optional: true
description: 'Optional. Service message: user boosted the chat'
- -
name: forum_topic_created name: forum_topic_created
types: types:
@ -1558,8 +1588,20 @@ types:
extended_by: { } extended_by: { }
- -
name: Story name: Story
description: 'This object represents a message about a forwarded story in the chat. Currently holds no information.' description: 'This object represents a story.'
fields: { } fields:
-
name: chat
types:
- Chat
optional: false
description: 'Chat that posted the story'
-
name: id
types:
- int
optional: false
description: 'Unique identifier for the story in the chat'
extended_by: { } extended_by: { }
- -
name: Video name: Video
@ -2016,6 +2058,17 @@ types:
optional: false optional: false
description: 'New auto-delete time for messages in the chat; in seconds' description: 'New auto-delete time for messages in the chat; in seconds'
extended_by: { } extended_by: { }
-
name: ChatBoostAdded
description: 'This object represents a service message about a user boosting a chat.'
fields:
-
name: boost_count
types:
- int
optional: false
description: 'Number of boosts added by the user'
extended_by: { }
- -
name: ForumTopicCreated name: ForumTopicCreated
description: 'This object represents a service message about a new forum topic created in the chat.' description: 'This object represents a service message about a new forum topic created in the chat.'
@ -2246,7 +2299,7 @@ types:
types: types:
- int - int
optional: false optional: false
description: 'Identifier of the messsage with the giveaway in the chat' description: 'Identifier of the message with the giveaway in the chat'
- -
name: winners_selection_date name: winners_selection_date
types: types:
@ -2348,13 +2401,13 @@ types:
types: types:
- bool - bool
optional: true optional: true
description: "Optional. True, if the media in the link preview is suppposed to be shrunk; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview" description: "Optional. True, if the media in the link preview is supposed to be shrunk; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview"
- -
name: prefer_large_media name: prefer_large_media
types: types:
- bool - bool
optional: true optional: true
description: "Optional. True, if the media in the link preview is suppposed to be enlarged; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview" description: "Optional. True, if the media in the link preview is supposed to be enlarged; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview"
- -
name: show_above_text name: show_above_text
types: types:
@ -2461,7 +2514,7 @@ types:
types: types:
- bool - bool
optional: true optional: true
description: "Optional. Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.Example: A user requests to change the bot's language, bot replies to the request with a keyboard to select the new language. Other users in the group don't see the keyboard." description: "Optional. Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message.Example: A user requests to change the bot's language, bot replies to the request with a keyboard to select the new language. Other users in the group don't see the keyboard."
extended_by: { } extended_by: { }
- -
name: KeyboardButton name: KeyboardButton
@ -2620,7 +2673,7 @@ types:
types: types:
- bool - bool
optional: true optional: true
description: "Optional. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.Example: A user votes in a poll, bot returns confirmation message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet." description: "Optional. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message.Example: A user votes in a poll, bot returns confirmation message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet."
extended_by: { } extended_by: { }
- -
name: InlineKeyboardMarkup name: InlineKeyboardMarkup
@ -2648,7 +2701,7 @@ types:
types: types:
- string - string
optional: true optional: true
description: 'Optional. HTTP or tg:// URL to be opened when the button is pressed. Links tg://user?id=<user_id> can be used to mention a user by their ID without using a username, if this is allowed by their privacy settings.' description: 'Optional. HTTP or tg:// URL to be opened when the button is pressed. Links tg://user?id=<user_id> can be used to mention a user by their identifier without using a username, if this is allowed by their privacy settings.'
- -
name: callback_data name: callback_data
types: types:
@ -2831,7 +2884,7 @@ types:
types: types:
- bool - bool
optional: true optional: true
description: "Optional. Use this parameter if you want to force reply from specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message." description: "Optional. Use this parameter if you want to force reply from specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message."
extended_by: { } extended_by: { }
- -
name: ChatPhoto name: ChatPhoto
@ -2936,7 +2989,7 @@ types:
types: types:
- bool - bool
optional: false optional: false
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' description: '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.'
- -
name: can_delete_messages name: can_delete_messages
types: types:
@ -2973,6 +3026,24 @@ types:
- bool - bool
optional: false optional: false
description: 'True, if the user is allowed to invite new users to the chat' description: 'True, if the user is allowed to invite new users to the chat'
-
name: can_post_stories
types:
- bool
optional: false
description: 'True, if the administrator can post stories to the chat'
-
name: can_edit_stories
types:
- bool
optional: false
description: 'True, if the administrator can edit stories posted by other users'
-
name: can_delete_stories
types:
- bool
optional: false
description: 'True, if the administrator can delete stories posted by other users'
- -
name: can_post_messages name: can_post_messages
types: types:
@ -2991,24 +3062,6 @@ types:
- bool - bool
optional: true optional: true
description: 'Optional. True, if the user is allowed to pin messages; groups and supergroups only' description: 'Optional. True, if the user is allowed to pin messages; groups and supergroups only'
-
name: can_post_stories
types:
- bool
optional: true
description: 'Optional. True, if the administrator can post stories in the channel; channels only'
-
name: can_edit_stories
types:
- bool
optional: true
description: 'Optional. True, if the administrator can edit stories posted by other users; channels only'
-
name: can_delete_stories
types:
- bool
optional: true
description: 'Optional. True, if the administrator can delete stories posted by other users; channels only'
- -
name: can_manage_topics name: can_manage_topics
types: types:
@ -3136,7 +3189,7 @@ types:
types: types:
- bool - bool
optional: false optional: false
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' description: '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.'
- -
name: can_delete_messages name: can_delete_messages
types: types:
@ -3173,6 +3226,24 @@ types:
- bool - bool
optional: false optional: false
description: 'True, if the user is allowed to invite new users to the chat' description: 'True, if the user is allowed to invite new users to the chat'
-
name: can_post_stories
types:
- bool
optional: false
description: 'True, if the administrator can post stories to the chat'
-
name: can_edit_stories
types:
- bool
optional: false
description: 'True, if the administrator can edit stories posted by other users'
-
name: can_delete_stories
types:
- bool
optional: false
description: 'True, if the administrator can delete stories posted by other users'
- -
name: can_post_messages name: can_post_messages
types: types:
@ -3191,24 +3262,6 @@ types:
- bool - bool
optional: true optional: true
description: 'Optional. True, if the user is allowed to pin messages; groups and supergroups only' description: 'Optional. True, if the user is allowed to pin messages; groups and supergroups only'
-
name: can_post_stories
types:
- bool
optional: true
description: 'Optional. True, if the administrator can post stories in the channel; channels only'
-
name: can_edit_stories
types:
- bool
optional: true
description: 'Optional. True, if the administrator can edit stories posted by other users; channels only'
-
name: can_delete_stories
types:
- bool
optional: true
description: 'Optional. True, if the administrator can delete stories posted by other users; channels only'
- -
name: can_manage_topics name: can_manage_topics
types: types:
@ -4047,7 +4100,7 @@ types:
types: types:
- ChatBoost - ChatBoost
optional: false optional: false
description: 'Infomation about the chat boost' description: 'Information about the chat boost'
extended_by: { } extended_by: { }
- -
name: ChatBoostRemoved name: ChatBoostRemoved
@ -8726,7 +8779,7 @@ methods:
- bool - bool
- -
name: setMessageReaction name: setMessageReaction
description: "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. In albums, bots must react to the first message. Returns True on success." description: "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Returns True on success."
fields: fields:
- -
name: chat_id name: chat_id
@ -8740,7 +8793,7 @@ methods:
types: types:
- int - int
optional: false optional: false
description: 'Identifier of the target message' description: 'Identifier of the target message. If the message belongs to a media group, the reaction is set to the first non-deleted message in the group instead.'
- -
name: reaction name: reaction
types: types:
@ -8913,7 +8966,7 @@ methods:
types: types:
- bool - bool
optional: true optional: true
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' 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.'
- -
name: can_delete_messages name: can_delete_messages
types: types:
@ -8950,6 +9003,24 @@ methods:
- bool - bool
optional: true optional: true
description: 'Pass True if the administrator can invite new users to the chat' description: 'Pass True if the administrator can invite new users to the chat'
-
name: can_post_stories
types:
- bool
optional: true
description: 'Pass True if the administrator can post stories to the chat'
-
name: can_edit_stories
types:
- bool
optional: true
description: 'Pass True if the administrator can edit stories posted by other users'
-
name: can_delete_stories
types:
- bool
optional: true
description: 'Pass True if the administrator can delete stories posted by other users'
- -
name: can_post_messages name: can_post_messages
types: types:
@ -8968,24 +9039,6 @@ methods:
- bool - bool
optional: true optional: true
description: 'Pass True if the administrator can pin messages, supergroups only' description: 'Pass True if the administrator can pin messages, supergroups only'
-
name: can_post_stories
types:
- bool
optional: true
description: 'Pass True if the administrator can post stories in the channel; channels only'
-
name: can_edit_stories
types:
- bool
optional: true
description: 'Pass True if the administrator can edit stories posted by other users; channels only'
-
name: can_delete_stories
types:
- bool
optional: true
description: 'Pass True if the administrator can delete stories posted by other users; channels only'
- -
name: can_manage_topics name: can_manage_topics
types: types:

View File

@ -3,7 +3,7 @@
"info": { "info": {
"title": "Telegram Bot API", "title": "Telegram Bot API",
"description": "Auto-generated OpenAPI schema by TGScraper.", "description": "Auto-generated OpenAPI schema by TGScraper.",
"version": "7.0.0" "version": "7.1.0"
}, },
"servers": [ "servers": [
{ {
@ -410,6 +410,9 @@
"slow_mode_delay": { "slow_mode_delay": {
"type": "integer" "type": "integer"
}, },
"unrestrict_boost_count": {
"type": "integer"
},
"message_auto_delete_time": { "message_auto_delete_time": {
"type": "integer" "type": "integer"
}, },
@ -436,6 +439,9 @@
"type": "boolean", "type": "boolean",
"default": true "default": true
}, },
"custom_emoji_sticker_set_name": {
"type": "string"
},
"linked_chat_id": { "linked_chat_id": {
"type": "integer" "type": "integer"
}, },
@ -465,6 +471,9 @@
"sender_chat": { "sender_chat": {
"$ref": "#/components/schemas/Chat" "$ref": "#/components/schemas/Chat"
}, },
"sender_boost_count": {
"type": "integer"
},
"date": { "date": {
"type": "integer" "type": "integer"
}, },
@ -491,6 +500,9 @@
"quote": { "quote": {
"$ref": "#/components/schemas/TextQuote" "$ref": "#/components/schemas/TextQuote"
}, },
"reply_to_story": {
"$ref": "#/components/schemas/Story"
},
"via_bot": { "via_bot": {
"$ref": "#/components/schemas/User" "$ref": "#/components/schemas/User"
}, },
@ -650,6 +662,9 @@
"proximity_alert_triggered": { "proximity_alert_triggered": {
"$ref": "#/components/schemas/ProximityAlertTriggered" "$ref": "#/components/schemas/ProximityAlertTriggered"
}, },
"boost_added": {
"$ref": "#/components/schemas/ChatBoostAdded"
},
"forum_topic_created": { "forum_topic_created": {
"$ref": "#/components/schemas/ForumTopicCreated" "$ref": "#/components/schemas/ForumTopicCreated"
}, },
@ -1165,7 +1180,19 @@
"type": "object" "type": "object"
}, },
"Story": { "Story": {
"description": "This object represents a message about a forwarded story in the chat. Currently holds no information.", "description": "This object represents a story.",
"required": [
"chat",
"id"
],
"properties": {
"chat": {
"$ref": "#/components/schemas/Chat"
},
"id": {
"type": "integer"
}
},
"type": "object" "type": "object"
}, },
"Video": { "Video": {
@ -1515,6 +1542,18 @@
}, },
"type": "object" "type": "object"
}, },
"ChatBoostAdded": {
"description": "This object represents a service message about a user boosting a chat.",
"required": [
"boost_count"
],
"properties": {
"boost_count": {
"type": "integer"
}
},
"type": "object"
},
"ForumTopicCreated": { "ForumTopicCreated": {
"description": "This object represents a service message about a new forum topic created in the chat.", "description": "This object represents a service message about a new forum topic created in the chat.",
"required": [ "required": [
@ -2216,7 +2255,10 @@
"can_restrict_members", "can_restrict_members",
"can_promote_members", "can_promote_members",
"can_change_info", "can_change_info",
"can_invite_users" "can_invite_users",
"can_post_stories",
"can_edit_stories",
"can_delete_stories"
], ],
"properties": { "properties": {
"is_anonymous": { "is_anonymous": {
@ -2243,15 +2285,6 @@
"can_invite_users": { "can_invite_users": {
"type": "boolean" "type": "boolean"
}, },
"can_post_messages": {
"type": "boolean"
},
"can_edit_messages": {
"type": "boolean"
},
"can_pin_messages": {
"type": "boolean"
},
"can_post_stories": { "can_post_stories": {
"type": "boolean" "type": "boolean"
}, },
@ -2261,6 +2294,15 @@
"can_delete_stories": { "can_delete_stories": {
"type": "boolean" "type": "boolean"
}, },
"can_post_messages": {
"type": "boolean"
},
"can_edit_messages": {
"type": "boolean"
},
"can_pin_messages": {
"type": "boolean"
},
"can_manage_topics": { "can_manage_topics": {
"type": "boolean" "type": "boolean"
} }
@ -2360,7 +2402,10 @@
"can_restrict_members", "can_restrict_members",
"can_promote_members", "can_promote_members",
"can_change_info", "can_change_info",
"can_invite_users" "can_invite_users",
"can_post_stories",
"can_edit_stories",
"can_delete_stories"
], ],
"properties": { "properties": {
"status": { "status": {
@ -2396,15 +2441,6 @@
"can_invite_users": { "can_invite_users": {
"type": "boolean" "type": "boolean"
}, },
"can_post_messages": {
"type": "boolean"
},
"can_edit_messages": {
"type": "boolean"
},
"can_pin_messages": {
"type": "boolean"
},
"can_post_stories": { "can_post_stories": {
"type": "boolean" "type": "boolean"
}, },
@ -2414,6 +2450,15 @@
"can_delete_stories": { "can_delete_stories": {
"type": "boolean" "type": "boolean"
}, },
"can_post_messages": {
"type": "boolean"
},
"can_edit_messages": {
"type": "boolean"
},
"can_pin_messages": {
"type": "boolean"
},
"can_manage_topics": { "can_manage_topics": {
"type": "boolean" "type": "boolean"
}, },
@ -11261,7 +11306,7 @@
} }
}, },
"/setMessageReaction": { "/setMessageReaction": {
"description": "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. In albums, bots must react to the first message. Returns True on success.", "description": "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Returns True on success.",
"post": { "post": {
"requestBody": { "requestBody": {
"required": true, "required": true,
@ -12130,15 +12175,6 @@
"can_invite_users": { "can_invite_users": {
"type": "boolean" "type": "boolean"
}, },
"can_post_messages": {
"type": "boolean"
},
"can_edit_messages": {
"type": "boolean"
},
"can_pin_messages": {
"type": "boolean"
},
"can_post_stories": { "can_post_stories": {
"type": "boolean" "type": "boolean"
}, },
@ -12148,6 +12184,15 @@
"can_delete_stories": { "can_delete_stories": {
"type": "boolean" "type": "boolean"
}, },
"can_post_messages": {
"type": "boolean"
},
"can_edit_messages": {
"type": "boolean"
},
"can_pin_messages": {
"type": "boolean"
},
"can_manage_topics": { "can_manage_topics": {
"type": "boolean" "type": "boolean"
} }
@ -12199,15 +12244,6 @@
"can_invite_users": { "can_invite_users": {
"type": "boolean" "type": "boolean"
}, },
"can_post_messages": {
"type": "boolean"
},
"can_edit_messages": {
"type": "boolean"
},
"can_pin_messages": {
"type": "boolean"
},
"can_post_stories": { "can_post_stories": {
"type": "boolean" "type": "boolean"
}, },
@ -12217,6 +12253,15 @@
"can_delete_stories": { "can_delete_stories": {
"type": "boolean" "type": "boolean"
}, },
"can_post_messages": {
"type": "boolean"
},
"can_edit_messages": {
"type": "boolean"
},
"can_pin_messages": {
"type": "boolean"
},
"can_manage_topics": { "can_manage_topics": {
"type": "boolean" "type": "boolean"
} }
@ -12268,15 +12313,6 @@
"can_invite_users": { "can_invite_users": {
"type": "boolean" "type": "boolean"
}, },
"can_post_messages": {
"type": "boolean"
},
"can_edit_messages": {
"type": "boolean"
},
"can_pin_messages": {
"type": "boolean"
},
"can_post_stories": { "can_post_stories": {
"type": "boolean" "type": "boolean"
}, },
@ -12286,6 +12322,15 @@
"can_delete_stories": { "can_delete_stories": {
"type": "boolean" "type": "boolean"
}, },
"can_post_messages": {
"type": "boolean"
},
"can_edit_messages": {
"type": "boolean"
},
"can_pin_messages": {
"type": "boolean"
},
"can_manage_topics": { "can_manage_topics": {
"type": "boolean" "type": "boolean"
} }

View File

@ -2,7 +2,7 @@ openapi: 3.0.0
info: info:
title: 'Telegram Bot API' title: 'Telegram Bot API'
description: 'Auto-generated OpenAPI schema by TGScraper.' description: 'Auto-generated OpenAPI schema by TGScraper.'
version: 7.0.0 version: 7.1.0
servers: servers:
- -
url: 'https://api.telegram.org/bot{token}' url: 'https://api.telegram.org/bot{token}'
@ -272,6 +272,8 @@ components:
$ref: '#/components/schemas/ChatPermissions' $ref: '#/components/schemas/ChatPermissions'
slow_mode_delay: slow_mode_delay:
type: integer type: integer
unrestrict_boost_count:
type: integer
message_auto_delete_time: message_auto_delete_time:
type: integer type: integer
has_aggressive_anti_spam_enabled: has_aggressive_anti_spam_enabled:
@ -291,6 +293,8 @@ components:
can_set_sticker_set: can_set_sticker_set:
type: boolean type: boolean
default: true default: true
custom_emoji_sticker_set_name:
type: string
linked_chat_id: linked_chat_id:
type: integer type: integer
location: location:
@ -311,6 +315,8 @@ components:
$ref: '#/components/schemas/User' $ref: '#/components/schemas/User'
sender_chat: sender_chat:
$ref: '#/components/schemas/Chat' $ref: '#/components/schemas/Chat'
sender_boost_count:
type: integer
date: date:
type: integer type: integer
chat: chat:
@ -329,6 +335,8 @@ components:
$ref: '#/components/schemas/ExternalReplyInfo' $ref: '#/components/schemas/ExternalReplyInfo'
quote: quote:
$ref: '#/components/schemas/TextQuote' $ref: '#/components/schemas/TextQuote'
reply_to_story:
$ref: '#/components/schemas/Story'
via_bot: via_bot:
$ref: '#/components/schemas/User' $ref: '#/components/schemas/User'
edit_date: edit_date:
@ -437,6 +445,8 @@ components:
$ref: '#/components/schemas/PassportData' $ref: '#/components/schemas/PassportData'
proximity_alert_triggered: proximity_alert_triggered:
$ref: '#/components/schemas/ProximityAlertTriggered' $ref: '#/components/schemas/ProximityAlertTriggered'
boost_added:
$ref: '#/components/schemas/ChatBoostAdded'
forum_topic_created: forum_topic_created:
$ref: '#/components/schemas/ForumTopicCreated' $ref: '#/components/schemas/ForumTopicCreated'
forum_topic_edited: forum_topic_edited:
@ -787,7 +797,15 @@ components:
type: integer type: integer
type: object type: object
Story: Story:
description: 'This object represents a message about a forwarded story in the chat. Currently holds no information.' description: 'This object represents a story.'
required:
- chat
- id
properties:
chat:
$ref: '#/components/schemas/Chat'
id:
type: integer
type: object type: object
Video: Video:
description: 'This object represents a video file.' description: 'This object represents a video file.'
@ -1029,6 +1047,14 @@ components:
message_auto_delete_time: message_auto_delete_time:
type: integer type: integer
type: object type: object
ChatBoostAdded:
description: 'This object represents a service message about a user boosting a chat.'
required:
- boost_count
properties:
boost_count:
type: integer
type: object
ForumTopicCreated: ForumTopicCreated:
description: 'This object represents a service message about a new forum topic created in the chat.' description: 'This object represents a service message about a new forum topic created in the chat.'
required: required:
@ -1512,6 +1538,9 @@ components:
- can_promote_members - can_promote_members
- can_change_info - can_change_info
- can_invite_users - can_invite_users
- can_post_stories
- can_edit_stories
- can_delete_stories
properties: properties:
is_anonymous: is_anonymous:
type: boolean type: boolean
@ -1529,18 +1558,18 @@ components:
type: boolean type: boolean
can_invite_users: can_invite_users:
type: boolean type: boolean
can_post_messages:
type: boolean
can_edit_messages:
type: boolean
can_pin_messages:
type: boolean
can_post_stories: can_post_stories:
type: boolean type: boolean
can_edit_stories: can_edit_stories:
type: boolean type: boolean
can_delete_stories: can_delete_stories:
type: boolean type: boolean
can_post_messages:
type: boolean
can_edit_messages:
type: boolean
can_pin_messages:
type: boolean
can_manage_topics: can_manage_topics:
type: boolean type: boolean
type: object type: object
@ -1613,6 +1642,9 @@ components:
- can_promote_members - can_promote_members
- can_change_info - can_change_info
- can_invite_users - can_invite_users
- can_post_stories
- can_edit_stories
- can_delete_stories
properties: properties:
status: status:
type: string type: string
@ -1636,18 +1668,18 @@ components:
type: boolean type: boolean
can_invite_users: can_invite_users:
type: boolean type: boolean
can_post_messages:
type: boolean
can_edit_messages:
type: boolean
can_pin_messages:
type: boolean
can_post_stories: can_post_stories:
type: boolean type: boolean
can_edit_stories: can_edit_stories:
type: boolean type: boolean
can_delete_stories: can_delete_stories:
type: boolean type: boolean
can_post_messages:
type: boolean
can_edit_messages:
type: boolean
can_pin_messages:
type: boolean
can_manage_topics: can_manage_topics:
type: boolean type: boolean
custom_title: custom_title:
@ -7437,7 +7469,7 @@ paths:
default: default:
$ref: '#/components/responses/UnknownError' $ref: '#/components/responses/UnknownError'
/setMessageReaction: /setMessageReaction:
description: "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. In albums, bots must react to the first message. Returns True on success." description: "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Returns True on success."
post: post:
requestBody: requestBody:
required: true required: true
@ -7989,18 +8021,18 @@ paths:
type: boolean type: boolean
can_invite_users: can_invite_users:
type: boolean type: boolean
can_post_messages:
type: boolean
can_edit_messages:
type: boolean
can_pin_messages:
type: boolean
can_post_stories: can_post_stories:
type: boolean type: boolean
can_edit_stories: can_edit_stories:
type: boolean type: boolean
can_delete_stories: can_delete_stories:
type: boolean type: boolean
can_post_messages:
type: boolean
can_edit_messages:
type: boolean
can_pin_messages:
type: boolean
can_manage_topics: can_manage_topics:
type: boolean type: boolean
application/x-www-form-urlencoded: application/x-www-form-urlencoded:
@ -8034,18 +8066,18 @@ paths:
type: boolean type: boolean
can_invite_users: can_invite_users:
type: boolean type: boolean
can_post_messages:
type: boolean
can_edit_messages:
type: boolean
can_pin_messages:
type: boolean
can_post_stories: can_post_stories:
type: boolean type: boolean
can_edit_stories: can_edit_stories:
type: boolean type: boolean
can_delete_stories: can_delete_stories:
type: boolean type: boolean
can_post_messages:
type: boolean
can_edit_messages:
type: boolean
can_pin_messages:
type: boolean
can_manage_topics: can_manage_topics:
type: boolean type: boolean
multipart/form-data: multipart/form-data:
@ -8079,18 +8111,18 @@ paths:
type: boolean type: boolean
can_invite_users: can_invite_users:
type: boolean type: boolean
can_post_messages:
type: boolean
can_edit_messages:
type: boolean
can_pin_messages:
type: boolean
can_post_stories: can_post_stories:
type: boolean type: boolean
can_edit_stories: can_edit_stories:
type: boolean type: boolean
can_delete_stories: can_delete_stories:
type: boolean type: boolean
can_post_messages:
type: boolean
can_edit_messages:
type: boolean
can_pin_messages:
type: boolean
can_manage_topics: can_manage_topics:
type: boolean type: boolean
responses: responses:

View File

@ -3,7 +3,7 @@
"name": "Telegram Bot API", "name": "Telegram Bot API",
"description": "Auto-generated Postman collection by TGScraper.", "description": "Auto-generated Postman collection by TGScraper.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"version": "7.0.0" "version": "7.1.0"
}, },
"variable": { "variable": {
"key": "token", "key": "token",
@ -1945,7 +1945,7 @@
{ {
"key": "message_id", "key": "message_id",
"disabled": false, "disabled": false,
"description": "Required. Identifier of the target message", "description": "Required. Identifier of the target message. If the message belongs to a media group, the reaction is set to the first non-deleted message in the group instead.",
"type": "text" "type": "text"
}, },
{ {
@ -1975,7 +1975,7 @@
"setMessageReaction" "setMessageReaction"
] ]
}, },
"description": "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. In albums, bots must react to the first message. Returns True on success." "description": "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Returns True on success."
} }
}, },
{ {
@ -2228,7 +2228,7 @@
{ {
"key": "can_manage_chat", "key": "can_manage_chat",
"disabled": true, "disabled": true,
"description": "Optional. 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", "description": "Optional. 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.",
"type": "text" "type": "text"
}, },
{ {
@ -2267,6 +2267,24 @@
"description": "Optional. Pass True if the administrator can invite new users to the chat", "description": "Optional. Pass True if the administrator can invite new users to the chat",
"type": "text" "type": "text"
}, },
{
"key": "can_post_stories",
"disabled": true,
"description": "Optional. Pass True if the administrator can post stories to the chat",
"type": "text"
},
{
"key": "can_edit_stories",
"disabled": true,
"description": "Optional. Pass True if the administrator can edit stories posted by other users",
"type": "text"
},
{
"key": "can_delete_stories",
"disabled": true,
"description": "Optional. Pass True if the administrator can delete stories posted by other users",
"type": "text"
},
{ {
"key": "can_post_messages", "key": "can_post_messages",
"disabled": true, "disabled": true,
@ -2285,24 +2303,6 @@
"description": "Optional. Pass True if the administrator can pin messages, supergroups only", "description": "Optional. Pass True if the administrator can pin messages, supergroups only",
"type": "text" "type": "text"
}, },
{
"key": "can_post_stories",
"disabled": true,
"description": "Optional. Pass True if the administrator can post stories in the channel; channels only",
"type": "text"
},
{
"key": "can_edit_stories",
"disabled": true,
"description": "Optional. Pass True if the administrator can edit stories posted by other users; channels only",
"type": "text"
},
{
"key": "can_delete_stories",
"disabled": true,
"description": "Optional. Pass True if the administrator can delete stories posted by other users; channels only",
"type": "text"
},
{ {
"key": "can_manage_topics", "key": "can_manage_topics",
"disabled": true, "disabled": true,