ChannelData

data class ChannelData(val id: Snowflake, val type: ChannelType, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val position: OptionalInt = OptionalInt.Missing, val permissionOverwrites: Optional<List<Overwrite>> = Optional.Missing(), val name: Optional<String?> = Optional.Missing(), val topic: Optional<String?> = Optional.Missing(), val nsfw: OptionalBoolean = OptionalBoolean.Missing, val lastMessageId: OptionalSnowflake? = OptionalSnowflake.Missing, val bitrate: OptionalInt = OptionalInt.Missing, val userLimit: OptionalInt = OptionalInt.Missing, val rateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), val recipients: Optional<List<Snowflake>> = Optional.Missing(), val icon: Optional<String?> = Optional.Missing(), val ownerId: OptionalSnowflake = OptionalSnowflake.Missing, val applicationId: OptionalSnowflake = OptionalSnowflake.Missing, val parentId: OptionalSnowflake? = OptionalSnowflake.Missing, val lastPinTimestamp: Optional<Instant?> = Optional.Missing(), val rtcRegion: Optional<String?> = Optional.Missing(), val videoQualityMode: Optional<VideoQualityMode> = Optional.Missing(), val permissions: Optional<Permissions> = Optional.Missing(), val threadMetadata: Optional<ThreadMetadataData> = Optional.Missing(), val messageCount: OptionalInt = OptionalInt.Missing, val memberCount: OptionalInt = OptionalInt.Missing, val defaultAutoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), val member: Optional<ThreadMemberData> = Optional.Missing(), val flags: Optional<ChannelFlags> = Optional.Missing(), val defaultSortOrder: Optional<SortOrderType?> = Optional.Missing(), val totalMessageSent: OptionalInt = OptionalInt.Missing, val defaultForumLayout: Optional<ForumLayoutType> = Optional.Missing(), val availableTags: Optional<List<ForumTag>> = Optional.Missing(), val appliedTags: Optional<List<Snowflake>> = Optional.Missing(), val defaultReactionEmoji: Optional<DefaultReaction?> = Optional.Missing(), val defaultThreadRateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), val message: Optional<MessageData> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(id: Snowflake, type: ChannelType, guildId: OptionalSnowflake = OptionalSnowflake.Missing, position: OptionalInt = OptionalInt.Missing, permissionOverwrites: Optional<List<Overwrite>> = Optional.Missing(), name: Optional<String?> = Optional.Missing(), topic: Optional<String?> = Optional.Missing(), nsfw: OptionalBoolean = OptionalBoolean.Missing, lastMessageId: OptionalSnowflake? = OptionalSnowflake.Missing, bitrate: OptionalInt = OptionalInt.Missing, userLimit: OptionalInt = OptionalInt.Missing, rateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), recipients: Optional<List<Snowflake>> = Optional.Missing(), icon: Optional<String?> = Optional.Missing(), ownerId: OptionalSnowflake = OptionalSnowflake.Missing, applicationId: OptionalSnowflake = OptionalSnowflake.Missing, parentId: OptionalSnowflake? = OptionalSnowflake.Missing, lastPinTimestamp: Optional<Instant?> = Optional.Missing(), rtcRegion: Optional<String?> = Optional.Missing(), videoQualityMode: Optional<VideoQualityMode> = Optional.Missing(), permissions: Optional<Permissions> = Optional.Missing(), threadMetadata: Optional<ThreadMetadataData> = Optional.Missing(), messageCount: OptionalInt = OptionalInt.Missing, memberCount: OptionalInt = OptionalInt.Missing, defaultAutoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), member: Optional<ThreadMemberData> = Optional.Missing(), flags: Optional<ChannelFlags> = Optional.Missing(), defaultSortOrder: Optional<SortOrderType?> = Optional.Missing(), totalMessageSent: OptionalInt = OptionalInt.Missing, defaultForumLayout: Optional<ForumLayoutType> = Optional.Missing(), availableTags: Optional<List<ForumTag>> = Optional.Missing(), appliedTags: Optional<List<Snowflake>> = Optional.Missing(), defaultReactionEmoji: Optional<DefaultReaction?> = Optional.Missing(), defaultThreadRateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), message: Optional<MessageData> = Optional.Missing())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard