A draft message

Constructors

Properties

Accessors

  • get date(): Date
  • Date of the last time this draft was updated

    Returns Date

  • get disableWebPreview(): boolean
  • Whether no webpage preview will be generated

    Returns boolean

  • get entities(): readonly MessageEntity[]
  • Message text entities (may be empty)

    Returns readonly MessageEntity[]

  • get text(): string
  • Text of the draft message

    Returns string