PollAnswer
Constructors
new PollAnswer()
new PollAnswer(
client
,channelId
,messageId
,answer
):PollAnswer
Parameters
Parameter | Type |
---|---|
client | Client <Transformers , CacheManagerStructure > |
channelId | string |
messageId | string |
answer | AnswerStructure |
Returns
Defined in
transformers/src/factories/poll.ts:19
Properties
channelId
readonly
channelId:string
Defined in
transformers/src/factories/poll.ts:12
messageId
readonly
messageId:string
Defined in
transformers/src/factories/poll.ts:13
id
readonly
id:number
Defined in
transformers/src/factories/poll.ts:14
media
readonly
media:MediaStructure
Defined in
transformers/src/factories/poll.ts:15
client
readonly
client:Client
<Transformers
,CacheManagerStructure
>
Defined in
transformers/src/factories/poll.ts:17
Methods
fetchVoters()
fetchVoters(
params
):Promise
<User
[]>
Parameters
Parameter | Type | Description |
---|---|---|
params | object | - |
params.after ? | string | - |
params.limit ? | number | 0-100 Default 25 |
Returns
Promise
<User
[]>