messages.markDialogUnread

Manually mark dialog as unread

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
unread flags.0?true Mark as unread/read
peer InputDialogPeer Dialog

Result

Bool

Possible errors

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