Constructors

Properties

_peers: PeersIndex
raw: RawPoll
results?: RawPollResults
type: "poll" = ...

Accessors

  • get inputMedia(): TypeInputMedia
  • Input media TL object generated from this object, to be used inside InputMediaLike and TelegramClient.sendMedia

    A few notes:

    • Using this will result in an independent poll, which will not be auto-updated with the current.
    • If this is a quiz, a normal poll will be returned since the client does not know the correct answer.
    • This always returns a non-closed poll, even if the current poll was closed

    Returns TypeInputMedia