Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IMessageEntity

Index

Properties

Properties

length

length: number

Length of the entity in UTF-16 code units.

offset

offset: number

Offset in UTF-16 code units to the start of the entity.

type

type: string

Type of the entity. Can be mention (@username), hashtag, bot_command, url, email, bold (bold text), italic (italic text), code (monowidth string), pre (monowidth block), text_link (for clickable text URLs), text_mention (for users without usernames).

Optional url

url: string

For “text_link” only, url that will be opened after user taps on the text.

Optional user

user: IUser

For “text_mention” only, the mentioned user.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc