Layer 220
method Users
stories.readStories#a556dac8 peer:InputPeer max_id:int = Vector<int>;

Parameters

Name Type Description
Peer InputPeer The peer whose stories should be marked as read.
MaxId int Mark all stories up to and including this ID as read

Returns

Vector

Possible Errors

Code Type Description
400 MAX_ID_INVALID The provided max ID is invalid.
400 PEER_ID_INVALID The provided peer id is invalid.
400 STORIES_NEVER_CREATED This peer hasn't ever posted any stories.

Gogram Example

// StoriesReadStories - positional arguments
result, err := client.StoriesReadStories(&tg.InputPeerUser{UserID: int64(123456789)}, 0)
if err != nil {
    // handle error
}
// result is *tg.Vector