Layer 220
method Users
stories.getStoriesViews#28e16cc8 peer:InputPeer id:Vector<int> = stories.StoryViews;

Parameters

Name Type Description
Peer InputPeer Peer whose stories should be fetched
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 STORY_ID_EMPTY You specified no story IDs.

Gogram Example

// StoriesGetStoriesViews - positional arguments
result, err := client.StoriesGetStoriesViews(&tg.InputPeerUser{UserID: int64(123456789)}, []int{})
if err != nil {
    // handle error
}
// result is *tg.StoriesStoryViews