Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 25 additions & 19 deletions _schema/164.json
Original file line number Diff line number Diff line change
Expand Up @@ -26856,8 +26856,8 @@
],
"links": [
"https://core.telegram.org/constructor/updateStoryID",
"https://core.telegram.org/constructor/stories.sendStory",
"https://core.telegram.org/constructor/stories.sendStory"
"https://core.telegram.org/method/stories.sendStory",
"https://core.telegram.org/method/stories.sendStory"
],
"fields": {
"id": {
Expand All @@ -26868,7 +26868,7 @@
"name": "random_id",
"description": "The random_id that was passed to stories.sendStory¹.",
"links": [
"https://core.telegram.org/constructor/stories.sendStory"
"https://core.telegram.org/method/stories.sendStory"
]
}
}
Expand Down Expand Up @@ -32545,10 +32545,16 @@
},
"account.invalidateSignInCodes": {
"name": "account.invalidateSignInCodes",
"description": [
"Invalidate the specified login codes, see here »¹ for more info."
],
"links": [
"https://core.telegram.org/api/auth#invalidating-login-codes"
],
"parameters": {
"codes": {
"name": "codes",
"description": " "
"description": "The login codes to invalidate."
}
}
},
Expand Down Expand Up @@ -33454,11 +33460,6 @@
}
},
"errors": [
{
"code": 400,
"type": "EMAIL_UNCONFIRMED_%d",
"description": "The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email: use account.verifyEmail to enter the received verification code and enable the recovery email."
},
{
"code": 400,
"type": "EMAIL_INVALID",
Expand All @@ -33469,6 +33470,11 @@
"type": "EMAIL_UNCONFIRMED",
"description": "Email unconfirmed."
},
{
"code": 400,
"type": "EMAIL_UNCONFIRMED_%d",
"description": "The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email: use account.verifyEmail to enter the received verification code and enable the recovery email."
},
{
"code": 400,
"type": "NEW_SALT_INVALID",
Expand Down Expand Up @@ -41494,16 +41500,16 @@
"type": "SEND_AS_PEER_INVALID",
"description": "You can't send messages as the specified peer."
},
{
"code": 420,
"type": "SLOWMODE_WAIT_%d",
"description": "Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat."
},
{
"code": 400,
"type": "SLOWMODE_MULTI_MSGS_DISABLED",
"description": "Slowmode is enabled, you cannot forward multiple messages to this group."
},
{
"code": 420,
"type": "SLOWMODE_WAIT_%d",
"description": "Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat."
},
{
"code": 406,
"type": "TOPIC_CLOSED",
Expand Down Expand Up @@ -52485,11 +52491,6 @@
"type": "CHANNEL_PRIVATE",
"description": "You haven't joined this channel/supergroup."
},
{
"code": 400,
"type": "FILE_REFERENCE_*",
"description": "The file reference expired, it must be refreshed."
},
{
"code": 406,
"type": "FILEREF_UPGRADE_NEEDED",
Expand All @@ -52500,6 +52501,11 @@
"type": "FILE_ID_INVALID",
"description": "The provided file id is invalid."
},
{
"code": 400,
"type": "FILE_REFERENCE_*",
"description": "The file reference expired, it must be refreshed."
},
{
"code": 400,
"type": "FILE_REFERENCE_EXPIRED",
Expand Down
44 changes: 25 additions & 19 deletions _schema/latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -26856,8 +26856,8 @@
],
"links": [
"https://core.telegram.org/constructor/updateStoryID",
"https://core.telegram.org/constructor/stories.sendStory",
"https://core.telegram.org/constructor/stories.sendStory"
"https://core.telegram.org/method/stories.sendStory",
"https://core.telegram.org/method/stories.sendStory"
],
"fields": {
"id": {
Expand All @@ -26868,7 +26868,7 @@
"name": "random_id",
"description": "The random_id that was passed to stories.sendStory¹.",
"links": [
"https://core.telegram.org/constructor/stories.sendStory"
"https://core.telegram.org/method/stories.sendStory"
]
}
}
Expand Down Expand Up @@ -32545,10 +32545,16 @@
},
"account.invalidateSignInCodes": {
"name": "account.invalidateSignInCodes",
"description": [
"Invalidate the specified login codes, see here »¹ for more info."
],
"links": [
"https://core.telegram.org/api/auth#invalidating-login-codes"
],
"parameters": {
"codes": {
"name": "codes",
"description": " "
"description": "The login codes to invalidate."
}
}
},
Expand Down Expand Up @@ -33454,11 +33460,6 @@
}
},
"errors": [
{
"code": 400,
"type": "EMAIL_UNCONFIRMED_%d",
"description": "The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email: use account.verifyEmail to enter the received verification code and enable the recovery email."
},
{
"code": 400,
"type": "EMAIL_INVALID",
Expand All @@ -33469,6 +33470,11 @@
"type": "EMAIL_UNCONFIRMED",
"description": "Email unconfirmed."
},
{
"code": 400,
"type": "EMAIL_UNCONFIRMED_%d",
"description": "The provided email isn't confirmed, %d is the length of the verification code that was just sent to the email: use account.verifyEmail to enter the received verification code and enable the recovery email."
},
{
"code": 400,
"type": "NEW_SALT_INVALID",
Expand Down Expand Up @@ -41494,16 +41500,16 @@
"type": "SEND_AS_PEER_INVALID",
"description": "You can't send messages as the specified peer."
},
{
"code": 420,
"type": "SLOWMODE_WAIT_%d",
"description": "Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat."
},
{
"code": 400,
"type": "SLOWMODE_MULTI_MSGS_DISABLED",
"description": "Slowmode is enabled, you cannot forward multiple messages to this group."
},
{
"code": 420,
"type": "SLOWMODE_WAIT_%d",
"description": "Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat."
},
{
"code": 406,
"type": "TOPIC_CLOSED",
Expand Down Expand Up @@ -52485,11 +52491,6 @@
"type": "CHANNEL_PRIVATE",
"description": "You haven't joined this channel/supergroup."
},
{
"code": 400,
"type": "FILE_REFERENCE_*",
"description": "The file reference expired, it must be refreshed."
},
{
"code": 406,
"type": "FILEREF_UPGRADE_NEEDED",
Expand All @@ -52500,6 +52501,11 @@
"type": "FILE_ID_INVALID",
"description": "The provided file id is invalid."
},
{
"code": 400,
"type": "FILE_REFERENCE_*",
"description": "The file reference expired, it must be refreshed."
},
{
"code": 400,
"type": "FILE_REFERENCE_EXPIRED",
Expand Down