Type Aliases
The following type aliases are available globally.
-
A Snowflake ID representing a Guild
Declaration
Swift
public typealias GuildID = Snowflake
-
A Snowflake ID representing a Channel
Declaration
Swift
public typealias ChannelID = Snowflake
-
A Snowflake ID representing a User
Declaration
Swift
public typealias UserID = Snowflake
-
A Snowflake ID representing a Role
Declaration
Swift
public typealias RoleID = Snowflake
-
A Snowflake ID representing a Message
Declaration
Swift
public typealias MessageID = Snowflake
-
A Snowflake ID representing a Webhook
Declaration
Swift
public typealias WebhookID = Snowflake
-
A Snowflake ID representing a Permissions Overwrite
Declaration
Swift
public typealias OverwriteID = Snowflake
-
A Snowflake ID representing an Emoji
Declaration
Swift
public typealias EmojiID = Snowflake
-
A Snowflake ID representing an Integration
Declaration
Swift
public typealias IntegrationID = Snowflake
-
A Snowflake ID representing an Attachment
Declaration
Swift
public typealias AttachmentID = Snowflake