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.
Mark all stories up to a certain ID as read, for a given peer; will emit an [updateReadStories](https://core.telegram.org/constructor/updateReadStories.md) update to all logged-in sessions.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | The peer whose stories should be marked as read. |
max_id | int | Ja | Mark all stories up to and including this ID as read |
Antworten
Vector<int>
MTProto RPC
- 400 · MAX_ID_INVALID – Die angegebene maximale ID ist ungültig.
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.
- 400 · STORIES_NEVER_CREATED — Dieser Peer hat noch nie Geschichten gepostet.