DiscordGuildTextChannel
public struct DiscordGuildTextChannel : DiscordTextChannel, DiscordGuildChannel
Represents a guild channel.
-
The snowflake id of the channel.
Declaration
Swift
public let id: ChannelID
-
The snowflake id of the guild this channel is on.
Declaration
Swift
public let guildId: GuildID
-
Reference to the client.
Declaration
Swift
public weak var client: DiscordClient?
-
The last message received on this channel.
NOTE Currently is not being updated.
Declaration
Swift
public var lastMessageId: MessageID
-
The name of this channel.
Declaration
Swift
public var name: String
-
The parent category for this channel.
Declaration
Swift
public var parentId: ChannelID?
-
The permissions specifics to this channel.
Declaration
Swift
public var permissionOverwrites: [OverwriteID: DiscordPermissionOverwrite]
-
The position of this channel. Mostly for UI purpose.
Declaration
Swift
public var position: Int
-
The topic of this channel, if this is a text channel.
Declaration
Swift
public var topic: String