DiscordChannel

data class DiscordChannel(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<DiscordUser>> = 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 messageCount: OptionalInt = OptionalInt.Missing, val memberCount: OptionalInt = OptionalInt.Missing, val threadMetadata: Optional<DiscordThreadMetadata> = Optional.Missing(), val defaultAutoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), val member: Optional<DiscordThreadMember> = Optional.Missing(), val flags: Optional<ChannelFlags> = Optional.Missing(), val totalMessageSent: OptionalInt = OptionalInt.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 defaultSortOrder: Optional<SortOrderType?> = Optional.Missing(), val defaultForumLayout: Optional<ForumLayoutType> = Optional.Missing(), val message: Optional<DiscordMessage> = 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<DiscordUser>> = 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(), messageCount: OptionalInt = OptionalInt.Missing, memberCount: OptionalInt = OptionalInt.Missing, threadMetadata: Optional<DiscordThreadMetadata> = Optional.Missing(), defaultAutoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), member: Optional<DiscordThreadMember> = Optional.Missing(), flags: Optional<ChannelFlags> = Optional.Missing(), totalMessageSent: OptionalInt = OptionalInt.Missing, availableTags: Optional<List<ForumTag>> = Optional.Missing(), appliedTags: Optional<List<Snowflake>> = Optional.Missing(), defaultReactionEmoji: Optional<DefaultReaction?> = Optional.Missing(), defaultThreadRateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), defaultSortOrder: Optional<SortOrderType?> = Optional.Missing(), defaultForumLayout: Optional<ForumLayoutType> = Optional.Missing(), message: Optional<DiscordMessage> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "application_id")
val applicationId: OptionalSnowflake
Link copied to clipboard
@SerialName(value = "applied_tags")
val appliedTags: Optional<List<Snowflake>>
Link copied to clipboard
@SerialName(value = "available_tags")
val availableTags: Optional<List<ForumTag>>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "default_auto_archive_duration")
val defaultAutoArchiveDuration: Optional<ArchiveDuration>
Link copied to clipboard
@SerialName(value = "default_forum_layout")
val defaultForumLayout: Optional<ForumLayoutType>
Link copied to clipboard
@SerialName(value = "default_reaction_emoji")
val defaultReactionEmoji: Optional<DefaultReaction?>
Link copied to clipboard
@SerialName(value = "default_sort_order")
val defaultSortOrder: Optional<SortOrderType?>
Link copied to clipboard
@SerialName(value = "default_thread_rate_limit_per_user")
val defaultThreadRateLimitPerUser: Optional<DurationInSeconds>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "guild_id")
val guildId: OptionalSnowflake
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "last_message_id")
val lastMessageId: OptionalSnowflake?
Link copied to clipboard
@SerialName(value = "last_pin_timestamp")
val lastPinTimestamp: Optional<Instant?>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "member_count")
val memberCount: OptionalInt
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "message_count")
val messageCount: OptionalInt
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "owner_id")
val ownerId: OptionalSnowflake
Link copied to clipboard
@SerialName(value = "parent_id")
val parentId: OptionalSnowflake?
Link copied to clipboard
@SerialName(value = "permission_overwrites")
val permissionOverwrites: Optional<List<Overwrite>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "rate_limit_per_user")
val rateLimitPerUser: Optional<DurationInSeconds>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "rtc_region")
val rtcRegion: Optional<String?>
Link copied to clipboard
@SerialName(value = "thread_metadata")
val threadMetadata: Optional<DiscordThreadMetadata>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "total_message_sent")
val totalMessageSent: OptionalInt
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "user_limit")
val userLimit: OptionalInt
Link copied to clipboard
@SerialName(value = "video_quality_mode")
val videoQualityMode: Optional<VideoQualityMode>