Interface GetTextEntities

Returns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) found in the text. Can be called synchronously. Request type for Tdjson#getTextEntities.

interface GetTextEntities {
    @type: "getTextEntities";
    text: string;
}

Properties

Properties

@type: "getTextEntities"
text: string

The text in which to look for entities.