stories.readStories #

Mark all stories up to a certain ID as read, for a given peer; will emit an updateReadStories update to all logged-in sessions.

Layer 223

---functions---
stories.readStories#a556dac8 peer:InputPeer max_id:int = Vector<int>;

Parameters #

NameTypeDescription
peerInputPeerThe peer whose stories should be marked as read.
max_idintMark all stories up to and including this ID as read

Result #

Vector<int>

Only users can use this method #

Possible errors #

CodeTypeDescription
400MAX_ID_INVALIDThe provided max ID is invalid.
400PEER_ID_INVALIDThe provided peer id is invalid.
400STORIES_NEVER_CREATEDThis peer hasn't ever posted any stories.

updateReadStories #

Stories of a specific peer were marked as read.