detritus

MessagePollclass

Channel Message Poll Structure

On this page

Channel Message Poll Structure

import { Structures } from 'detritus-client';

Structures.MessagePoll;
12 properties2 methods15 inheritedsrc/structures/message.ts:1433

Constructor

Properties

_answers?
optional
allowMultiselect
boolean
Default false
client
readonly
Inherited from BaseStructure.client
duration
number
Default 0
expiryUnix
number
Default 0
layoutType?
message
readonly
question
results?

Accessors

answers
channelId
string
get
expired
boolean
get
expiry
Date | null
get
isClone
boolean
get
Inherited from BaseStructure.isClone
messageId
string
get
shardId
number
get
Inherited from BaseStructure.shardId

Methods