Search
Preparing search index...
The search index is not available
node-groupme
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Poll
Exports
Class Poll
Hierarchy
Base
Poll
Implements
PollInterface
Constructors
constructor
Properties
_active
client
created
At
creator
expires
At
group
id
multi
my
Vote
options
public
question
updated
At
voters
Accessors
active
can
End
Methods
_clone
_patch
end
fetch
vote
Constructors
constructor
new
Poll
(
client
:
Client
, group
:
Group
, creator
:
User
, data
:
APIPoll
)
:
Poll
Parameters
client:
Client
group:
Group
creator:
User
data:
APIPoll
Returns
Poll
Properties
Private
_active
_active
:
boolean
Readonly
client
client
:
Client
created
At
created
At
:
number
creator
creator
:
User
expires
At
expires
At
:
number
group
group
:
Group
Readonly
id
id
:
string
multi
multi
:
boolean
Optional
my
Vote
my
Vote
:
string
|
string
[]
options
options
:
Collection
<
string
,
PollOption
>
public
public
:
boolean
question
question
:
string
updated
At
updated
At
:
number
Optional
voters
voters
:
Collection
<
string
,
string
>
|
Collection
<
string
,
string
[]
>
Accessors
active
get
active
(
)
:
boolean
Returns
boolean
can
End
get
canEnd
(
)
:
boolean
Returns
boolean
Methods
_clone
_clone
(
)
:
any
Returns
any
_patch
_patch
(
data
:
Partial
<
APIPoll
>
)
:
Poll
Parameters
data:
Partial
<
APIPoll
>
Returns
Poll
end
end
(
)
:
Promise
<
Poll
>
Returns
Promise
<
Poll
>
fetch
fetch
(
)
:
Promise
<
Poll
>
Returns
Promise
<
Poll
>
vote
vote
(
option
:
string
|
PollOption
)
:
Promise
<
Poll
>
vote
(
options
:
(
string
|
PollOption
)
[]
)
:
Promise
<
Poll
>
Parameters
option:
string
|
PollOption
Returns
Promise
<
Poll
>
Parameters
options:
(
string
|
PollOption
)
[]
Returns
Promise
<
Poll
>
Channel
Type
Former
Member
State
Attachment
Base
Base
Group
Base
Manager
Channel
Chat
Chat
Manager
Chat
Message
Chat
Message
Manager
Client
Collection
Former
Group
Former
Group
Manager
Former
Member
Former
Member
Manager
Group
Group
Manager
Group
Message
Group
Message
Manager
Member
Member
Manager
Message
Message
Like
Manager
Message
Manager
Poll
constructor
_active
client
created
At
creator
expires
At
group
id
multi
my
Vote
options
public
question
updated
At
voters
active
can
End
_clone
_patch
end
fetch
vote
Poll
Manager
Poll
Option
Relationship
Relationship
Manager
User
User
Manager
Sendable
Channel
Interface
Generated using
TypeDoc