Constructors

Properties

Accessors

Constructors

Properties

Accessors

  • get chosen(): boolean
  • Whether this answer was chosen by the current user

    Returns boolean

  • get correct(): boolean
  • Whether this answer is correct (for quizzes). Not available before choosing an answer

    Returns boolean

    
    
  • get data(): Uint8Array
  • Answer data, to be passed to TelegramClient.sendVote

    Returns Uint8Array

  • get text(): string
  • Answer text

    Returns string

  • get textEntities(): readonly MessageEntity[]
  • Format entities for text, currently may only contain custom emojis

    Returns readonly MessageEntity[]

  • get voters(): number
  • Number of people who has chosen this result. If not available (i.e. not voted yet)

    Returns number