Skip to content

Commit 9aea91d

Browse files
Merge pull request #115 from gotd/feat/update-schema
feat(schema): update documentation to the latest layer
2 parents bafc332 + 40c73f0 commit 9aea91d

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

_schema/145.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,7 +2543,7 @@
25432543
},
25442544
"icons": {
25452545
"name": "icons",
2546-
"description": "Attachment menu icon"
2546+
"description": "List of platform-specific static icons and animations to use for the attachment menu button"
25472547
},
25482548
"inactive": {
25492549
"name": "inactive",
@@ -2554,7 +2554,7 @@
25542554
},
25552555
"peer_types": {
25562556
"name": "peer_types",
2557-
"description": "List of peer types where this attachment should be shown"
2557+
"description": "List of dialog types where this attachment menu entry should be shown"
25582558
},
25592559
"short_name": {
25602560
"name": "short_name",
@@ -18048,7 +18048,10 @@
1804818048
},
1804918049
"type": {
1805018050
"name": "type",
18051-
"description": "Thumbnail type"
18051+
"description": "Thumbnail type »¹",
18052+
"links": [
18053+
"https://core.telegram.org/api/files#image-thumbnail-types"
18054+
]
1805218055
},
1805318056
"w": {
1805418057
"name": "w",
@@ -18064,9 +18067,9 @@
1806418067
"fields": {
1806518068
"type": {
1806618069
"name": "type",
18067-
"description": "Thumbnail type (see. photoSize¹)",
18070+
"description": "Thumbnail type »¹",
1806818071
"links": [
18069-
"https://core.telegram.org/constructor/photoSize"
18072+
"https://core.telegram.org/api/files#image-thumbnail-types"
1807018073
]
1807118074
}
1807218075
}
@@ -18087,7 +18090,10 @@
1808718090
},
1808818091
"type": {
1808918092
"name": "type",
18090-
"description": "Photosize type"
18093+
"description": "Photosize type »¹",
18094+
"links": [
18095+
"https://core.telegram.org/api/files#image-thumbnail-types"
18096+
]
1809118097
},
1809218098
"w": {
1809318099
"name": "w",

_schema/latest.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,7 +2543,7 @@
25432543
},
25442544
"icons": {
25452545
"name": "icons",
2546-
"description": "Attachment menu icon"
2546+
"description": "List of platform-specific static icons and animations to use for the attachment menu button"
25472547
},
25482548
"inactive": {
25492549
"name": "inactive",
@@ -2554,7 +2554,7 @@
25542554
},
25552555
"peer_types": {
25562556
"name": "peer_types",
2557-
"description": "List of peer types where this attachment should be shown"
2557+
"description": "List of dialog types where this attachment menu entry should be shown"
25582558
},
25592559
"short_name": {
25602560
"name": "short_name",
@@ -18048,7 +18048,10 @@
1804818048
},
1804918049
"type": {
1805018050
"name": "type",
18051-
"description": "Thumbnail type"
18051+
"description": "Thumbnail type »¹",
18052+
"links": [
18053+
"https://core.telegram.org/api/files#image-thumbnail-types"
18054+
]
1805218055
},
1805318056
"w": {
1805418057
"name": "w",
@@ -18064,9 +18067,9 @@
1806418067
"fields": {
1806518068
"type": {
1806618069
"name": "type",
18067-
"description": "Thumbnail type (see. photoSize¹)",
18070+
"description": "Thumbnail type »¹",
1806818071
"links": [
18069-
"https://core.telegram.org/constructor/photoSize"
18072+
"https://core.telegram.org/api/files#image-thumbnail-types"
1807018073
]
1807118074
}
1807218075
}
@@ -18087,7 +18090,10 @@
1808718090
},
1808818091
"type": {
1808918092
"name": "type",
18090-
"description": "Photosize type"
18093+
"description": "Photosize type »¹",
18094+
"links": [
18095+
"https://core.telegram.org/api/files#image-thumbnail-types"
18096+
]
1809118097
},
1809218098
"w": {
1809318099
"name": "w",

0 commit comments

Comments
 (0)