stories.getStoriesByID

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

stories.stories#4fe57df1 count:int stories:Vector<StoryItem> users:Vector<User> = stories.Stories;
---functions---
stories.getStoriesByID#6a15cf46 user_id:InputUser id:Vector<int> = stories.Stories;

Parameters

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

Result

stories.Stories

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
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

Stories

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