Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PollOption

Hierarchy

Implements

  • PollOptionInterface

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly client

client: Client

Readonly id

id: string

Readonly poll

poll: Poll

title

title: string

Optional voters

voters: string[]

votes

votes: number

Methods

_clone

  • _clone(): any
  • Returns any

_patch

  • _patch(data: Partial<PollOptionData>): PollOption
  • Parameters

    • data: Partial<PollOptionData>

    Returns PollOption

vote

  • Returns Promise<PollOption>

Generated using TypeDoc