Skip to content

Commit

Permalink
Merge pull request #114 from gotd/feat/update-schema
Browse files Browse the repository at this point in the history
feat(schema): update documentation to the latest layer
  • Loading branch information
gotd-bot[bot] committed Oct 27, 2022
2 parents e379e60 + c0c58af commit bafc332
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 12 deletions.
20 changes: 14 additions & 6 deletions _schema/145.json
Expand Up @@ -2671,7 +2671,7 @@
"attachMenuPeerTypeBotPM": {
"name": "attachMenuPeerTypeBotPM",
"description": [
"The bot attachment menu entry is available in private chats with other bots"
"The bot attachment menu entry is available in private chats with other bots (excluding the bot that offers the current attachment menu)"
]
},
"attachMenuPeerTypeBroadcast": {
Expand All @@ -2692,7 +2692,7 @@
"attachMenuPeerTypePM": {
"name": "attachMenuPeerTypePM",
"description": [
"The bot attachment menu entry is available in private chats with other users"
"The bot attachment menu entry is available in private chats with other users (not bots)"
]
},
"attachMenuPeerTypeSameBotPM": {
Expand Down Expand Up @@ -13280,7 +13280,8 @@
"messageActionWebViewDataSent": {
"name": "messageActionWebViewDataSent",
"description": [
"Data from an opened reply keyboard bot web app¹ was relayed to the bot that owns it (user side service message)."
"Data from an opened reply keyboard bot web app¹ was relayed to the bot that owns it (user side service message).",
"Clients should display a service message with the text Data from the «$text» button was transferred to the bot."
],
"links": [
"https://core.telegram.org/api/bots/webapps"
Expand Down Expand Up @@ -38011,7 +38012,8 @@
"messages.prolongWebView": {
"name": "messages.prolongWebView",
"description": [
"Indicate to the server (from the user side) that the user is still using a web app."
"Indicate to the server (from the user side) that the user is still using a web app.",
"If the method returns a QUERY_ID_INVALID error, the webview must be closed."
],
"parameters": {
"bot": {
Expand Down Expand Up @@ -38537,7 +38539,10 @@
},
"theme_params": {
"name": "theme_params",
"description": "Theme parameters"
"description": "Theme parameters »¹",
"links": [
"https://core.telegram.org/api/bots/webapps#theme-parameters"
]
},
"url": {
"name": "url",
Expand Down Expand Up @@ -38652,7 +38657,10 @@
},
"theme_params": {
"name": "theme_params",
"description": "Theme parameters for the web app"
"description": "Theme parameters »¹",
"links": [
"https://core.telegram.org/api/bots/webapps#theme-parameters"
]
},
"url": {
"name": "url",
Expand Down
20 changes: 14 additions & 6 deletions _schema/latest.json
Expand Up @@ -2671,7 +2671,7 @@
"attachMenuPeerTypeBotPM": {
"name": "attachMenuPeerTypeBotPM",
"description": [
"The bot attachment menu entry is available in private chats with other bots"
"The bot attachment menu entry is available in private chats with other bots (excluding the bot that offers the current attachment menu)"
]
},
"attachMenuPeerTypeBroadcast": {
Expand All @@ -2692,7 +2692,7 @@
"attachMenuPeerTypePM": {
"name": "attachMenuPeerTypePM",
"description": [
"The bot attachment menu entry is available in private chats with other users"
"The bot attachment menu entry is available in private chats with other users (not bots)"
]
},
"attachMenuPeerTypeSameBotPM": {
Expand Down Expand Up @@ -13280,7 +13280,8 @@
"messageActionWebViewDataSent": {
"name": "messageActionWebViewDataSent",
"description": [
"Data from an opened reply keyboard bot web app¹ was relayed to the bot that owns it (user side service message)."
"Data from an opened reply keyboard bot web app¹ was relayed to the bot that owns it (user side service message).",
"Clients should display a service message with the text Data from the «$text» button was transferred to the bot."
],
"links": [
"https://core.telegram.org/api/bots/webapps"
Expand Down Expand Up @@ -38011,7 +38012,8 @@
"messages.prolongWebView": {
"name": "messages.prolongWebView",
"description": [
"Indicate to the server (from the user side) that the user is still using a web app."
"Indicate to the server (from the user side) that the user is still using a web app.",
"If the method returns a QUERY_ID_INVALID error, the webview must be closed."
],
"parameters": {
"bot": {
Expand Down Expand Up @@ -38537,7 +38539,10 @@
},
"theme_params": {
"name": "theme_params",
"description": "Theme parameters"
"description": "Theme parameters »¹",
"links": [
"https://core.telegram.org/api/bots/webapps#theme-parameters"
]
},
"url": {
"name": "url",
Expand Down Expand Up @@ -38652,7 +38657,10 @@
},
"theme_params": {
"name": "theme_params",
"description": "Theme parameters for the web app"
"description": "Theme parameters »¹",
"links": [
"https://core.telegram.org/api/bots/webapps#theme-parameters"
]
},
"url": {
"name": "url",
Expand Down

0 comments on commit bafc332

Please sign in to comment.