PollParams

PollParams

Parameter class for building user messages. Used in Poll.create() and poll.update()

Constructor

new PollParams()

Members

allowMultipleVotes :boolean

Default Value:
  • null
Type:
  • boolean

allowUserSuggestion :boolean

Default Value:
  • null
Type:
  • boolean

closeAt :number

Default Value:
  • null

Unix timestamp with second-precision

Type:
  • number

data :string

Default Value:
  • null
Type:
  • string

isAnonymous :boolean

Default Value:
  • null
Type:
  • boolean

options :Array.<string>

Default Value:
  • null
Type:
  • Array.<string>

title :string

Default Value:
  • null
Type:
  • string