Preparing search index...
The search index is not available
@kastelll/wrapper
@kastelll/wrapper
ChannelStore
Class ChannelStore
A store for Channels.
Hierarchy
ChannelStore
Index
Constructors
constructor
Properties
_current
Channel
channel
Store
channels
client
Accessors
current
Channel
Methods
clear
filter
get
set
set
Current
Channel
Constructors
constructor
new
Channel
Store
(
client
)
:
ChannelStore
Parameters
client
:
Client
Returns
ChannelStore
Properties
Private
_current
Channel
_current
Channel
:
null
|
string
channel
Store
channel
Store
:
Writable
<
BaseStore
<
string
,
BaseChannel
>
>
channels
channels
:
BaseStore
<
string
,
BaseChannel
>
= ...
Private
Readonly
client
client
:
Client
Accessors
current
Channel
get
currentChannel
(
)
:
undefined
|
BaseChannel
Returns
undefined
|
BaseChannel
Methods
clear
clear
(
)
:
void
Returns
void
filter
filter
(
fn
)
:
BaseChannel
[]
Parameters
fn
:
(
(
value
,
index
,
array
)
=>
unknown
)
(
value
,
index
,
array
)
:
unknown
Parameters
value
:
BaseChannel
index
:
number
array
:
BaseChannel
[]
Returns
unknown
Returns
BaseChannel
[]
get
get
(
id
)
:
undefined
|
BaseChannel
Parameters
id
:
string
Returns
undefined
|
BaseChannel
set
set
(
id
,
value
)
:
ChannelStore
Parameters
id
:
string
value
:
BaseChannel
Returns
ChannelStore
set
Current
Channel
set
Current
Channel
(
value
)
:
void
Parameters
value
:
undefined
|
string
|
BaseChannel
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_current
Channel
channel
Store
channels
client
current
Channel
clear
filter
get
set
set
Current
Channel
@kastelll/wrapper
MessageStates
Ban
BanStore
BaseChannel
BaseGuild
BaseStore
BaseUser
ChannelStore
Client
FlagsStructure
GuildMember
GuildMemberStore
GuildStore
Invite
InviteStore
Message
MessageStore
Payloads
PermissionStructure
Rest
Role
Loading...
Generated using
TypeDoc
A store for Channels.