Interface GetTextEmojiRanges

Returns positions of all emoji found in the text in order of their appearance. Can be called synchronously. Request type for Tdjson#getTextEmojiRanges.

interface GetTextEmojiRanges {
    @type: "getTextEmojiRanges";
    text: string;
}

Properties

Properties

@type: "getTextEmojiRanges"
text: string

The text in which to look for emoji.