messages.markDialogUnread

Manually mark dialog as unread

 Method schema is available as of layer 204. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
unread flags.0?true Mark as unread/read
parent_peer flags.1?InputPeer If set, must be equal to the ID of a monoforum, and will affect the monoforum topic passed in peer.
peer InputDialogPeer Dialog

Result

Bool

Only users can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Monoforum

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