Skip to content

Commit ced5923

Browse files
Merge pull request #163 from gotd/feat/update-schema
feat(schema): update documentation to the latest layer
2 parents 3119021 + 4d55786 commit ced5923

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

_schema/158.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3228,9 +3228,10 @@
32283228
},
32293229
"reset_available_period": {
32303230
"name": "reset_available_period",
3231-
"description": "The login email can be reset by invoking auth.resetLoginEmail¹ and waiting for the specified amount of seconds.",
3231+
"description": "Clients should wait for the specified amount of seconds before allowing the user to invoke auth.resetLoginEmail¹ (will be 0 for Premium² users).",
32323232
"links": [
3233-
"https://core.telegram.org/method/auth.resetLoginEmail"
3233+
"https://core.telegram.org/method/auth.resetLoginEmail",
3234+
"https://core.telegram.org/api/premium"
32343235
]
32353236
},
32363237
"reset_pending_date": {
@@ -15824,7 +15825,11 @@
1582415825
},
1582515826
"my": {
1582615827
"name": "my",
15827-
"description": " "
15828+
"description": "Starting from layer 159, messages.sendReaction¹ will send reactions from the peer (user or channel) specified using messages.saveDefaultSendAs². If set, this flag indicates that this reaction was sent by us, even if the peer doesn't point to the current account.",
15829+
"links": [
15830+
"https://core.telegram.org/method/messages.sendReaction",
15831+
"https://core.telegram.org/method/messages.saveDefaultSendAs"
15832+
]
1582815833
},
1582915834
"peer_id": {
1583015835
"name": "peer_id",
@@ -44858,7 +44863,11 @@
4485844863
"messages.sendReaction": {
4485944864
"name": "messages.sendReaction",
4486044865
"description": [
44861-
"React to message"
44866+
"React to message.",
44867+
"Starting from layer 159, the reaction will be sent from the peer specified using messages.saveDefaultSendAs¹."
44868+
],
44869+
"links": [
44870+
"https://core.telegram.org/method/messages.saveDefaultSendAs"
4486244871
],
4486344872
"parameters": {
4486444873
"add_to_recent": {

_schema/latest.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3228,9 +3228,10 @@
32283228
},
32293229
"reset_available_period": {
32303230
"name": "reset_available_period",
3231-
"description": "The login email can be reset by invoking auth.resetLoginEmail¹ and waiting for the specified amount of seconds.",
3231+
"description": "Clients should wait for the specified amount of seconds before allowing the user to invoke auth.resetLoginEmail¹ (will be 0 for Premium² users).",
32323232
"links": [
3233-
"https://core.telegram.org/method/auth.resetLoginEmail"
3233+
"https://core.telegram.org/method/auth.resetLoginEmail",
3234+
"https://core.telegram.org/api/premium"
32343235
]
32353236
},
32363237
"reset_pending_date": {
@@ -15824,7 +15825,11 @@
1582415825
},
1582515826
"my": {
1582615827
"name": "my",
15827-
"description": " "
15828+
"description": "Starting from layer 159, messages.sendReaction¹ will send reactions from the peer (user or channel) specified using messages.saveDefaultSendAs². If set, this flag indicates that this reaction was sent by us, even if the peer doesn't point to the current account.",
15829+
"links": [
15830+
"https://core.telegram.org/method/messages.sendReaction",
15831+
"https://core.telegram.org/method/messages.saveDefaultSendAs"
15832+
]
1582815833
},
1582915834
"peer_id": {
1583015835
"name": "peer_id",
@@ -44858,7 +44863,11 @@
4485844863
"messages.sendReaction": {
4485944864
"name": "messages.sendReaction",
4486044865
"description": [
44861-
"React to message"
44866+
"React to message.",
44867+
"Starting from layer 159, the reaction will be sent from the peer specified using messages.saveDefaultSendAs¹."
44868+
],
44869+
"links": [
44870+
"https://core.telegram.org/method/messages.saveDefaultSendAs"
4486244871
],
4486344872
"parameters": {
4486444873
"add_to_recent": {

0 commit comments

Comments
 (0)