Class: Channel
Hierarchy
↳
Channel
↳↳
GroupChannel
↳↳
GuildChannel
Constructors
constructor
• new Channel(client
, data
)
Parameters
Name | Type |
---|---|
client | Client |
data | APIChannel |
Overrides
Defined in
packages/libcord/src/structures/channels/Channel.ts:12
Properties
client
• Readonly
client: Client
Inherited from
Defined in
packages/libcord/src/structures/Base.ts:8
id
• id: string
Defined in
packages/libcord/src/structures/channels/Channel.ts:8
name
• name: string
Defined in
packages/libcord/src/structures/channels/Channel.ts:10
type
• Readonly
type: ChannelTypes
Defined in
packages/libcord/src/structures/channels/Channel.ts:9
Accessors
mention
• get
mention(): string
Returns
string