Skip to content

Commit

Permalink
Merge pull request #193 from gotd/feat/update-schema
Browse files Browse the repository at this point in the history
feat(schema): update documentation to the latest layer
  • Loading branch information
gotd-bot[bot] committed Nov 12, 2023
2 parents 9f136de + cdb65ac commit 2013a21
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 38 deletions.
55 changes: 36 additions & 19 deletions _schema/164.json
Original file line number Diff line number Diff line change
Expand Up @@ -3791,7 +3791,7 @@
"Info about a boost¹ made by a specific user."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
],
"fields": {
"expires": {
Expand Down Expand Up @@ -5766,6 +5766,10 @@
"unread_count": {
"name": "unread_count",
"description": "Count of unread messages"
},
"view_forum_as_messages": {
"name": "view_forum_as_messages",
"description": " "
}
}
},
Expand Down Expand Up @@ -7952,6 +7956,10 @@
"unread_reactions_count": {
"name": "unread_reactions_count",
"description": "Number of unread reactions to messages you sent"
},
"view_forum_as_messages": {
"name": "view_forum_as_messages",
"description": " "
}
}
},
Expand Down Expand Up @@ -23063,7 +23071,7 @@
"Info about the users currently boosting¹ the channel."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
],
"fields": {
"boosters": {
Expand Down Expand Up @@ -23100,7 +23108,7 @@
"The current boost status »¹ of a channel."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
],
"fields": {
"boosts": {
Expand Down Expand Up @@ -26275,18 +26283,24 @@
},
"updateSentStoryReaction": {
"name": "updateSentStoryReaction",
"description": [
"Indicates we reacted to a story »¹."
],
"links": [
"https://core.telegram.org/api/stories#reactions"
],
"fields": {
"peer": {
"name": "peer",
"description": " "
"description": "The peer that sent the story"
},
"reaction": {
"name": "reaction",
"description": " "
"description": "The reaction that was sent"
},
"story_id": {
"name": "story_id",
"description": " "
"description": "ID of the story we reacted to"
}
}
},
Expand Down Expand Up @@ -26668,14 +26682,17 @@
},
"updateStory": {
"name": "updateStory",
"description": [
"A new story was posted."
],
"fields": {
"peer": {
"name": "peer",
"description": " "
"description": "ID of the poster."
},
"story": {
"name": "story",
"description": " "
"description": "The story that was posted."
}
}
},
Expand Down Expand Up @@ -28665,7 +28682,7 @@
"Info about a boost¹ made by a specific user."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
]
},
"BotApp": {
Expand Down Expand Up @@ -31226,7 +31243,7 @@
"Info about the users currently boosting¹ the channel."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
]
},
"stories.BoostsStatus": {
Expand All @@ -31235,7 +31252,7 @@
"The current boost status »¹ of a channel."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
]
},
"stories.CanApplyBoostResult": {
Expand All @@ -31244,7 +31261,7 @@
"Whether the specified channel can be boosted, see here for more info »¹."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
]
},
"stories.PeerStories": {
Expand Down Expand Up @@ -50973,7 +50990,7 @@
"Boost »¹ a channel², leveling it up and granting it permission to post stories »³."
],
"links": [
"https://core.telegram.org/api/stories#boosts",
"https://core.telegram.org/api/boost",
"https://core.telegram.org/api/channel",
"https://core.telegram.org/api/stories"
],
Expand Down Expand Up @@ -51007,7 +51024,7 @@
"Check whether a channel can be boosted, see here for more info »¹."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
],
"parameters": {
"peer": {
Expand Down Expand Up @@ -51227,8 +51244,8 @@
"Obtain info about the users currently boosting¹ a channel, see here »² for more info about boosts."
],
"links": [
"https://core.telegram.org/api/stories#boosts",
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost",
"https://core.telegram.org/api/boost"
],
"parameters": {
"limit": {
Expand Down Expand Up @@ -51275,8 +51292,8 @@
"Get the current boost status¹ of a channel, see here »² for more info on boosts."
],
"links": [
"https://core.telegram.org/api/stories#boosts",
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost",
"https://core.telegram.org/api/boost"
],
"parameters": {
"peer": {
Expand Down Expand Up @@ -51497,7 +51514,7 @@
"parameters": {
"id": {
"name": "id",
"description": "IDs of the stories."
"description": "IDs of the stories (maximum 200 at a time)."
},
"peer": {
"name": "peer",
Expand Down
55 changes: 36 additions & 19 deletions _schema/latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3791,7 +3791,7 @@
"Info about a boost¹ made by a specific user."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
],
"fields": {
"expires": {
Expand Down Expand Up @@ -5766,6 +5766,10 @@
"unread_count": {
"name": "unread_count",
"description": "Count of unread messages"
},
"view_forum_as_messages": {
"name": "view_forum_as_messages",
"description": " "
}
}
},
Expand Down Expand Up @@ -7952,6 +7956,10 @@
"unread_reactions_count": {
"name": "unread_reactions_count",
"description": "Number of unread reactions to messages you sent"
},
"view_forum_as_messages": {
"name": "view_forum_as_messages",
"description": " "
}
}
},
Expand Down Expand Up @@ -23063,7 +23071,7 @@
"Info about the users currently boosting¹ the channel."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
],
"fields": {
"boosters": {
Expand Down Expand Up @@ -23100,7 +23108,7 @@
"The current boost status »¹ of a channel."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
],
"fields": {
"boosts": {
Expand Down Expand Up @@ -26275,18 +26283,24 @@
},
"updateSentStoryReaction": {
"name": "updateSentStoryReaction",
"description": [
"Indicates we reacted to a story »¹."
],
"links": [
"https://core.telegram.org/api/stories#reactions"
],
"fields": {
"peer": {
"name": "peer",
"description": " "
"description": "The peer that sent the story"
},
"reaction": {
"name": "reaction",
"description": " "
"description": "The reaction that was sent"
},
"story_id": {
"name": "story_id",
"description": " "
"description": "ID of the story we reacted to"
}
}
},
Expand Down Expand Up @@ -26668,14 +26682,17 @@
},
"updateStory": {
"name": "updateStory",
"description": [
"A new story was posted."
],
"fields": {
"peer": {
"name": "peer",
"description": " "
"description": "ID of the poster."
},
"story": {
"name": "story",
"description": " "
"description": "The story that was posted."
}
}
},
Expand Down Expand Up @@ -28665,7 +28682,7 @@
"Info about a boost¹ made by a specific user."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
]
},
"BotApp": {
Expand Down Expand Up @@ -31226,7 +31243,7 @@
"Info about the users currently boosting¹ the channel."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
]
},
"stories.BoostsStatus": {
Expand All @@ -31235,7 +31252,7 @@
"The current boost status »¹ of a channel."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
]
},
"stories.CanApplyBoostResult": {
Expand All @@ -31244,7 +31261,7 @@
"Whether the specified channel can be boosted, see here for more info »¹."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
]
},
"stories.PeerStories": {
Expand Down Expand Up @@ -50973,7 +50990,7 @@
"Boost »¹ a channel², leveling it up and granting it permission to post stories »³."
],
"links": [
"https://core.telegram.org/api/stories#boosts",
"https://core.telegram.org/api/boost",
"https://core.telegram.org/api/channel",
"https://core.telegram.org/api/stories"
],
Expand Down Expand Up @@ -51007,7 +51024,7 @@
"Check whether a channel can be boosted, see here for more info »¹."
],
"links": [
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost"
],
"parameters": {
"peer": {
Expand Down Expand Up @@ -51227,8 +51244,8 @@
"Obtain info about the users currently boosting¹ a channel, see here »² for more info about boosts."
],
"links": [
"https://core.telegram.org/api/stories#boosts",
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost",
"https://core.telegram.org/api/boost"
],
"parameters": {
"limit": {
Expand Down Expand Up @@ -51275,8 +51292,8 @@
"Get the current boost status¹ of a channel, see here »² for more info on boosts."
],
"links": [
"https://core.telegram.org/api/stories#boosts",
"https://core.telegram.org/api/stories#boosts"
"https://core.telegram.org/api/boost",
"https://core.telegram.org/api/boost"
],
"parameters": {
"peer": {
Expand Down Expand Up @@ -51497,7 +51514,7 @@
"parameters": {
"id": {
"name": "id",
"description": "IDs of the stories."
"description": "IDs of the stories (maximum 200 at a time)."
},
"peer": {
"name": "peer",
Expand Down

0 comments on commit 2013a21

Please sign in to comment.