Skip to content

Commit 4a55aa5

Browse files
Merge pull request #148 from gotd/feat/update-schema
feat(schema): update documentation to the latest layer
2 parents ab8abee + 0ba6d38 commit 4a55aa5

File tree

2 files changed

+258
-44
lines changed

2 files changed

+258
-44
lines changed

_schema/155.json

Lines changed: 129 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8107,18 +8107,24 @@
81078107
},
81088108
"emojiGroup": {
81098109
"name": "emojiGroup",
8110+
"description": [
8111+
"Represents an emoji category¹."
8112+
],
8113+
"links": [
8114+
"https://core.telegram.org/api/custom-emoji#emoji-categories"
8115+
],
81108116
"fields": {
81118117
"emoticons": {
81128118
"name": "emoticons",
8113-
"description": " "
8119+
"description": "A list of UTF-8 emojis, matching the category."
81148120
},
81158121
"icon_emoji_id": {
81168122
"name": "icon_emoji_id",
8117-
"description": " "
8123+
"description": "A single custom emoji used as preview for the category."
81188124
},
81198125
"title": {
81208126
"name": "title",
8121-
"description": " "
8127+
"description": "Category name, i.e. \"Animals\", \"Flags\", \"Faces\" and so on..."
81228128
}
81238129
}
81248130
},
@@ -8192,19 +8198,34 @@
81928198
},
81938199
"emojiList": {
81948200
"name": "emojiList",
8201+
"description": [
8202+
"Represents a list of custom emojis¹."
8203+
],
8204+
"links": [
8205+
"https://core.telegram.org/api/custom-emoji"
8206+
],
81958207
"fields": {
81968208
"document_id": {
81978209
"name": "document_id",
8198-
"description": " "
8210+
"description": "Custom emoji IDs"
81998211
},
82008212
"hash": {
82018213
"name": "hash",
8202-
"description": " "
8214+
"description": "Hash for pagination, for more info click here¹",
8215+
"links": [
8216+
"https://core.telegram.org/api/offsets#hash-generation"
8217+
]
82038218
}
82048219
}
82058220
},
82068221
"emojiListNotModified": {
8207-
"name": "emojiListNotModified"
8222+
"name": "emojiListNotModified",
8223+
"description": [
8224+
"The list of custom emojis¹ hasn't changed."
8225+
],
8226+
"links": [
8227+
"https://core.telegram.org/api/custom-emoji"
8228+
]
82088229
},
82098230
"emojiStatus": {
82108231
"name": "emojiStatus",
@@ -13751,10 +13772,7 @@
1375113772
"messageActionBotAllowed": {
1375213773
"name": "messageActionBotAllowed",
1375313774
"description": [
13754-
"The domain name of the website on which the user has logged in. More about Telegram Login »¹"
13755-
],
13756-
"links": [
13757-
"https://core.telegram.org/widgets/login"
13775+
"The user has given the bot permission to do something."
1375813776
],
1375913777
"fields": {
1376013778
"app": {
@@ -13767,7 +13785,10 @@
1376713785
},
1376813786
"domain": {
1376913787
"name": "domain",
13770-
"description": "The domain name of the website on which the user has logged in."
13788+
"description": "The domain name of the website on which the user has logged in. More about Telegram Login »¹",
13789+
"links": [
13790+
"https://core.telegram.org/widgets/login"
13791+
]
1377113792
},
1377213793
"flags": {
1377313794
"name": "flags",
@@ -16291,19 +16312,37 @@
1629116312
},
1629216313
"messages.emojiGroups": {
1629316314
"name": "messages.emojiGroups",
16315+
"description": [
16316+
"Represents a list of emoji categories¹."
16317+
],
16318+
"links": [
16319+
"https://core.telegram.org/api/custom-emoji#emoji-categories"
16320+
],
1629416321
"fields": {
1629516322
"groups": {
1629616323
"name": "groups",
16297-
"description": " "
16324+
"description": "A list of emoji categories¹.",
16325+
"links": [
16326+
"https://core.telegram.org/api/custom-emoji#emoji-categories"
16327+
]
1629816328
},
1629916329
"hash": {
1630016330
"name": "hash",
16301-
"description": " "
16331+
"description": "Hash for pagination, for more info click here¹",
16332+
"links": [
16333+
"https://core.telegram.org/api/offsets#hash-generation"
16334+
]
1630216335
}
1630316336
}
1630416337
},
1630516338
"messages.emojiGroupsNotModified": {
16306-
"name": "messages.emojiGroupsNotModified"
16339+
"name": "messages.emojiGroupsNotModified",
16340+
"description": [
16341+
"The list of emoji categories¹ hasn't changed."
16342+
],
16343+
"links": [
16344+
"https://core.telegram.org/api/custom-emoji#emoji-categories"
16345+
]
1630716346
},
1630816347
"messages.exportedChatInvite": {
1630916348
"name": "messages.exportedChatInvite",
@@ -27237,7 +27276,13 @@
2723727276
]
2723827277
},
2723927278
"EmojiGroup": {
27240-
"name": "EmojiGroup"
27279+
"name": "EmojiGroup",
27280+
"description": [
27281+
"Represents an emoji category¹."
27282+
],
27283+
"links": [
27284+
"https://core.telegram.org/api/custom-emoji#emoji-categories"
27285+
]
2724127286
},
2724227287
"EmojiKeyword": {
2724327288
"name": "EmojiKeyword",
@@ -27258,7 +27303,13 @@
2725827303
]
2725927304
},
2726027305
"EmojiList": {
27261-
"name": "EmojiList"
27306+
"name": "EmojiList",
27307+
"description": [
27308+
"Represents a list of custom emojis¹."
27309+
],
27310+
"links": [
27311+
"https://core.telegram.org/api/custom-emoji"
27312+
]
2726227313
},
2726327314
"EmojiStatus": {
2726427315
"name": "EmojiStatus",
@@ -29108,7 +29159,13 @@
2910829159
]
2910929160
},
2911029161
"messages.EmojiGroups": {
29111-
"name": "messages.EmojiGroups"
29162+
"name": "messages.EmojiGroups",
29163+
"description": [
29164+
"Represents a list of emoji categories¹."
29165+
],
29166+
"links": [
29167+
"https://core.telegram.org/api/custom-emoji#emoji-categories"
29168+
]
2911229169
},
2911329170
"messages.ExportedChatInvite": {
2911429171
"name": "messages.ExportedChatInvite",
@@ -29868,19 +29925,39 @@
2986829925
},
2986929926
"account.getDefaultGroupPhotoEmojis": {
2987029927
"name": "account.getDefaultGroupPhotoEmojis",
29928+
"description": [
29929+
"Get a set of suggested custom emoji stickers¹ that can be used as group picture²"
29930+
],
29931+
"links": [
29932+
"https://core.telegram.org/api/custom-emoji",
29933+
"https://core.telegram.org/api/files#sticker-profile-pictures"
29934+
],
2987129935
"parameters": {
2987229936
"hash": {
2987329937
"name": "hash",
29874-
"description": " "
29938+
"description": "Hash for pagination, for more info click here¹",
29939+
"links": [
29940+
"https://core.telegram.org/api/offsets#hash-generation"
29941+
]
2987529942
}
2987629943
}
2987729944
},
2987829945
"account.getDefaultProfilePhotoEmojis": {
2987929946
"name": "account.getDefaultProfilePhotoEmojis",
29947+
"description": [
29948+
"Get a set of suggested custom emoji stickers¹ that can be used as profile picture²"
29949+
],
29950+
"links": [
29951+
"https://core.telegram.org/api/custom-emoji",
29952+
"https://core.telegram.org/api/files#sticker-profile-pictures"
29953+
],
2988029954
"parameters": {
2988129955
"hash": {
2988229956
"name": "hash",
29883-
"description": " "
29957+
"description": "Hash for pagination, for more info click here¹",
29958+
"links": [
29959+
"https://core.telegram.org/api/offsets#hash-generation"
29960+
]
2988429961
}
2988529962
}
2988629963
},
@@ -39012,10 +39089,20 @@
3901239089
},
3901339090
"messages.getEmojiGroups": {
3901439091
"name": "messages.getEmojiGroups",
39092+
"description": [
39093+
"Represents a list of emoji categories¹, to be used when selecting custom emojis²."
39094+
],
39095+
"links": [
39096+
"https://core.telegram.org/api/custom-emoji#emoji-categories",
39097+
"https://core.telegram.org/api/custom-emoji"
39098+
],
3901539099
"parameters": {
3901639100
"hash": {
3901739101
"name": "hash",
39018-
"description": " "
39102+
"description": "Hash for pagination, for more info click here¹",
39103+
"links": [
39104+
"https://core.telegram.org/api/offsets#hash-generation"
39105+
]
3901939106
}
3902039107
},
3902139108
"bot_can_use": true
@@ -39062,20 +39149,40 @@
3906239149
},
3906339150
"messages.getEmojiProfilePhotoGroups": {
3906439151
"name": "messages.getEmojiProfilePhotoGroups",
39152+
"description": [
39153+
"Represents a list of emoji categories¹, to be used when selecting custom emojis to set as profile picture²."
39154+
],
39155+
"links": [
39156+
"https://core.telegram.org/api/custom-emoji#emoji-categories",
39157+
"https://core.telegram.org/api/files#sticker-profile-pictures"
39158+
],
3906539159
"parameters": {
3906639160
"hash": {
3906739161
"name": "hash",
39068-
"description": " "
39162+
"description": "Hash for pagination, for more info click here¹",
39163+
"links": [
39164+
"https://core.telegram.org/api/offsets#hash-generation"
39165+
]
3906939166
}
3907039167
},
3907139168
"bot_can_use": true
3907239169
},
3907339170
"messages.getEmojiStatusGroups": {
3907439171
"name": "messages.getEmojiStatusGroups",
39172+
"description": [
39173+
"Represents a list of emoji categories¹, to be used when selecting custom emojis to set as custom emoji status²."
39174+
],
39175+
"links": [
39176+
"https://core.telegram.org/api/custom-emoji#emoji-categories",
39177+
"https://core.telegram.org/api"
39178+
],
3907539179
"parameters": {
3907639180
"hash": {
3907739181
"name": "hash",
39078-
"description": " "
39182+
"description": "Hash for pagination, for more info click here¹",
39183+
"links": [
39184+
"https://core.telegram.org/api/offsets#hash-generation"
39185+
]
3907939186
}
3908039187
},
3908139188
"bot_can_use": true

0 commit comments

Comments
 (0)