changedInput schema / properties / inlineButtons / items / anyOf
Previous value: -[
- {
- "items": {
- "additionalProperties": true,
- "properties": {
- "callbackData": {
- "type": "string"
- },
- "copyText": {
- "properties": {
- "text": {
- "type": "string"
- }
- },
- "required": [
- "text"
- ],
- "type": "object"
- },
- "iconCustomEmojiId": {
- "type": "string"
- },
- "loginUrl": {
- "properties": {
- "botUsername": {
- "type": "string"
- },
- "forwardText": {
- "type": "string"
- },
- "requestWriteAccess": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- },
- "style": {
- "enum": [
- "primary",
- "success",
- "danger"
- ],
- "type": "string"
- },
- "switchInlineQuery": {
- "type": "string"
- },
- "switchInlineQueryChosenChat": {
- "properties": {
- "allowBotChats": {
- "type": "boolean"
- },
- "allowChannelChats": {
- "type": "boolean"
- },
- "allowGroupChats": {
- "type": "boolean"
- },
- "allowUserChats": {
- "type": "boolean"
- },
- "query": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "switchInlineQueryCurrentChat": {
- "type": "string"
- },
- "text": {
- "description": "Visible button label.",
- "type": "string"
- },
- "type": {
- "enum": [
- "url",
- "web_app",
- "login_url",
- "callback_data",
- "switch_inline_query",
- "switch_inline_query_current_chat",
- "switch_inline_query_chosen_chat",
- "copy_text"
- ],
- "type": "string"
- },
- "url": {
- "description": "URL action, e.g. https://example.com. Canonical external keyboard field is url, not RichDocument value.",
- "type": "string"
- },
- "value": {
- "description": "Compatibility alias for url only when type=url. Prefer url.",
- "type": "string"
- },
- "webApp": {
- "properties": {
- "url": {
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- }
- },
- "required": [
- "text"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "additionalProperties": true,
- "properties": {
- "callbackData": {
- "type": "string"
- },
- "copyText": {
- "properties": {
- "text": {
- "type": "string"
- }
- },
- "required": [
- "text"
- ],
- "type": "object"
- },
- "iconCustomEmojiId": {
- "type": "string"
- },
- "loginUrl": {
- "properties": {
- "botUsername": {
- "type": "string"
- },
- "forwardText": {
- "type": "string"
- },
- "requestWriteAccess": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- },
- "style": {
- "enum": [
- "primary",
- "success",
- "danger"
- ],
- "type": "string"
- },
- "switchInlineQuery": {
- "type": "string"
- },
- "switchInlineQueryChosenChat": {
- "properties": {
- "allowBotChats": {
- "type": "boolean"
- },
- "allowChannelChats": {
- "type": "boolean"
- },
- "allowGroupChats": {
- "type": "boolean"
- },
- "allowUserChats": {
- "type": "boolean"
- },
- "query": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "switchInlineQueryCurrentChat": {
- "type": "string"
- },
- "text": {
- "description": "Visible button label.",
- "type": "string"
- },
- "type": {
- "enum": [
- "url",
- "web_app",
- "login_url",
- "callback_data",
- "switch_inline_query",
- "switch_inline_query_current_chat",
- "switch_inline_query_chosen_chat",
- "copy_text"
- ],
- "type": "string"
- },
- "url": {
- "description": "URL action, e.g. https://example.com. Canonical external keyboard field is url, not RichDocument value.",
- "type": "string"
- },
- "value": {
- "description": "Compatibility alias for url only when type=url. Prefer url.",
- "type": "string"
- },
- "webApp": {
- "properties": {
- "url": {
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- }
- },
- "required": [
- "text"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "callbackData": {
+ "description": "Callback payload, 1-64 UTF-8 bytes.",
+ "type": "string"
+ },
+ "copyText": {
+ "description": "Text to copy when the button is pressed.",
+ "properties": {
+ "text": {
+ "description": "Text to copy to the clipboard.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "type": "object"
+ },
+ "iconCustomEmojiId": {
+ "description": "Telegram custom emoji id for the button icon, when supported.",
+ "type": "string"
+ },
+ "loginUrl": {
+ "description": "Telegram login action settings.",
+ "properties": {
+ "botUsername": {
+ "description": "Username of the bot linked to the login action.",
+ "type": "string"
+ },
+ "forwardText": {
+ "description": "Button text shown when this login button is forwarded.",
+ "type": "string"
+ },
+ "requestWriteAccess": {
+ "description": "Whether to request permission for the bot to message the user.",
+ "type": "boolean"
+ },
+ "url": {
+ "description": "HTTPS action URL, e.g. https://example.com.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ "style": {
+ "description": "Optional button color: primary, success or danger.",
+ "enum": [
+ "primary",
+ "success",
+ "danger"
+ ],
+ "type": "string"
+ },
+ "switchInlineQuery": {
+ "description": "Inline query inserted after choosing a chat.",
+ "type": "string"
+ },
+ "switchInlineQueryChosenChat": {
+ "description": "Inline query with permitted chat types for the Telegram chooser.",
+ "properties": {
+ "allowBotChats": {
+ "description": "Allow selecting bot chats.",
+ "type": "boolean"
+ },
+ "allowChannelChats": {
+ "description": "Allow selecting channels.",
+ "type": "boolean"
+ },
+ "allowGroupChats": {
+ "description": "Allow selecting groups and supergroups.",
+ "type": "boolean"
+ },
+ "allowUserChats": {
+ "description": "Allow selecting private user chats.",
+ "type": "boolean"
+ },
+ "query": {
+ "description": "Inline query text to prefill in the selected permitted chat.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "switchInlineQueryCurrentChat": {
+ "description": "Inline query inserted in the current chat.",
+ "type": "string"
+ },
+ "text": {
+ "description": "Visible button label.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Telegram keyboard action type; choose exactly one supported action.",
+ "enum": [
+ "url",
+ "web_app",
+ "login_url",
+ "callback_data",
+ "switch_inline_query",
+ "switch_inline_query_current_chat",
+ "switch_inline_query_chosen_chat",
+ "copy_text"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "description": "URL action, e.g. https://example.com. Canonical external keyboard field is url, not RichDocument value.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Compatibility alias for url only when type=url. Prefer url.",
+ "type": "string"
+ },
+ "webApp": {
+ "description": "Telegram Web App action with its HTTPS URL.",
+ "properties": {
+ "url": {
+ "description": "HTTPS action URL, e.g. https://example.com.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "callbackData": {
+ "description": "Callback payload, 1-64 UTF-8 bytes.",
+ "type": "string"
+ },
+ "copyText": {
+ "description": "Text to copy when the button is pressed.",
+ "properties": {
+ "text": {
+ "description": "Text to copy to the clipboard.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "type": "object"
+ },
+ "iconCustomEmojiId": {
+ "description": "Telegram custom emoji id for the button icon, when supported.",
+ "type": "string"
+ },
+ "loginUrl": {
+ "description": "Telegram login action settings.",
+ "properties": {
+ "botUsername": {
+ "description": "Username of the bot linked to the login action.",
+ "type": "string"
+ },
+ "forwardText": {
+ "description": "Button text shown when this login button is forwarded.",
+ "type": "string"
+ },
+ "requestWriteAccess": {
+ "description": "Whether to request permission for the bot to message the user.",
+ "type": "boolean"
+ },
+ "url": {
+ "description": "HTTPS action URL, e.g. https://example.com.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ "style": {
+ "description": "Optional button color: primary, success or danger.",
+ "enum": [
+ "primary",
+ "success",
+ "danger"
+ ],
+ "type": "string"
+ },
+ "switchInlineQuery": {
+ "description": "Inline query inserted after choosing a chat.",
+ "type": "string"
+ },
+ "switchInlineQueryChosenChat": {
+ "description": "Inline query with permitted chat types for the Telegram chooser.",
+ "properties": {
+ "allowBotChats": {
+ "description": "Allow selecting bot chats.",
+ "type": "boolean"
+ },
+ "allowChannelChats": {
+ "description": "Allow selecting channels.",
+ "type": "boolean"
+ },
+ "allowGroupChats": {
+ "description": "Allow selecting groups and supergroups.",
+ "type": "boolean"
+ },
+ "allowUserChats": {
+ "description": "Allow selecting private user chats.",
+ "type": "boolean"
+ },
+ "query": {
+ "description": "Inline query text to prefill in the selected permitted chat.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "switchInlineQueryCurrentChat": {
+ "description": "Inline query inserted in the current chat.",
+ "type": "string"
+ },
+ "text": {
+ "description": "Visible button label.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Telegram keyboard action type; choose exactly one supported action.",
+ "enum": [
+ "url",
+ "web_app",
+ "login_url",
+ "callback_data",
+ "switch_inline_query",
+ "switch_inline_query_current_chat",
+ "switch_inline_query_chosen_chat",
+ "copy_text"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "description": "URL action, e.g. https://example.com. Canonical external keyboard field is url, not RichDocument value.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Compatibility alias for url only when type=url. Prefer url.",
+ "type": "string"
+ },
+ "webApp": {
+ "description": "Telegram Web App action with its HTTPS URL.",
+ "properties": {
+ "url": {
+ "description": "HTTPS action URL, e.g. https://example.com.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "type": "object"
+ }
+]