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
33 changes: 20 additions & 13 deletions _schema/223.json
Original file line number Diff line number Diff line change
Expand Up @@ -16236,7 +16236,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live of self-destructing document"
"description": "Time to live of self-destructing document, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video_cover": {
"name": "video_cover",
Expand Down Expand Up @@ -16267,7 +16267,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Self-destruct time to live of document"
"description": "Time to live of self-destructing document, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"url": {
"name": "url",
Expand Down Expand Up @@ -16481,7 +16481,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live in seconds of self-destructing photo"
"description": "Time to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video": {
"name": "video",
Expand All @@ -16508,7 +16508,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Self-destruct time to live of photo"
"description": "Time to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the photo immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"url": {
"name": "url",
Expand Down Expand Up @@ -16659,7 +16659,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live in seconds of self-destructing document"
"description": "Time to live of self-destructing document, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video_cover": {
"name": "video_cover",
Expand Down Expand Up @@ -16705,7 +16705,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live in seconds of self-destructing photo"
"description": "Time to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the photo immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video": {
"name": "video",
Expand Down Expand Up @@ -20447,7 +20447,10 @@
},
"media_unread": {
"name": "media_unread",
"description": "Whether there are unread media attachments in this message"
"description": "Whether there are unread media attachments in this message, see here »¹ for more info on how to clear this flag.",
"links": [
"https://core.telegram.org/api/views#read-message-contents"
]
},
"mentioned": {
"name": "mentioned",
Expand Down Expand Up @@ -23223,7 +23226,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live of self-destructing document"
"description": "Time to live of self-destructing document, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video": {
"name": "video",
Expand Down Expand Up @@ -23572,7 +23575,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live in seconds of self-destructing photo"
"description": "Time to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the photo immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video": {
"name": "video",
Expand Down Expand Up @@ -63202,7 +63205,11 @@
"messages.getRecentLocations": {
"name": "messages.getRecentLocations",
"description": [
"Get live location history of a certain user"
"Get all recent live locations¹ sent to a specific chat: returns up to 1 location message (messageMediaGeoLive²) per chat participant."
],
"links": [
"https://core.telegram.org/api/live-location",
"https://core.telegram.org/constructor/messageMediaGeoLive"
],
"parameters": {
"hash": {
Expand All @@ -63221,7 +63228,7 @@
},
"peer": {
"name": "peer",
"description": "User"
"description": "Target group or private chat."
}
}
},
Expand Down Expand Up @@ -64800,7 +64807,7 @@
"parameters": {
"max_id": {
"name": "max_id",
"description": "If a positive value is passed, only messages with identifiers less or equal than the given one will be read"
"description": "If a positive value is passed, only messages with identifiers less than or equal to the given one will be read"
},
"peer": {
"name": "peer",
Expand Down Expand Up @@ -64956,7 +64963,7 @@
"parameters": {
"max_id": {
"name": "max_id",
"description": "If a positive value is passed, only messages with identifiers less or equal than the given one will be read."
"description": "If a positive value is passed, only messages with identifiers less than or equal to the given one will be read."
},
"parent_peer": {
"name": "parent_peer",
Expand Down
43 changes: 25 additions & 18 deletions _schema/latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16236,7 +16236,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live of self-destructing document"
"description": "Time to live of self-destructing document, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video_cover": {
"name": "video_cover",
Expand Down Expand Up @@ -16267,7 +16267,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Self-destruct time to live of document"
"description": "Time to live of self-destructing document, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"url": {
"name": "url",
Expand Down Expand Up @@ -16481,7 +16481,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live in seconds of self-destructing photo"
"description": "Time to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video": {
"name": "video",
Expand All @@ -16508,7 +16508,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Self-destruct time to live of photo"
"description": "Time to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the photo immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"url": {
"name": "url",
Expand Down Expand Up @@ -16659,7 +16659,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live in seconds of self-destructing document"
"description": "Time to live of self-destructing document, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video_cover": {
"name": "video_cover",
Expand Down Expand Up @@ -16705,7 +16705,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live in seconds of self-destructing photo"
"description": "Time to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the photo immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video": {
"name": "video",
Expand Down Expand Up @@ -20447,7 +20447,10 @@
},
"media_unread": {
"name": "media_unread",
"description": "Whether there are unread media attachments in this message"
"description": "Whether there are unread media attachments in this message, see here »¹ for more info on how to clear this flag.",
"links": [
"https://core.telegram.org/api/views#read-message-contents"
]
},
"mentioned": {
"name": "mentioned",
Expand Down Expand Up @@ -23223,7 +23226,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live of self-destructing document"
"description": "Time to live of self-destructing document, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video": {
"name": "video",
Expand Down Expand Up @@ -23572,7 +23575,7 @@
},
"ttl_seconds": {
"name": "ttl_seconds",
"description": "Time to live in seconds of self-destructing photo"
"description": "Time to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the photo immediately after it's played; otherwise self-destructs ttl_seconds after it's played."
},
"video": {
"name": "video",
Expand Down Expand Up @@ -63202,7 +63205,11 @@
"messages.getRecentLocations": {
"name": "messages.getRecentLocations",
"description": [
"Get live location history of a certain user"
"Get all recent live locations¹ sent to a specific chat: returns up to 1 location message (messageMediaGeoLive²) per chat participant."
],
"links": [
"https://core.telegram.org/api/live-location",
"https://core.telegram.org/constructor/messageMediaGeoLive"
],
"parameters": {
"hash": {
Expand All @@ -63221,7 +63228,7 @@
},
"peer": {
"name": "peer",
"description": "User"
"description": "Target group or private chat."
}
}
},
Expand Down Expand Up @@ -64800,7 +64807,7 @@
"parameters": {
"max_id": {
"name": "max_id",
"description": "If a positive value is passed, only messages with identifiers less or equal than the given one will be read"
"description": "If a positive value is passed, only messages with identifiers less than or equal to the given one will be read"
},
"peer": {
"name": "peer",
Expand Down Expand Up @@ -64956,7 +64963,7 @@
"parameters": {
"max_id": {
"name": "max_id",
"description": "If a positive value is passed, only messages with identifiers less or equal than the given one will be read."
"description": "If a positive value is passed, only messages with identifiers less than or equal to the given one will be read."
},
"parent_peer": {
"name": "parent_peer",
Expand Down Expand Up @@ -81132,7 +81139,7 @@
"description": "The specified message is not a voice message."
},
"MSG_WAIT_FAILED": {
"code": 400,
"code": 500,
"type": "MSG_WAIT_FAILED",
"description": "A waiting call returned an error."
},
Expand Down Expand Up @@ -81170,7 +81177,7 @@
"description": "The specified offset is longer than 64 bytes."
},
"NOT_ELIGIBLE": {
"code": 403,
"code": 400,
"type": "NOT_ELIGIBLE",
"description": "The current user is not eligible to join the Peer-to-Peer Login Program."
},
Expand Down Expand Up @@ -81249,7 +81256,7 @@
"description": "The specified participant ID is invalid."
},
"PARTICIPANT_JOIN_MISSING": {
"code": 400,
"code": 403,
"type": "PARTICIPANT_JOIN_MISSING",
"description": "Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall."
},
Expand Down Expand Up @@ -81562,7 +81569,7 @@
"description": "The privacy key is invalid."
},
"PRIVACY_PREMIUM_REQUIRED": {
"code": 403,
"code": 406,
"type": "PRIVACY_PREMIUM_REQUIRED",
"description": "You need a Telegram Premium subscription to send a message to this user."
},
Expand Down Expand Up @@ -82657,7 +82664,7 @@
"description": "This method can only be called by a bot."
},
"USER_CHANNELS_TOO_MUCH": {
"code": 403,
"code": 400,
"type": "USER_CHANNELS_TOO_MUCH",
"description": "One of the users you tried to add is already in too many channels/supergroups."
},
Expand Down
Loading