A business chat link, i.e. a link to start a chat with a pre-filled message.

Constructors

Properties

Accessors

Constructors

Properties

Accessors

  • get clicks(): number
  • Number of clicks on the link

    Returns number

  • get entities(): MessageEntity[]
  • Entities for the text

    Returns MessageEntity[]

  • The link itself

    Returns string

  • get text(): string
  • Text to be inserted into the message input

    Returns string

  • get title(): null | string
  • Custom title for the link

    Returns null | string