Skip to content

Commit 73e4e43

Browse files
Merge pull request #190 from gotd/feat/update-schema
feat(schema): update documentation to the latest layer
2 parents d168bf6 + d8c49b4 commit 73e4e43

File tree

2 files changed

+126
-44
lines changed

2 files changed

+126
-44
lines changed

_schema/164.json

Lines changed: 63 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12781,6 +12781,9 @@
1278112781
},
1278212782
"inputReplyToMessage": {
1278312783
"name": "inputReplyToMessage",
12784+
"description": [
12785+
"Reply to a message."
12786+
],
1278412787
"fields": {
1278512788
"flags": {
1278612789
"name": "flags",
@@ -12791,24 +12794,27 @@
1279112794
},
1279212795
"reply_to_msg_id": {
1279312796
"name": "reply_to_msg_id",
12794-
"description": " "
12797+
"description": "The message ID to reply to."
1279512798
},
1279612799
"top_msg_id": {
1279712800
"name": "top_msg_id",
12798-
"description": " "
12801+
"description": "This field must contain the topic ID only when replying to messages in forum topics different from the \"General\" topic (i.e. reply_to_msg_id is set and reply_to_msg_id != topicID and topicID != 1). If the replied-to message is deleted before the method finishes execution, the value in this field will be used to send the message to the correct topic, instead of the \"General\" topic."
1279912802
}
1280012803
}
1280112804
},
1280212805
"inputReplyToStory": {
1280312806
"name": "inputReplyToStory",
12807+
"description": [
12808+
"Reply to a story."
12809+
],
1280412810
"fields": {
1280512811
"story_id": {
1280612812
"name": "story_id",
12807-
"description": " "
12813+
"description": "ID of the story to reply to."
1280812814
},
1280912815
"user_id": {
1281012816
"name": "user_id",
12811-
"description": " "
12817+
"description": "ID of the user that posted the story."
1281212818
}
1281312819
}
1281412820
},
@@ -19559,7 +19565,11 @@
1955919565
"peerSettings": {
1956019566
"name": "peerSettings",
1956119567
"description": [
19562-
"List of actions that are possible when interacting with this user, to be shown as suggested actions in the chat bar"
19568+
"List of actions that are possible when interacting with this user, to be shown as suggested actions in the chat action bar »¹, see here »² for more info."
19569+
],
19570+
"links": [
19571+
"https://core.telegram.org/api/action-bar",
19572+
"https://core.telegram.org/api/action-bar"
1956319573
],
1956419574
"fields": {
1956519575
"add_contact": {
@@ -24258,7 +24268,7 @@
2425824268
"updateChannel": {
2425924269
"name": "updateChannel",
2426024270
"description": [
24261-
"A new channel is available"
24271+
"A new channel or supergroup is available, or info about an existing channel has changed and must be refeteched."
2426224272
],
2426324273
"fields": {
2426424274
"channel_id": {
@@ -29455,7 +29465,10 @@
2945529465
]
2945629466
},
2945729467
"InputReplyTo": {
29458-
"name": "InputReplyTo"
29468+
"name": "InputReplyTo",
29469+
"description": [
29470+
"Contains info about a message or story to reply to."
29471+
]
2945929472
},
2946029473
"InputSecureFile": {
2946129474
"name": "InputSecureFile",
@@ -38022,10 +38035,10 @@
3802238035
"contacts.acceptContact": {
3802338036
"name": "contacts.acceptContact",
3802438037
"description": [
38025-
"If the peer settings¹ of a new user allow us to add them as contact, add that user as contact"
38038+
"If the add contact action bar is active¹, add that user as contact"
3802638039
],
3802738040
"links": [
38028-
"https://core.telegram.org/constructor/peerSettings"
38041+
"https://core.telegram.org/api/action-bar#add-contact"
3802938042
],
3803038043
"parameters": {
3803138044
"id": {
@@ -38236,10 +38249,19 @@
3823638249
},
3823738250
"contacts.editCloseFriends": {
3823838251
"name": "contacts.editCloseFriends",
38252+
"description": [
38253+
"Edit the close friends list, see here »¹ for more info."
38254+
],
38255+
"links": [
38256+
"https://core.telegram.org/api/privacy"
38257+
],
3823938258
"parameters": {
3824038259
"id": {
3824138260
"name": "id",
38242-
"description": " "
38261+
"description": "Full list of user IDs of close friends, see here¹ for more info.",
38262+
"links": [
38263+
"https://core.telegram.org/api/privacy"
38264+
]
3824338265
}
3824438266
}
3824538267
},
@@ -38272,7 +38294,10 @@
3827238294
},
3827338295
"my_stories_from": {
3827438296
"name": "my_stories_from",
38275-
"description": " "
38297+
"description": "Whether to fetch the story blocklist; if not set, will fetch the main blocklist. See here »¹ for differences between the two.",
38298+
"links": [
38299+
"https://core.telegram.org/api/block"
38300+
]
3827638301
},
3827738302
"offset": {
3827838303
"name": "offset",
@@ -38614,6 +38639,12 @@
3861438639
},
3861538640
"contacts.setBlocked": {
3861638641
"name": "contacts.setBlocked",
38642+
"description": [
38643+
"Replace the contents of an entire blocklist, see here for more info »¹."
38644+
],
38645+
"links": [
38646+
"https://core.telegram.org/api/contacts"
38647+
],
3861738648
"parameters": {
3861838649
"flags": {
3861938650
"name": "flags",
@@ -38624,7 +38655,7 @@
3862438655
},
3862538656
"id": {
3862638657
"name": "id",
38627-
"description": " "
38658+
"description": "Full content of the blocklist."
3862838659
},
3862938660
"limit": {
3863038661
"name": "limit",
@@ -38635,7 +38666,10 @@
3863538666
},
3863638667
"my_stories_from": {
3863738668
"name": "my_stories_from",
38638-
"description": " "
38669+
"description": "Whether to edit the story blocklist; if not set, will edit the main blocklist. See here »¹ for differences between the two.",
38670+
"links": [
38671+
"https://core.telegram.org/api/block"
38672+
]
3863938673
}
3864038674
}
3864138675
},
@@ -43786,10 +43820,11 @@
4378643820
"messages.hidePeerSettingsBar": {
4378743821
"name": "messages.hidePeerSettingsBar",
4378843822
"description": [
43789-
"Should be called after the user hides the report spam/add as contact bar of a new chat, effectively prevents the user from executing the actions specified in the peer's settings¹."
43823+
"Should be called after the user hides the report spam/add as contact bar¹ of a new chat, effectively prevents the user from executing the actions specified in the action bar »²."
4379043824
],
4379143825
"links": [
43792-
"https://core.telegram.org/constructor/peerSettings"
43826+
"https://core.telegram.org/api/action-bar",
43827+
"https://core.telegram.org/api/action-bar"
4379343828
],
4379443829
"parameters": {
4379543830
"peer": {
@@ -44057,7 +44092,10 @@
4405744092
},
4405844093
"reply_to": {
4405944094
"name": "reply_to",
44060-
"description": " "
44095+
"description": "If set, indicates that the inline message that will be sent by the bot on behalf of the user once the web app interaction is terminated¹ should be sent in reply to the specified message or story.",
44096+
"links": [
44097+
"https://core.telegram.org/method/messages.sendWebViewResultMessage"
44098+
]
4406144099
},
4406244100
"send_as": {
4406344101
"name": "send_as",
@@ -44771,7 +44809,10 @@
4477144809
},
4477244810
"reply_to": {
4477344811
"name": "reply_to",
44774-
"description": " "
44812+
"description": "If set, indicates that the inline message that will be sent by the bot on behalf of the user once the web app interaction is terminated¹ should be sent in reply to the specified message or story.",
44813+
"links": [
44814+
"https://core.telegram.org/method/messages.sendWebViewResultMessage"
44815+
]
4477544816
},
4477644817
"send_as": {
4477744818
"name": "send_as",
@@ -45564,7 +45605,7 @@
4556445605
},
4556545606
"reply_to": {
4556645607
"name": "reply_to",
45567-
"description": " "
45608+
"description": "If set, indicates that the message should be sent in reply to the specified message or story."
4556845609
},
4556945610
"schedule_date": {
4557045611
"name": "schedule_date",
@@ -45804,7 +45845,7 @@
4580445845
},
4580545846
"reply_to": {
4580645847
"name": "reply_to",
45807-
"description": " "
45848+
"description": "If set, indicates that the message should be sent in reply to the specified message or story."
4580845849
},
4580945850
"schedule_date": {
4581045851
"name": "schedule_date",
@@ -46260,7 +46301,7 @@
4626046301
},
4626146302
"reply_to": {
4626246303
"name": "reply_to",
46263-
"description": " "
46304+
"description": "If set, indicates that the message should be sent in reply to the specified message or story."
4626446305
},
4626546306
"schedule_date": {
4626646307
"name": "schedule_date",
@@ -46566,7 +46607,7 @@
4656646607
},
4656746608
"reply_to": {
4656846609
"name": "reply_to",
46569-
"description": " "
46610+
"description": "If set, indicates that the message should be sent in reply to the specified message or story."
4657046611
},
4657146612
"schedule_date": {
4657246613
"name": "schedule_date",
@@ -46854,7 +46895,7 @@
4685446895
},
4685546896
"reply_to": {
4685646897
"name": "reply_to",
46857-
"description": " "
46898+
"description": "Indicates the message that was screenshotted (the specified message ID can also be 0 to avoid indicating any specific message)."
4685846899
}
4685946900
},
4686046901
"errors": [

0 commit comments

Comments
 (0)