@urth/metatell-sdk - v0.1.0
    Preparing search index...

    Interface Mention

    A single @mention parsed out of chat message text.

    parseMentions in @urth/metatell-sdk/chat.

    interface Mention {
        display: string;
        end: number;
        sessionId: string;
        start: number;
    }
    Index
    display: string

    Display text of the mention (without the leading @).

    end: number

    End offset (exclusive) of the mention within the original text.

    sessionId: string

    Session id of the mentioned user.

    start: number

    Start offset of the mention within the original message text.