From 371789e7f3f2745017adc0a75331d798bfdd93e4 Mon Sep 17 00:00:00 2001
From: GitHub Action Use stories.getStoryViewsList to obtain the full list of users that have viewed a specific story we posted, returned as a list of storyView constructors; pass the returned Use stories.getStoryViewsList to obtain the full list of users that have viewed a specific story we posted, returned as a list of storyView constructors; pass the returned Use stories.getStoriesViews to obtain info about the view count, forward count, reactions and recent viewers list of one or more stories, using a single, unpaginated method call, obviously potentially returning less info than stories.getStoryViewsList. stories_hidden
stories.getStoryViewsList#7ed23c57 flags:# just_contacts:flags.0?true reactions_first:flags.2?true peer:InputPeer q:flags.1?string id:int offset:string limit:int = stories.StoryViewsList;
stories.getStoriesViews#28e16cc8 peer:InputPeer id:Vector<int> = stories.StoryViews;
-next_offset
(if present) to offset
to paginate through the results; the full list is available at all times only to Premium users, and will be hidden to non-Premium users story_viewers_expire_period » seconds after the story expires. next_offset
(if present) to offset
to paginate through the results; the full list is available at all times only to Premium users, and will be deleted on stories posted by non-Premium users story_viewers_expire_period » seconds after the story expires; if it's still viewable, the has_viewers
flag will be set. Replying to stories
inputReplyToStory#15b0f283 user_id:InputUser story_id:int = InputReplyTo;
diff --git a/data/web/corefork.telegram.org/api/wallpapers.html b/data/web/corefork.telegram.org/api/wallpapers.html
index 2d2704a5a8..46f5b4334d 100644
--- a/data/web/corefork.telegram.org/api/wallpapers.html
+++ b/data/web/corefork.telegram.org/api/wallpapers.html
@@ -150,6 +150,8 @@ As mentioned earlier, fill wallpapers can't be sa
Installing wallpapers in a specific chat
@@ -165,7 +167,8 @@ As mentioned earlier, fill wallpapers can't be sa
This will change the wallpaper for both sides of the chat, without requiring confirmation; the userFull.messageActionSetChatWallPaper#5060a3f4 flags:# same:flags.0?true for_both:flags.1?true wallpaper:WallPaper = MessageAction;
+updatePeerWallpaper#ae3f101d flags:# wallpaper_overridden:flags.1?true peer:Peer wallpaper:flags.0?WallPaper = Update;
+
---functions---
messages.setChatWallPaper#8ffacae1 flags:# for_both:flags.3?true revert:flags.4?true peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates;
wallpaper_overridden
flag will also be set for the other user; the action will also emit a messageActionSetChatWallPaper with the for_both
flag set.
If the other user does not like the new wallpaper we have chosen for them, they can re-set their previous wallpaper just on their side, by invoking messages.setChatWallPaper, providing only the revert
flag (and obviously the peer
parameter).
Note that in order to pass image or pattern wallpapers to messages.setChatWallPaper, the for_chat
flag must be set when uploading them with account.uploadWallPaper.
Also note that unlike account.installWallPaper or account.saveWallPaper, messages.setChatWallPaper accepts fill wallpapers as well.
+Also note that unlike account.installWallPaper or account.saveWallPaper, messages.setChatWallPaper accepts fill wallpapers as well.
+Wallpaper changes will also emit an updatePeerWallpaper update.
diff --git a/data/web/corefork.telegram.org/constructor/messageMediaWebPage.html b/data/web/corefork.telegram.org/constructor/messageMediaWebPage.html index ea7dffefa7..3c96061eac 100644 --- a/data/web/corefork.telegram.org/constructor/messageMediaWebPage.html +++ b/data/web/corefork.telegram.org/constructor/messageMediaWebPage.html @@ -74,12 +74,12 @@Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.
Telegram users and channels can easily post and view stories through the API.
diff --git a/data/web/corefork.telegram.org/constructor/updateBotChatBoost.html b/data/web/corefork.telegram.org/constructor/updateBotChatBoost.html index 72af523b61..9b6536b53a 100644 --- a/data/web/corefork.telegram.org/constructor/updateBotChatBoost.html +++ b/data/web/corefork.telegram.org/constructor/updateBotChatBoost.html @@ -4,38 +4,10 @@A channel boost has changed (bots only)
+How to subscribe to updates and handle them properly.
+Telegram Premium users can grant their favorite channels additional features like the ability to post stories by giving them boosts.
for_both
flag, see here » for more info.Set a custom wallpaper » in a specific private chat with another user.
Telegram apps support generating, sharing and synchronizing chat backgrounds.