Skip to content

Commit 80a40ce

Browse files
committed
feat(schema): update documentation to the latest layer
1 parent de6c052 commit 80a40ce

File tree

2 files changed

+52
-24
lines changed

2 files changed

+52
-24
lines changed

_schema/155.json

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13801,26 +13801,27 @@
1380113801
"messageActionBotAllowed": {
1380213802
"name": "messageActionBotAllowed",
1380313803
"description": [
13804-
"The user has given the bot permission to do something."
13804+
"We have given the bot permission to send us direct messages.",
13805+
"The optional fields specify how did we authorize the bot to send us messages."
1380513806
],
1380613807
"fields": {
1380713808
"app": {
1380813809
"name": "app",
13809-
"description": "We just gave the specified bot web app¹ permission to send us messages.",
13810+
"description": "We have authorized the bot to send us messages by opening the specified bot web app¹.",
1381013811
"links": [
1381113812
"https://core.telegram.org/api/bots/webapps"
1381213813
]
1381313814
},
1381413815
"attach_menu": {
1381513816
"name": "attach_menu",
13816-
"description": "We just installed the bot's attachment menu¹, thus giving the bot permission to send us messages.",
13817+
"description": "We have authorized the bot to send us messages by installing the bot's attachment menu¹.",
1381713818
"links": [
1381813819
"https://core.telegram.org/api/bots/attach"
1381913820
]
1382013821
},
1382113822
"domain": {
1382213823
"name": "domain",
13823-
"description": "The user has logged in via Telegram Login »¹; this field contains the domain name of the website on which the user has logged in.",
13824+
"description": "We have authorized the bot to send us messages by logging into a website via Telegram Login »¹; this field contains the domain name of the website on which the user has logged in.",
1382413825
"links": [
1382513826
"https://core.telegram.org/widgets/login"
1382613827
]
@@ -21413,7 +21414,7 @@
2141321414
},
2141421415
"show_peer_photo": {
2141521416
"name": "show_peer_photo",
21416-
"description": " "
21417+
"description": "Whether a profile photo bubble should be displayed for this message, like for messages sent in groups. The photo shown in the bubble is obtained either from the peer contained in from_id, or from chat_invite."
2141721418
},
2141821419
"sponsor_info": {
2141921420
"name": "sponsor_info",
@@ -39252,7 +39253,10 @@
3925239253
"messages.getEmojiKeywords": {
3925339254
"name": "messages.getEmojiKeywords",
3925439255
"description": [
39255-
"Get localized emoji keywords"
39256+
"Get localized emoji keywords »¹."
39257+
],
39258+
"links": [
39259+
"https://core.telegram.org/api/custom-emoji#emoji-keywords"
3925639260
],
3925739261
"parameters": {
3925839262
"lang_code": {
@@ -39264,12 +39268,15 @@
3926439268
"messages.getEmojiKeywordsDifference": {
3926539269
"name": "messages.getEmojiKeywordsDifference",
3926639270
"description": [
39267-
"Get changed emoji keywords"
39271+
"Get changed emoji keywords »¹."
39272+
],
39273+
"links": [
39274+
"https://core.telegram.org/api/custom-emoji#emoji-keywords"
3926839275
],
3926939276
"parameters": {
3927039277
"from_version": {
3927139278
"name": "from_version",
39272-
"description": "Previous emoji keyword localization version"
39279+
"description": "Previous stored emoji keyword list version"
3927339280
},
3927439281
"lang_code": {
3927539282
"name": "lang_code",
@@ -39280,12 +39287,16 @@
3928039287
"messages.getEmojiKeywordsLanguages": {
3928139288
"name": "messages.getEmojiKeywordsLanguages",
3928239289
"description": [
39283-
"Get info about an emoji keyword localization"
39290+
"Obtain a list of related languages that must be used when fetching emoji keyword lists »¹.",
39291+
"Usually the method will return the passed language codes (if localized) + en + some language codes for similar languages (if applicable)."
39292+
],
39293+
"links": [
39294+
"https://core.telegram.org/api/custom-emoji#emoji-keywords"
3928439295
],
3928539296
"parameters": {
3928639297
"lang_codes": {
3928739298
"name": "lang_codes",
39288-
"description": "Language codes"
39299+
"description": "The user's language codes"
3928939300
}
3929039301
}
3929139302
},
@@ -39350,12 +39361,15 @@
3935039361
"messages.getEmojiURL": {
3935139362
"name": "messages.getEmojiURL",
3935239363
"description": [
39353-
"Returns an HTTP URL which can be used to automatically log in into translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation"
39364+
"Returns an HTTP URL which can be used to automatically log in into translation platform and suggest new emoji keywords »¹. The URL will be valid for 30 seconds after generation."
39365+
],
39366+
"links": [
39367+
"https://core.telegram.org/api/custom-emoji#emoji-keywords"
3935439368
],
3935539369
"parameters": {
3935639370
"lang_code": {
3935739371
"name": "lang_code",
39358-
"description": "Language code for which the emoji replacements will be suggested"
39372+
"description": "Language code for which the emoji keywords will be suggested"
3935939373
}
3936039374
}
3936139375
},

_schema/latest.json

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13801,26 +13801,27 @@
1380113801
"messageActionBotAllowed": {
1380213802
"name": "messageActionBotAllowed",
1380313803
"description": [
13804-
"The user has given the bot permission to do something."
13804+
"We have given the bot permission to send us direct messages.",
13805+
"The optional fields specify how did we authorize the bot to send us messages."
1380513806
],
1380613807
"fields": {
1380713808
"app": {
1380813809
"name": "app",
13809-
"description": "We just gave the specified bot web app¹ permission to send us messages.",
13810+
"description": "We have authorized the bot to send us messages by opening the specified bot web app¹.",
1381013811
"links": [
1381113812
"https://core.telegram.org/api/bots/webapps"
1381213813
]
1381313814
},
1381413815
"attach_menu": {
1381513816
"name": "attach_menu",
13816-
"description": "We just installed the bot's attachment menu¹, thus giving the bot permission to send us messages.",
13817+
"description": "We have authorized the bot to send us messages by installing the bot's attachment menu¹.",
1381713818
"links": [
1381813819
"https://core.telegram.org/api/bots/attach"
1381913820
]
1382013821
},
1382113822
"domain": {
1382213823
"name": "domain",
13823-
"description": "The user has logged in via Telegram Login »¹; this field contains the domain name of the website on which the user has logged in.",
13824+
"description": "We have authorized the bot to send us messages by logging into a website via Telegram Login »¹; this field contains the domain name of the website on which the user has logged in.",
1382413825
"links": [
1382513826
"https://core.telegram.org/widgets/login"
1382613827
]
@@ -21413,7 +21414,7 @@
2141321414
},
2141421415
"show_peer_photo": {
2141521416
"name": "show_peer_photo",
21416-
"description": " "
21417+
"description": "Whether a profile photo bubble should be displayed for this message, like for messages sent in groups. The photo shown in the bubble is obtained either from the peer contained in from_id, or from chat_invite."
2141721418
},
2141821419
"sponsor_info": {
2141921420
"name": "sponsor_info",
@@ -39252,7 +39253,10 @@
3925239253
"messages.getEmojiKeywords": {
3925339254
"name": "messages.getEmojiKeywords",
3925439255
"description": [
39255-
"Get localized emoji keywords"
39256+
"Get localized emoji keywords »¹."
39257+
],
39258+
"links": [
39259+
"https://core.telegram.org/api/custom-emoji#emoji-keywords"
3925639260
],
3925739261
"parameters": {
3925839262
"lang_code": {
@@ -39264,12 +39268,15 @@
3926439268
"messages.getEmojiKeywordsDifference": {
3926539269
"name": "messages.getEmojiKeywordsDifference",
3926639270
"description": [
39267-
"Get changed emoji keywords"
39271+
"Get changed emoji keywords »¹."
39272+
],
39273+
"links": [
39274+
"https://core.telegram.org/api/custom-emoji#emoji-keywords"
3926839275
],
3926939276
"parameters": {
3927039277
"from_version": {
3927139278
"name": "from_version",
39272-
"description": "Previous emoji keyword localization version"
39279+
"description": "Previous stored emoji keyword list version"
3927339280
},
3927439281
"lang_code": {
3927539282
"name": "lang_code",
@@ -39280,12 +39287,16 @@
3928039287
"messages.getEmojiKeywordsLanguages": {
3928139288
"name": "messages.getEmojiKeywordsLanguages",
3928239289
"description": [
39283-
"Get info about an emoji keyword localization"
39290+
"Obtain a list of related languages that must be used when fetching emoji keyword lists »¹.",
39291+
"Usually the method will return the passed language codes (if localized) + en + some language codes for similar languages (if applicable)."
39292+
],
39293+
"links": [
39294+
"https://core.telegram.org/api/custom-emoji#emoji-keywords"
3928439295
],
3928539296
"parameters": {
3928639297
"lang_codes": {
3928739298
"name": "lang_codes",
39288-
"description": "Language codes"
39299+
"description": "The user's language codes"
3928939300
}
3929039301
}
3929139302
},
@@ -39350,12 +39361,15 @@
3935039361
"messages.getEmojiURL": {
3935139362
"name": "messages.getEmojiURL",
3935239363
"description": [
39353-
"Returns an HTTP URL which can be used to automatically log in into translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation"
39364+
"Returns an HTTP URL which can be used to automatically log in into translation platform and suggest new emoji keywords »¹. The URL will be valid for 30 seconds after generation."
39365+
],
39366+
"links": [
39367+
"https://core.telegram.org/api/custom-emoji#emoji-keywords"
3935439368
],
3935539369
"parameters": {
3935639370
"lang_code": {
3935739371
"name": "lang_code",
39358-
"description": "Language code for which the emoji replacements will be suggested"
39372+
"description": "Language code for which the emoji keywords will be suggested"
3935939373
}
3936039374
}
3936139375
},

0 commit comments

Comments
 (0)