AbstractMessageEntity
Properties
type
type: string;
Type of the entity. Currently, can be “mention” (@username), “hashtag” (#hashtag or #hashtag@chatusername), “cashtag” ($USD or $USD@chatusername), “bot_command” (/start@jobs_bot), “url” (https://
offset
offset: number;
Offset in UTF-16 code units to the start of the entity
length
length: number;
Length of the entity in UTF-16 code units