Layer 227
method Users
messages.readMentions#36e5bf4d flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;

Parameters

Name Type Description
Peer InputPeer Dialog
TopMsgId flags .0? int Mark as read only mentions within the specified forum topic

Gogram Example

// MessagesReadMentions - positional arguments
result, err := client.MessagesReadMentions(&tg.InputPeerUser{UserID: int64(777000)}, nil)
if err != nil {
    // handle error
}
// result is *tg.MessagesAffectedHistory

Possible Errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHANNEL_PRIVATE You haven't joined this channel/supergroup.
400 MSG_ID_INVALID Invalid message ID provided.
400 PEER_ID_INVALID The provided peer id is invalid.
400 SAVED_PEER_INVALID