Skip to content

Commit 9e8fc38

Browse files
Merge pull request #73 from gotd/feat/update-schema
feat(schema): update documentation to the latest layer
2 parents 49d71b5 + b03eaa7 commit 9e8fc38

File tree

2 files changed

+42
-22
lines changed

2 files changed

+42
-22
lines changed

_schema/144.json

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6984,7 +6984,7 @@
69846984
},
69856985
"free": {
69866986
"name": "free",
6987-
"description": " "
6987+
"description": "Whether this custom emoji can be sent by non-Premium users"
69886988
},
69896989
"stickerset": {
69906990
"name": "stickerset",
@@ -11135,7 +11135,10 @@
1113511135
}
1113611136
},
1113711137
"inputStickerSetPremiumGifts": {
11138-
"name": "inputStickerSetPremiumGifts"
11138+
"name": "inputStickerSetPremiumGifts",
11139+
"description": [
11140+
"Stickers to show when receiving a gifted Telegram Premium subscription"
11141+
]
1113911142
},
1114011143
"inputStickerSetShortName": {
1114111144
"name": "inputStickerSetShortName",
@@ -17877,7 +17880,7 @@
1787717880
},
1787817881
"bot_url": {
1787917882
"name": "bot_url",
17880-
"description": " "
17883+
"description": "A t.me/$invoice link to an invoice for in-app payment, using the official Premium bot; may be empty if direct payment isn't available."
1788117884
},
1788217885
"currency": {
1788317886
"name": "currency",
@@ -17899,7 +17902,7 @@
1789917902
},
1790017903
"store_product": {
1790117904
"name": "store_product",
17902-
"description": " "
17905+
"description": "An identifier for the App Store/Play Store product associated with the Premium gift."
1790317906
}
1790417907
}
1790517908
},
@@ -19718,7 +19721,7 @@
1971819721
"stickerSetCovered": {
1971919722
"name": "stickerSetCovered",
1972019723
"description": [
19721-
"Stickerset, with a specific sticker as preview"
19724+
"Stickerset with a single sticker as preview"
1972219725
],
1972319726
"fields": {
1972419727
"cover": {
@@ -19733,25 +19736,32 @@
1973319736
},
1973419737
"stickerSetFullCovered": {
1973519738
"name": "stickerSetFullCovered",
19739+
"description": [
19740+
"Stickerset preview with all stickers of the stickerset included.",
19741+
"Used when there are only a few stickers in the stickerset, to avoid a further call to messages.getStickerSet¹."
19742+
],
19743+
"links": [
19744+
"https://core.telegram.org/method/messages.getStickerSet"
19745+
],
1973619746
"fields": {
1973719747
"documents": {
1973819748
"name": "documents",
19739-
"description": " "
19749+
"description": "Stickers"
1974019750
},
1974119751
"packs": {
1974219752
"name": "packs",
19743-
"description": " "
19753+
"description": "Emoji information about every sticker in the stickerset"
1974419754
},
1974519755
"set": {
1974619756
"name": "set",
19747-
"description": " "
19757+
"description": "Stickerset"
1974819758
}
1974919759
}
1975019760
},
1975119761
"stickerSetMultiCovered": {
1975219762
"name": "stickerSetMultiCovered",
1975319763
"description": [
19754-
"Stickerset, with a specific set of stickers as preview"
19764+
"Stickerset, with multiple stickers as preview"
1975519765
],
1975619766
"fields": {
1975719767
"covers": {
@@ -23582,7 +23592,7 @@
2358223592
},
2358323593
"premium_gifts": {
2358423594
"name": "premium_gifts",
23585-
"description": "List of Telegram Premium subscriptions we gifted to or were gifted by this user"
23595+
"description": "Telegram Premium subscriptions gift options"
2358623596
},
2358723597
"private_forward_name": {
2358823598
"name": "private_forward_name",
@@ -25907,7 +25917,7 @@
2590725917
"StickerSetCovered": {
2590825918
"name": "StickerSetCovered",
2590925919
"description": [
25910-
"Stickerset, with a specific sticker as preview"
25920+
"Stickerset preview"
2591125921
]
2591225922
},
2591325923
"Theme": {

_schema/latest.json

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6984,7 +6984,7 @@
69846984
},
69856985
"free": {
69866986
"name": "free",
6987-
"description": " "
6987+
"description": "Whether this custom emoji can be sent by non-Premium users"
69886988
},
69896989
"stickerset": {
69906990
"name": "stickerset",
@@ -11135,7 +11135,10 @@
1113511135
}
1113611136
},
1113711137
"inputStickerSetPremiumGifts": {
11138-
"name": "inputStickerSetPremiumGifts"
11138+
"name": "inputStickerSetPremiumGifts",
11139+
"description": [
11140+
"Stickers to show when receiving a gifted Telegram Premium subscription"
11141+
]
1113911142
},
1114011143
"inputStickerSetShortName": {
1114111144
"name": "inputStickerSetShortName",
@@ -17877,7 +17880,7 @@
1787717880
},
1787817881
"bot_url": {
1787917882
"name": "bot_url",
17880-
"description": " "
17883+
"description": "A t.me/$invoice link to an invoice for in-app payment, using the official Premium bot; may be empty if direct payment isn't available."
1788117884
},
1788217885
"currency": {
1788317886
"name": "currency",
@@ -17899,7 +17902,7 @@
1789917902
},
1790017903
"store_product": {
1790117904
"name": "store_product",
17902-
"description": " "
17905+
"description": "An identifier for the App Store/Play Store product associated with the Premium gift."
1790317906
}
1790417907
}
1790517908
},
@@ -19718,7 +19721,7 @@
1971819721
"stickerSetCovered": {
1971919722
"name": "stickerSetCovered",
1972019723
"description": [
19721-
"Stickerset, with a specific sticker as preview"
19724+
"Stickerset with a single sticker as preview"
1972219725
],
1972319726
"fields": {
1972419727
"cover": {
@@ -19733,25 +19736,32 @@
1973319736
},
1973419737
"stickerSetFullCovered": {
1973519738
"name": "stickerSetFullCovered",
19739+
"description": [
19740+
"Stickerset preview with all stickers of the stickerset included.",
19741+
"Used when there are only a few stickers in the stickerset, to avoid a further call to messages.getStickerSet¹."
19742+
],
19743+
"links": [
19744+
"https://core.telegram.org/method/messages.getStickerSet"
19745+
],
1973619746
"fields": {
1973719747
"documents": {
1973819748
"name": "documents",
19739-
"description": " "
19749+
"description": "Stickers"
1974019750
},
1974119751
"packs": {
1974219752
"name": "packs",
19743-
"description": " "
19753+
"description": "Emoji information about every sticker in the stickerset"
1974419754
},
1974519755
"set": {
1974619756
"name": "set",
19747-
"description": " "
19757+
"description": "Stickerset"
1974819758
}
1974919759
}
1975019760
},
1975119761
"stickerSetMultiCovered": {
1975219762
"name": "stickerSetMultiCovered",
1975319763
"description": [
19754-
"Stickerset, with a specific set of stickers as preview"
19764+
"Stickerset, with multiple stickers as preview"
1975519765
],
1975619766
"fields": {
1975719767
"covers": {
@@ -23582,7 +23592,7 @@
2358223592
},
2358323593
"premium_gifts": {
2358423594
"name": "premium_gifts",
23585-
"description": "List of Telegram Premium subscriptions we gifted to or were gifted by this user"
23595+
"description": "Telegram Premium subscriptions gift options"
2358623596
},
2358723597
"private_forward_name": {
2358823598
"name": "private_forward_name",
@@ -25907,7 +25917,7 @@
2590725917
"StickerSetCovered": {
2590825918
"name": "StickerSetCovered",
2590925919
"description": [
25910-
"Stickerset, with a specific sticker as preview"
25920+
"Stickerset preview"
2591125921
]
2591225922
},
2591325923
"Theme": {

0 commit comments

Comments
 (0)