This commit is contained in:
sys-001 2022-11-05 13:00:03 +00:00
parent 56b967acd5
commit a50f0e3dd4
5 changed files with 3262 additions and 21 deletions

View File

@ -1,5 +1,5 @@
{
"version": "6.2.0",
"version": "6.3.0",
"types": [
{
"name": "Update",
@ -356,6 +356,15 @@
"optional": true,
"description": "Optional. Last name of the other party in a private chat"
},
{
"name": "is_forum",
"types": [
"bool"
],
"optional": true,
"description": "Optional. True, if the supergroup chat is a forum (has topics enabled)",
"default": true
},
{
"name": "photo",
"types": [
@ -364,6 +373,22 @@
"optional": true,
"description": "Optional. Chat photo. Returned only in getChat."
},
{
"name": "active_usernames",
"types": [
"Array<string>"
],
"optional": true,
"description": "Optional. If non-empty, the list of all active chat usernames; for private chats, supergroups and channels. Returned only in getChat."
},
{
"name": "emoji_status_custom_emoji_id",
"types": [
"string"
],
"optional": true,
"description": "Optional. Custom emoji identifier of emoji status of the other party in a private chat. Returned only in getChat."
},
{
"name": "bio",
"types": [
@ -513,6 +538,14 @@
"optional": false,
"description": "Unique message identifier inside this chat"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Optional. Unique identifier of a message thread to which the message belongs; for supergroups only"
},
{
"name": "from",
"types": [
@ -593,6 +626,15 @@
"optional": true,
"description": "Optional. For forwarded messages, date the original message was sent in Unix time"
},
{
"name": "is_topic_message",
"types": [
"bool"
],
"optional": true,
"description": "Optional. True, if the message is sent to a forum topic",
"default": true
},
{
"name": "is_automatic_forward",
"types": [
@ -935,6 +977,30 @@
"optional": true,
"description": "Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location."
},
{
"name": "forum_topic_created",
"types": [
"ForumTopicCreated"
],
"optional": true,
"description": "Optional. Service message: forum topic created"
},
{
"name": "forum_topic_closed",
"types": [
"ForumTopicClosed"
],
"optional": true,
"description": "Optional. Service message: forum topic closed"
},
{
"name": "forum_topic_reopened",
"types": [
"ForumTopicReopened"
],
"optional": true,
"description": "Optional. Service message: forum topic reopened"
},
{
"name": "video_chat_scheduled",
"types": [
@ -1927,6 +1993,49 @@
],
"extended_by": []
},
{
"name": "ForumTopicCreated",
"description": "This object represents a service message about a new forum topic created in the chat.",
"fields": [
{
"name": "name",
"types": [
"string"
],
"optional": false,
"description": "Name of the topic"
},
{
"name": "icon_color",
"types": [
"int"
],
"optional": false,
"description": "Color of the topic icon in RGB format"
},
{
"name": "icon_custom_emoji_id",
"types": [
"string"
],
"optional": true,
"description": "Optional. Unique identifier of the custom emoji shown as the topic icon"
}
],
"extended_by": []
},
{
"name": "ForumTopicClosed",
"description": "This object represents a service message about a forum topic closed in the chat. Currently holds no information.",
"fields": [],
"extended_by": []
},
{
"name": "ForumTopicReopened",
"description": "This object represents a service message about a forum topic reopened in the chat. Currently holds no information.",
"fields": [],
"extended_by": []
},
{
"name": "VideoChatScheduled",
"description": "This object represents a service message about a video chat scheduled in the chat.",
@ -2627,6 +2736,14 @@
],
"optional": true,
"description": "Optional. True, if the user is allowed to pin messages; groups and supergroups only"
},
{
"name": "can_manage_topics",
"types": [
"bool"
],
"optional": true,
"description": "Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only"
}
],
"extended_by": []
@ -2799,6 +2916,14 @@
"optional": true,
"description": "Optional. True, if the user is allowed to pin messages; groups and supergroups only"
},
{
"name": "can_manage_topics",
"types": [
"bool"
],
"optional": true,
"description": "Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only"
},
{
"name": "custom_title",
"types": [
@ -2885,6 +3010,14 @@
"optional": false,
"description": "True, if the user is allowed to pin messages"
},
{
"name": "can_manage_topics",
"types": [
"bool"
],
"optional": false,
"description": "True, if the user is allowed to create forum topics"
},
{
"name": "can_send_messages",
"types": [
@ -3159,6 +3292,14 @@
],
"optional": true,
"description": "Optional. True, if the user is allowed to pin messages. Ignored in public supergroups"
},
{
"name": "can_manage_topics",
"types": [
"bool"
],
"optional": true,
"description": "Optional. True, if the user is allowed to create forum topics. If omitted defaults to the value of can_pin_messages"
}
],
"extended_by": []
@ -3186,6 +3327,45 @@
],
"extended_by": []
},
{
"name": "ForumTopic",
"description": "This object represents a forum topic.",
"fields": [
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": false,
"description": "Unique identifier of the forum topic"
},
{
"name": "name",
"types": [
"string"
],
"optional": false,
"description": "Name of the topic"
},
{
"name": "icon_color",
"types": [
"int"
],
"optional": false,
"description": "Color of the topic icon in RGB format"
},
{
"name": "icon_custom_emoji_id",
"types": [
"string"
],
"optional": true,
"description": "Optional. Unique identifier of the custom emoji shown as the topic icon"
}
],
"extended_by": []
},
{
"name": "BotCommand",
"description": "This object represents a bot command.",
@ -7677,6 +7857,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "text",
"types": [
@ -7770,6 +7958,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "from_chat_id",
"types": [
@ -7821,6 +8017,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "from_chat_id",
"types": [
@ -7923,6 +8127,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "photo",
"types": [
@ -8017,6 +8229,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "audio",
"types": [
@ -8144,6 +8364,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "document",
"types": [
@ -8255,6 +8483,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "video",
"types": [
@ -8390,6 +8626,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "animation",
"types": [
@ -8517,6 +8761,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "voice",
"types": [
@ -8619,6 +8871,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "video_note",
"types": [
@ -8714,6 +8974,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "media",
"types": [
@ -8772,6 +9040,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "latitude",
"types": [
@ -9007,6 +9283,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "latitude",
"types": [
@ -9132,6 +9416,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "phone_number",
"types": [
@ -9205,7 +9497,7 @@
"ForceReply"
],
"optional": true,
"description": "Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove keyboard or to force a reply from the user."
"description": "Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user."
}
],
"return_types": [
@ -9225,6 +9517,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "question",
"types": [
@ -9385,6 +9685,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "emoji",
"types": [
@ -9745,6 +10053,14 @@
],
"optional": true,
"description": "Pass True if the administrator can pin messages, supergroups only"
},
{
"name": "can_manage_topics",
"types": [
"bool"
],
"optional": true,
"description": "Pass True if the user is allowed to create, rename, close, and reopen forum topics, supergroups only"
}
],
"return_types": [
@ -10130,7 +10446,7 @@
"string"
],
"optional": false,
"description": "New chat title, 1-255 characters"
"description": "New chat title, 1-128 characters"
}
],
"return_types": [
@ -10383,6 +10699,202 @@
"bool"
]
},
{
"name": "getForumTopicIconStickers",
"description": "Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user. Requires no parameters. Returns an Array of Sticker objects.",
"fields": [],
"return_types": [
"Array<Sticker>"
]
},
{
"name": "createForumTopic",
"description": "Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns information about the created topic as a ForumTopic object.",
"fields": [
{
"name": "chat_id",
"types": [
"int",
"string"
],
"optional": false,
"description": "Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)"
},
{
"name": "name",
"types": [
"string"
],
"optional": false,
"description": "Topic name, 1-128 characters"
},
{
"name": "icon_color",
"types": [
"int"
],
"optional": true,
"description": "Color of the topic icon in RGB format. Currently, must be one of 0x6FB9F0, 0xFFD67E, 0xCB86DB, 0x8EEE98, 0xFF93B2, or 0xFB6F5F"
},
{
"name": "icon_custom_emoji_id",
"types": [
"string"
],
"optional": true,
"description": "Unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers."
}
],
"return_types": [
"ForumTopic"
]
},
{
"name": "editForumTopic",
"description": "Use this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.",
"fields": [
{
"name": "chat_id",
"types": [
"int",
"string"
],
"optional": false,
"description": "Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": false,
"description": "Unique identifier for the target message thread of the forum topic"
},
{
"name": "name",
"types": [
"string"
],
"optional": false,
"description": "New topic name, 1-128 characters"
},
{
"name": "icon_custom_emoji_id",
"types": [
"string"
],
"optional": false,
"description": "New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers"
}
],
"return_types": [
"bool"
]
},
{
"name": "closeForumTopic",
"description": "Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.",
"fields": [
{
"name": "chat_id",
"types": [
"int",
"string"
],
"optional": false,
"description": "Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": false,
"description": "Unique identifier for the target message thread of the forum topic"
}
],
"return_types": [
"bool"
]
},
{
"name": "reopenForumTopic",
"description": "Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.",
"fields": [
{
"name": "chat_id",
"types": [
"int",
"string"
],
"optional": false,
"description": "Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": false,
"description": "Unique identifier for the target message thread of the forum topic"
}
],
"return_types": [
"bool"
]
},
{
"name": "deleteForumTopic",
"description": "Use this method to delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.",
"fields": [
{
"name": "chat_id",
"types": [
"int",
"string"
],
"optional": false,
"description": "Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": false,
"description": "Unique identifier for the target message thread of the forum topic"
}
],
"return_types": [
"bool"
]
},
{
"name": "unpinAllForumTopicMessages",
"description": "Use this method to clear the list of pinned messages in a forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success.",
"fields": [
{
"name": "chat_id",
"types": [
"int",
"string"
],
"optional": false,
"description": "Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": false,
"description": "Unique identifier for the target message thread of the forum topic"
}
],
"return_types": [
"bool"
]
},
{
"name": "answerCallbackQuery",
"description": "Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, True is returned.",
@ -10436,7 +10948,7 @@
},
{
"name": "setMyCommands",
"description": "Use this method to change the list of the bot's commands. See https://core.telegram.org/bots#commands for more details about bot commands. Returns True on success.",
"description": "Use this method to change the list of the bot's commands. See this manual for more details about bot commands. Returns True on success.",
"fields": [
{
"name": "commands",
@ -10877,7 +11389,7 @@
},
{
"name": "deleteMessage",
"description": "Use this method to delete a message, including service messages, with the following limitations:- A message can only be deleted if it was sent less than 48 hours ago.- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.- Bots can delete outgoing messages in private chats, groups, and supergroups.- Bots can delete incoming messages in private chats.- Bots granted can_post_messages permissions can delete outgoing messages in channels.- If the bot is an administrator of a group, it can delete any message there.- If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there.Returns True on success.",
"description": "Use this method to delete a message, including service messages, with the following limitations:- A message can only be deleted if it was sent less than 48 hours ago.- Service messages about a supergroup, channel, or forum topic creation can't be deleted.- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.- Bots can delete outgoing messages in private chats, groups, and supergroups.- Bots can delete incoming messages in private chats.- Bots granted can_post_messages permissions can delete outgoing messages in channels.- If the bot is an administrator of a group, it can delete any message there.- If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there.Returns True on success.",
"fields": [
{
"name": "chat_id",
@ -10914,6 +11426,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "sticker",
"types": [
@ -11358,6 +11878,14 @@
"optional": false,
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "title",
"types": [
@ -11853,6 +12381,14 @@
"optional": false,
"description": "Unique identifier for the target chat"
},
{
"name": "message_thread_id",
"types": [
"int"
],
"optional": true,
"description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only"
},
{
"name": "game_short_name",
"types": [

View File

@ -1,4 +1,4 @@
version: 6.2.0
version: 6.3.0
types:
-
name: Update
@ -267,12 +267,31 @@ types:
- string
optional: true
description: 'Optional. Last name of the other party in a private chat'
-
name: is_forum
types:
- bool
optional: true
description: 'Optional. True, if the supergroup chat is a forum (has topics enabled)'
default: true
-
name: photo
types:
- ChatPhoto
optional: true
description: 'Optional. Chat photo. Returned only in getChat.'
-
name: active_usernames
types:
- Array<string>
optional: true
description: 'Optional. If non-empty, the list of all active chat usernames; for private chats, supergroups and channels. Returned only in getChat.'
-
name: emoji_status_custom_emoji_id
types:
- string
optional: true
description: 'Optional. Custom emoji identifier of emoji status of the other party in a private chat. Returned only in getChat.'
-
name: bio
types:
@ -386,6 +405,12 @@ types:
- int
optional: false
description: 'Unique message identifier inside this chat'
-
name: message_thread_id
types:
- int
optional: true
description: 'Optional. Unique identifier of a message thread to which the message belongs; for supergroups only'
-
name: from
types:
@ -446,6 +471,13 @@ types:
- int
optional: true
description: 'Optional. For forwarded messages, date the original message was sent in Unix time'
-
name: is_topic_message
types:
- bool
optional: true
description: 'Optional. True, if the message is sent to a forum topic'
default: true
-
name: is_automatic_forward
types:
@ -704,6 +736,24 @@ types:
- ProximityAlertTriggered
optional: true
description: "Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location."
-
name: forum_topic_created
types:
- ForumTopicCreated
optional: true
description: 'Optional. Service message: forum topic created'
-
name: forum_topic_closed
types:
- ForumTopicClosed
optional: true
description: 'Optional. Service message: forum topic closed'
-
name: forum_topic_reopened
types:
- ForumTopicReopened
optional: true
description: 'Optional. Service message: forum topic reopened'
-
name: video_chat_scheduled
types:
@ -1442,6 +1492,39 @@ types:
optional: false
description: 'New auto-delete time for messages in the chat; in seconds'
extended_by: { }
-
name: ForumTopicCreated
description: 'This object represents a service message about a new forum topic created in the chat.'
fields:
-
name: name
types:
- string
optional: false
description: 'Name of the topic'
-
name: icon_color
types:
- int
optional: false
description: 'Color of the topic icon in RGB format'
-
name: icon_custom_emoji_id
types:
- string
optional: true
description: 'Optional. Unique identifier of the custom emoji shown as the topic icon'
extended_by: { }
-
name: ForumTopicClosed
description: 'This object represents a service message about a forum topic closed in the chat. Currently holds no information.'
fields: { }
extended_by: { }
-
name: ForumTopicReopened
description: 'This object represents a service message about a forum topic reopened in the chat. Currently holds no information.'
fields: { }
extended_by: { }
-
name: VideoChatScheduled
description: 'This object represents a service message about a video chat scheduled in the chat.'
@ -1966,6 +2049,12 @@ types:
- bool
optional: true
description: 'Optional. True, if the user is allowed to pin messages; groups and supergroups only'
-
name: can_manage_topics
types:
- bool
optional: true
description: 'Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only'
extended_by: { }
-
name: ChatMember
@ -2095,6 +2184,12 @@ types:
- bool
optional: true
description: 'Optional. True, if the user is allowed to pin messages; groups and supergroups only'
-
name: can_manage_topics
types:
- bool
optional: true
description: 'Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only'
-
name: custom_title
types:
@ -2159,6 +2254,12 @@ types:
- bool
optional: false
description: 'True, if the user is allowed to pin messages'
-
name: can_manage_topics
types:
- bool
optional: false
description: 'True, if the user is allowed to create forum topics'
-
name: can_send_messages
types:
@ -2364,6 +2465,12 @@ types:
- bool
optional: true
description: 'Optional. True, if the user is allowed to pin messages. Ignored in public supergroups'
-
name: can_manage_topics
types:
- bool
optional: true
description: 'Optional. True, if the user is allowed to create forum topics. If omitted defaults to the value of can_pin_messages'
extended_by: { }
-
name: ChatLocation
@ -2382,6 +2489,35 @@ types:
optional: false
description: 'Location address; 1-64 characters, as defined by the chat owner'
extended_by: { }
-
name: ForumTopic
description: 'This object represents a forum topic.'
fields:
-
name: message_thread_id
types:
- int
optional: false
description: 'Unique identifier of the forum topic'
-
name: name
types:
- string
optional: false
description: 'Name of the topic'
-
name: icon_color
types:
- int
optional: false
description: 'Color of the topic icon in RGB format'
-
name: icon_custom_emoji_id
types:
- string
optional: true
description: 'Optional. Unique identifier of the custom emoji shown as the topic icon'
extended_by: { }
-
name: BotCommand
description: 'This object represents a bot command.'
@ -5757,6 +5893,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: text
types:
@ -5827,6 +5969,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: from_chat_id
types:
@ -5865,6 +6013,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: from_chat_id
types:
@ -5942,6 +6096,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: photo
types:
@ -6013,6 +6173,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: audio
types:
@ -6109,6 +6275,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: document
types:
@ -6193,6 +6365,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: video
types:
@ -6295,6 +6473,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: animation
types:
@ -6391,6 +6575,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: voice
types:
@ -6468,6 +6658,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: video_note
types:
@ -6540,6 +6736,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: media
types:
@ -6583,6 +6785,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: latitude
types:
@ -6759,6 +6967,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: latitude
types:
@ -6853,6 +7067,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: phone_number
types:
@ -6909,7 +7129,7 @@ methods:
- ReplyKeyboardRemove
- ForceReply
optional: true
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove keyboard or to force a reply from the user.'
description: 'Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.'
return_types:
- Message
-
@ -6923,6 +7143,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: question
types:
@ -7044,6 +7270,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: emoji
types:
@ -7312,6 +7544,12 @@ methods:
- bool
optional: true
description: 'Pass True if the administrator can pin messages, supergroups only'
-
name: can_manage_topics
types:
- bool
optional: true
description: 'Pass True if the user is allowed to create, rename, close, and reopen forum topics, supergroups only'
return_types:
- bool
-
@ -7594,7 +7832,7 @@ methods:
types:
- string
optional: false
description: 'New chat title, 1-255 characters'
description: 'New chat title, 1-128 characters'
return_types:
- bool
-
@ -7776,6 +8014,150 @@ methods:
description: 'Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)'
return_types:
- bool
-
name: getForumTopicIconStickers
description: 'Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user. Requires no parameters. Returns an Array of Sticker objects.'
fields: { }
return_types:
- Array<Sticker>
-
name: createForumTopic
description: 'Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns information about the created topic as a ForumTopic object.'
fields:
-
name: chat_id
types:
- int
- string
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)'
-
name: name
types:
- string
optional: false
description: 'Topic name, 1-128 characters'
-
name: icon_color
types:
- int
optional: true
description: 'Color of the topic icon in RGB format. Currently, must be one of 0x6FB9F0, 0xFFD67E, 0xCB86DB, 0x8EEE98, 0xFF93B2, or 0xFB6F5F'
-
name: icon_custom_emoji_id
types:
- string
optional: true
description: 'Unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers.'
return_types:
- ForumTopic
-
name: editForumTopic
description: 'Use this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.'
fields:
-
name: chat_id
types:
- int
- string
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)'
-
name: message_thread_id
types:
- int
optional: false
description: 'Unique identifier for the target message thread of the forum topic'
-
name: name
types:
- string
optional: false
description: 'New topic name, 1-128 characters'
-
name: icon_custom_emoji_id
types:
- string
optional: false
description: 'New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers'
return_types:
- bool
-
name: closeForumTopic
description: 'Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.'
fields:
-
name: chat_id
types:
- int
- string
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)'
-
name: message_thread_id
types:
- int
optional: false
description: 'Unique identifier for the target message thread of the forum topic'
return_types:
- bool
-
name: reopenForumTopic
description: 'Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.'
fields:
-
name: chat_id
types:
- int
- string
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)'
-
name: message_thread_id
types:
- int
optional: false
description: 'Unique identifier for the target message thread of the forum topic'
return_types:
- bool
-
name: deleteForumTopic
description: 'Use this method to delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.'
fields:
-
name: chat_id
types:
- int
- string
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)'
-
name: message_thread_id
types:
- int
optional: false
description: 'Unique identifier for the target message thread of the forum topic'
return_types:
- bool
-
name: unpinAllForumTopicMessages
description: 'Use this method to clear the list of pinned messages in a forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success.'
fields:
-
name: chat_id
types:
- int
- string
optional: false
description: 'Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)'
-
name: message_thread_id
types:
- int
optional: false
description: 'Unique identifier for the target message thread of the forum topic'
return_types:
- bool
-
name: answerCallbackQuery
description: 'Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, True is returned.'
@ -7816,7 +8198,7 @@ methods:
- bool
-
name: setMyCommands
description: "Use this method to change the list of the bot's commands. See https://core.telegram.org/bots#commands for more details about bot commands. Returns True on success."
description: "Use this method to change the list of the bot's commands. See this manual for more details about bot commands. Returns True on success."
fields:
-
name: commands
@ -8141,7 +8523,7 @@ methods:
- Poll
-
name: deleteMessage
description: 'Use this method to delete a message, including service messages, with the following limitations:- A message can only be deleted if it was sent less than 48 hours ago.- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.- Bots can delete outgoing messages in private chats, groups, and supergroups.- Bots can delete incoming messages in private chats.- Bots granted can_post_messages permissions can delete outgoing messages in channels.- If the bot is an administrator of a group, it can delete any message there.- If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there.Returns True on success.'
description: "Use this method to delete a message, including service messages, with the following limitations:- A message can only be deleted if it was sent less than 48 hours ago.- Service messages about a supergroup, channel, or forum topic creation can't be deleted.- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.- Bots can delete outgoing messages in private chats, groups, and supergroups.- Bots can delete incoming messages in private chats.- Bots granted can_post_messages permissions can delete outgoing messages in channels.- If the bot is an administrator of a group, it can delete any message there.- If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there.Returns True on success."
fields:
-
name: chat_id
@ -8169,6 +8551,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: sticker
types:
@ -8496,6 +8884,12 @@ methods:
- string
optional: false
description: 'Unique identifier for the target chat or username of the target channel (in the format @channelusername)'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: title
types:
@ -8864,6 +9258,12 @@ methods:
- int
optional: false
description: 'Unique identifier for the target chat'
-
name: message_thread_id
types:
- int
optional: true
description: 'Unique identifier for the target message thread (topic) of the forum; for forum supergroups only'
-
name: game_short_name
types:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"name": "Telegram Bot API",
"description": "Auto-generated Postman collection by TGScraper.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"version": "6.2.0"
"version": "6.3.0"
},
"variable": {
"key": "token",
@ -270,6 +270,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "text",
"disabled": false,
@ -355,6 +361,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "from_chat_id",
"disabled": false,
@ -410,6 +422,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "from_chat_id",
"disabled": false,
@ -501,6 +519,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "photo",
"disabled": false,
@ -586,6 +610,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "audio",
"disabled": false,
@ -695,6 +725,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "document",
"disabled": false,
@ -792,6 +828,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "video",
"disabled": false,
@ -907,6 +949,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "animation",
"disabled": false,
@ -1016,6 +1064,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "voice",
"disabled": false,
@ -1107,6 +1161,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "video_note",
"disabled": false,
@ -1192,6 +1252,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "media",
"disabled": false,
@ -1253,6 +1319,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "latitude",
"disabled": false,
@ -1478,6 +1550,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "latitude",
"disabled": false,
@ -1587,6 +1665,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "phone_number",
"disabled": false,
@ -1638,7 +1722,7 @@
{
"key": "reply_markup",
"disabled": true,
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove keyboard or to force a reply from the user.",
"description": "Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.",
"type": "text"
}
]
@ -1672,6 +1756,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "question",
"disabled": false,
@ -1807,6 +1897,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "emoji",
"disabled": true,
@ -2199,6 +2295,12 @@
"disabled": true,
"description": "Optional. Pass True if the administrator can pin messages, supergroups only",
"type": "text"
},
{
"key": "can_manage_topics",
"disabled": true,
"description": "Optional. Pass True if the user is allowed to create, rename, close, and reopen forum topics, supergroups only",
"type": "text"
}
]
},
@ -2714,7 +2816,7 @@
{
"key": "title",
"disabled": false,
"description": "Required. New chat title, 1-255 characters",
"description": "Required. New chat title, 1-128 characters",
"type": "text"
}
]
@ -3112,6 +3214,276 @@
"description": "Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success."
}
},
{
"name": "getForumTopicIconStickers",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": []
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/getForumTopicIconStickers",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"getForumTopicIconStickers"
]
},
"description": "Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user. Requires no parameters. Returns an Array of Sticker objects."
}
},
{
"name": "createForumTopic",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": [
{
"key": "chat_id",
"disabled": false,
"description": "Required. Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)",
"type": "text"
},
{
"key": "name",
"disabled": false,
"description": "Required. Topic name, 1-128 characters",
"type": "text"
},
{
"key": "icon_color",
"disabled": true,
"description": "Optional. Color of the topic icon in RGB format. Currently, must be one of 0x6FB9F0, 0xFFD67E, 0xCB86DB, 0x8EEE98, 0xFF93B2, or 0xFB6F5F",
"type": "text"
},
{
"key": "icon_custom_emoji_id",
"disabled": true,
"description": "Optional. Unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers.",
"type": "text"
}
]
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/createForumTopic",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"createForumTopic"
]
},
"description": "Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns information about the created topic as a ForumTopic object."
}
},
{
"name": "editForumTopic",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": [
{
"key": "chat_id",
"disabled": false,
"description": "Required. Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": false,
"description": "Required. Unique identifier for the target message thread of the forum topic",
"type": "text"
},
{
"key": "name",
"disabled": false,
"description": "Required. New topic name, 1-128 characters",
"type": "text"
},
{
"key": "icon_custom_emoji_id",
"disabled": false,
"description": "Required. New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers",
"type": "text"
}
]
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/editForumTopic",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"editForumTopic"
]
},
"description": "Use this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success."
}
},
{
"name": "closeForumTopic",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": [
{
"key": "chat_id",
"disabled": false,
"description": "Required. Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": false,
"description": "Required. Unique identifier for the target message thread of the forum topic",
"type": "text"
}
]
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/closeForumTopic",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"closeForumTopic"
]
},
"description": "Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success."
}
},
{
"name": "reopenForumTopic",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": [
{
"key": "chat_id",
"disabled": false,
"description": "Required. Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": false,
"description": "Required. Unique identifier for the target message thread of the forum topic",
"type": "text"
}
]
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/reopenForumTopic",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"reopenForumTopic"
]
},
"description": "Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success."
}
},
{
"name": "deleteForumTopic",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": [
{
"key": "chat_id",
"disabled": false,
"description": "Required. Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": false,
"description": "Required. Unique identifier for the target message thread of the forum topic",
"type": "text"
}
]
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/deleteForumTopic",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"deleteForumTopic"
]
},
"description": "Use this method to delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success."
}
},
{
"name": "unpinAllForumTopicMessages",
"request": {
"method": "POST",
"body": {
"mode": "formdata",
"formdata": [
{
"key": "chat_id",
"disabled": false,
"description": "Required. Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": false,
"description": "Required. Unique identifier for the target message thread of the forum topic",
"type": "text"
}
]
},
"url": {
"raw": "https://api.telegram.org/bot{{token}}/unpinAllForumTopicMessages",
"protocol": "https",
"host": [
"api",
"telegram",
"org"
],
"path": [
"bot{{token}}",
"unpinAllForumTopicMessages"
]
},
"description": "Use this method to clear the list of pinned messages in a forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success."
}
},
{
"name": "answerCallbackQuery",
"request": {
@ -3208,7 +3580,7 @@
"setMyCommands"
]
},
"description": "Use this method to change the list of the bot's commands. See https://core.telegram.org/bots#commands for more details about bot commands. Returns True on success."
"description": "Use this method to change the list of the bot's commands. See this manual for more details about bot commands. Returns True on success."
}
},
{
@ -3745,7 +4117,7 @@
"deleteMessage"
]
},
"description": "Use this method to delete a message, including service messages, with the following limitations:- A message can only be deleted if it was sent less than 48 hours ago.- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.- Bots can delete outgoing messages in private chats, groups, and supergroups.- Bots can delete incoming messages in private chats.- Bots granted can_post_messages permissions can delete outgoing messages in channels.- If the bot is an administrator of a group, it can delete any message there.- If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there.Returns True on success."
"description": "Use this method to delete a message, including service messages, with the following limitations:- A message can only be deleted if it was sent less than 48 hours ago.- Service messages about a supergroup, channel, or forum topic creation can't be deleted.- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.- Bots can delete outgoing messages in private chats, groups, and supergroups.- Bots can delete incoming messages in private chats.- Bots granted can_post_messages permissions can delete outgoing messages in channels.- If the bot is an administrator of a group, it can delete any message there.- If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there.Returns True on success."
}
},
{
@ -3761,6 +4133,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "sticker",
"disabled": false,
@ -4289,6 +4667,12 @@
"description": "Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "title",
"disabled": false,
@ -4750,6 +5134,12 @@
"description": "Required. Unique identifier for the target chat",
"type": "text"
},
{
"key": "message_thread_id",
"disabled": true,
"description": "Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only",
"type": "text"
},
{
"key": "game_short_name",
"disabled": false,