diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index ecb5709671..5bed9829ce 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -55,10 +55,10 @@
  • Added bots.canSendMessage -
  • Added bots.allowSendMessage -
  • Added bots.invokeWebViewCustomMethod -
  • -
  • Added stories.getPeerStories -
  • -
  • Added stories.getAllReadPeerStories -
  • +
  • Added stories.getPeerStories - Fetch the full active story list of a specific peer.
  • +
  • Added stories.getAllReadPeerStories - Obtain the latest read story ID for all peers when first logging in, returned as a list of updateReadStories updates, see here » for more info.
  • Added stories.getPeerMaxIDs -
  • -
  • Added stories.getChatsToSend -
  • +
  • Added stories.getChatsToSend - Obtain a list of channels where the user can post stories
  • Added stories.togglePeerStoriesHidden - Hide the active stories of a user, preventing them from being displayed on the action bar on the homescreen, see here » for more info.
  • Added stories.getBoostsStatus - Get the current boost status of a channel, see here » for more info on boosts.
  • Added stories.getBoostersList - Obtain info about the users currently boosting a channel, see here » for more info about boosts.
  • @@ -230,21 +230,21 @@
  • Added contacts.toggleStoriesHidden
  • Added stories.canSendStory - Check whether we can post stories as the specified peer.
  • Added stories.sendStory - Uploads a Telegram Story.
  • -
  • Added stories.editStory -
  • +
  • Added stories.editStory - Edit an uploaded story
  • Added stories.deleteStories - Deletes some posted stories.
  • -
  • Added stories.togglePinned -
  • -
  • Added stories.getAllStories -
  • +
  • Added stories.togglePinned - Pin or unpin one or more stories
  • +
  • Added stories.getAllStories - Fetch the List of active (or active and hidden) stories, see here » for more info on watching stories.
  • Added stories.getUserStories
  • -
  • Added stories.getPinnedStories -
  • -
  • Added stories.getStoriesArchive -
  • -
  • Added stories.getStoriesByID -
  • -
  • Added stories.toggleAllStoriesHidden -
  • +
  • Added stories.getPinnedStories - Fetch the stories pinned on a peer's profile.
  • +
  • Added stories.getStoriesArchive - Fetch the story archive » of a peer we control.
  • +
  • Added stories.getStoriesByID - Obtain full info about a set of stories by their IDs.
  • +
  • Added stories.toggleAllStoriesHidden - Hide the active stories of a specific peer, preventing them from being displayed on the action bar on the homescreen.
  • Added stories.getAllReadUserStories
  • -
  • Added stories.readStories -
  • +
  • Added stories.readStories - Mark all stories up to a certain ID as read, for a given peer; will emit an updateReadStories update to all logged-in sessions.
  • Added stories.incrementStoryViews - Increment the view counter of one or more stories.
  • -
  • Added stories.getStoryViewsList -
  • -
  • Added stories.getStoriesViews -
  • -
  • Added stories.exportStoryLink -
  • +
  • Added stories.getStoryViewsList - Obtain the list of users that have viewed a specific story we posted
  • +
  • Added stories.getStoriesViews - Obtain info about the view count, forward count, reactions and recent viewers of one or more stories.
  • +
  • Added stories.exportStoryLink - Generate a story deep link for a specific story
  • Added stories.report - Report a story.
  • Added users.getStoriesMaxIDs
  • diff --git a/data/web/corefork.telegram.org/api/stories.html b/data/web/corefork.telegram.org/api/stories.html index 2382b0302e..29451be315 100644 --- a/data/web/corefork.telegram.org/api/stories.html +++ b/data/web/corefork.telegram.org/api/stories.html @@ -65,9 +65,13 @@ contacts.getBlocked#9a868f80 flags:# my_stories_from:flags.0?true offset:int limit:int = contacts.Blocked; contacts.block#2e2e8734 flags:# my_stories_from:flags.0?true id:InputPeer = Bool; -contacts.unblock#b550d328 flags:# my_stories_from:flags.0?true id:InputPeer = Bool; +contacts.unblock#b550d328 flags:# my_stories_from:flags.0?true id:InputPeer = Bool; + +stories.getChatsToSend#a56a8b60 = messages.Chats;

    Before posting a story, clients should invoke stories.canSendStory, to make sure they can send stories to the specified peer (which can be inputPeerSelf to send the story as a normal user and inputPeerChannel to send a story as a channel).

    -

    This methods returns boolTrue only if:

    +

    Use stories.getChatsToSend to obtain a list of channels where the user can post stories; stories.canSendStory must still be used before uploading a story to make sure no other limit was reached, as described in the main documentation ». +Note that in order to obtain permission to post stories as a channel, it must be boosted, first, see here » for more info.

    +

    stories.canSendStory returns boolTrue only if: