Layer 220
MessagesReadSavedHistory
Mark messages as read in a monoforum topic.
method
Users
messages.readSavedHistory#ba4a3b5b parent_peer:InputPeer peer:InputPeer max_id:int = Bool;
Parameters
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
| 400 | PARENT_PEER_INVALID | The specified parent_peer is invalid. |
Gogram Example
// MessagesReadSavedHistory - positional arguments result, err := client.MessagesReadSavedHistory(&tg.InputPeerUser{UserID: int64(123456789)}, &tg.InputPeerUser{UserID: int64(123456789)}, 0) if err != nil { // handle error } // result is *tg.Bool