messages.readMentions #

Mark mentions as read; can be used in forums but cannot be used in monoforums.

Layer 223

messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;
---functions---
messages.readMentions#36e5bf4d flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
peerInputPeerDialog
top_msg_idflags.0?intMark as read only mentions within the specified forum topic (except for monoforums).

Result #

messages.AffectedHistory

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
400MSG_ID_INVALIDInvalid message ID provided.
400PEER_ID_INVALIDThe provided peer id is invalid.

Forum topics #

Telegram allows creating forums with multiple distinct topics.

Direct messages to channels #

Telegram supports direct messages to channels, which can also be used to suggest (even paid) channel posts.