Skip to content

Commit bafc332

Browse files
Merge pull request #114 from gotd/feat/update-schema
feat(schema): update documentation to the latest layer
2 parents e379e60 + c0c58af commit bafc332

File tree

2 files changed

+28
-12
lines changed

2 files changed

+28
-12
lines changed

_schema/145.json

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2671,7 +2671,7 @@
26712671
"attachMenuPeerTypeBotPM": {
26722672
"name": "attachMenuPeerTypeBotPM",
26732673
"description": [
2674-
"The bot attachment menu entry is available in private chats with other bots"
2674+
"The bot attachment menu entry is available in private chats with other bots (excluding the bot that offers the current attachment menu)"
26752675
]
26762676
},
26772677
"attachMenuPeerTypeBroadcast": {
@@ -2692,7 +2692,7 @@
26922692
"attachMenuPeerTypePM": {
26932693
"name": "attachMenuPeerTypePM",
26942694
"description": [
2695-
"The bot attachment menu entry is available in private chats with other users"
2695+
"The bot attachment menu entry is available in private chats with other users (not bots)"
26962696
]
26972697
},
26982698
"attachMenuPeerTypeSameBotPM": {
@@ -13280,7 +13280,8 @@
1328013280
"messageActionWebViewDataSent": {
1328113281
"name": "messageActionWebViewDataSent",
1328213282
"description": [
13283-
"Data from an opened reply keyboard bot web app¹ was relayed to the bot that owns it (user side service message)."
13283+
"Data from an opened reply keyboard bot web app¹ was relayed to the bot that owns it (user side service message).",
13284+
"Clients should display a service message with the text Data from the «$text» button was transferred to the bot."
1328413285
],
1328513286
"links": [
1328613287
"https://core.telegram.org/api/bots/webapps"
@@ -38011,7 +38012,8 @@
3801138012
"messages.prolongWebView": {
3801238013
"name": "messages.prolongWebView",
3801338014
"description": [
38014-
"Indicate to the server (from the user side) that the user is still using a web app."
38015+
"Indicate to the server (from the user side) that the user is still using a web app.",
38016+
"If the method returns a QUERY_ID_INVALID error, the webview must be closed."
3801538017
],
3801638018
"parameters": {
3801738019
"bot": {
@@ -38537,7 +38539,10 @@
3853738539
},
3853838540
"theme_params": {
3853938541
"name": "theme_params",
38540-
"description": "Theme parameters"
38542+
"description": "Theme parameters »¹",
38543+
"links": [
38544+
"https://core.telegram.org/api/bots/webapps#theme-parameters"
38545+
]
3854138546
},
3854238547
"url": {
3854338548
"name": "url",
@@ -38652,7 +38657,10 @@
3865238657
},
3865338658
"theme_params": {
3865438659
"name": "theme_params",
38655-
"description": "Theme parameters for the web app"
38660+
"description": "Theme parameters »¹",
38661+
"links": [
38662+
"https://core.telegram.org/api/bots/webapps#theme-parameters"
38663+
]
3865638664
},
3865738665
"url": {
3865838666
"name": "url",

_schema/latest.json

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2671,7 +2671,7 @@
26712671
"attachMenuPeerTypeBotPM": {
26722672
"name": "attachMenuPeerTypeBotPM",
26732673
"description": [
2674-
"The bot attachment menu entry is available in private chats with other bots"
2674+
"The bot attachment menu entry is available in private chats with other bots (excluding the bot that offers the current attachment menu)"
26752675
]
26762676
},
26772677
"attachMenuPeerTypeBroadcast": {
@@ -2692,7 +2692,7 @@
26922692
"attachMenuPeerTypePM": {
26932693
"name": "attachMenuPeerTypePM",
26942694
"description": [
2695-
"The bot attachment menu entry is available in private chats with other users"
2695+
"The bot attachment menu entry is available in private chats with other users (not bots)"
26962696
]
26972697
},
26982698
"attachMenuPeerTypeSameBotPM": {
@@ -13280,7 +13280,8 @@
1328013280
"messageActionWebViewDataSent": {
1328113281
"name": "messageActionWebViewDataSent",
1328213282
"description": [
13283-
"Data from an opened reply keyboard bot web app¹ was relayed to the bot that owns it (user side service message)."
13283+
"Data from an opened reply keyboard bot web app¹ was relayed to the bot that owns it (user side service message).",
13284+
"Clients should display a service message with the text Data from the «$text» button was transferred to the bot."
1328413285
],
1328513286
"links": [
1328613287
"https://core.telegram.org/api/bots/webapps"
@@ -38011,7 +38012,8 @@
3801138012
"messages.prolongWebView": {
3801238013
"name": "messages.prolongWebView",
3801338014
"description": [
38014-
"Indicate to the server (from the user side) that the user is still using a web app."
38015+
"Indicate to the server (from the user side) that the user is still using a web app.",
38016+
"If the method returns a QUERY_ID_INVALID error, the webview must be closed."
3801538017
],
3801638018
"parameters": {
3801738019
"bot": {
@@ -38537,7 +38539,10 @@
3853738539
},
3853838540
"theme_params": {
3853938541
"name": "theme_params",
38540-
"description": "Theme parameters"
38542+
"description": "Theme parameters »¹",
38543+
"links": [
38544+
"https://core.telegram.org/api/bots/webapps#theme-parameters"
38545+
]
3854138546
},
3854238547
"url": {
3854338548
"name": "url",
@@ -38652,7 +38657,10 @@
3865238657
},
3865338658
"theme_params": {
3865438659
"name": "theme_params",
38655-
"description": "Theme parameters for the web app"
38660+
"description": "Theme parameters »¹",
38661+
"links": [
38662+
"https://core.telegram.org/api/bots/webapps#theme-parameters"
38663+
]
3865638664
},
3865738665
"url": {
3865838666
"name": "url",

0 commit comments

Comments
 (0)