stories.getStoriesByID

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

 Method schema is available as of layer 164. Switch ยป

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 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

Stories

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