teleproto - v1.229.0
    Preparing search index...

    Interface MarkAsReadParams

    Interface for mark message as read

    interface MarkAsReadParams {
        clearMentions?: boolean;
        maxId?: number;
        topMsgId?: number;
    }
    Index
    clearMentions?: boolean

    Whether the mention badge should be cleared (so that there are no more mentions) or not for the given entity.
    If no message is provided, this will be the only action taken.

    maxId?: number

    Until which message should the read acknowledge be sent for.
    This has priority over the message parameter.

    topMsgId?: number

    When clearing mentions: only clear within this forum topic (its top message ID).