Obtain full info about a set of stories by their IDs.

stories.stories#63c3dd0a flags:# count:int stories:Vector<StoryItem> pinned_to_top:flags.0?Vector<int> chats:Vector<Chat> users:Vector<User> = stories.Stories;
stories.getStoriesByID#5774ca74 peer:InputPeer id:Vector<int> = stories.Stories;


Name Type Description
peer InputPeer Peer where the stories were posted
id Vector<int> Story IDs



Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHANNEL_PRIVATE You haven't joined this channel/supergroup.
400 PEER_ID_INVALID The provided peer id is invalid.
400 STORIES_NEVER_CREATED This peer hasn't ever posted any stories.
400 STORY_ID_EMPTY You specified no story IDs.

Related pages


Telegram users and channels can easily post and view stories through the API.