addedInput schema / properties / inlineButtons / items / anyOf
Added 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"
+ }
+]