GuildChannelCreateRequest

data class GuildChannelCreateRequest(val name: String, val type: ChannelType, val topic: Optional<String> = Optional.Missing(), val bitrate: OptionalInt = OptionalInt.Missing, val userLimit: OptionalInt = OptionalInt.Missing, val rateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), val position: OptionalInt = OptionalInt.Missing, val permissionOverwrite: Optional<Set<Overwrite>> = Optional.Missing(), val parentId: OptionalSnowflake = OptionalSnowflake.Missing, val nsfw: OptionalBoolean = OptionalBoolean.Missing, val id: OptionalSnowflake = OptionalSnowflake.Missing, val defaultAutoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), val defaultReactionEmoji: Optional<DefaultReaction?> = Optional.Missing(), val defaultThreadRateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), val flags: Optional<ChannelFlags> = Optional.Missing(), val availableTags: Optional<List<ForumTagRequest>?> = Optional.Missing(), val defaultSortOrder: Optional<SortOrderType?> = Optional.Missing(), val defaultForumLayout: Optional<ForumLayoutType> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(name: String, type: ChannelType, topic: Optional<String> = Optional.Missing(), bitrate: OptionalInt = OptionalInt.Missing, userLimit: OptionalInt = OptionalInt.Missing, rateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), position: OptionalInt = OptionalInt.Missing, permissionOverwrite: Optional<Set<Overwrite>> = Optional.Missing(), parentId: OptionalSnowflake = OptionalSnowflake.Missing, nsfw: OptionalBoolean = OptionalBoolean.Missing, id: OptionalSnowflake = OptionalSnowflake.Missing, defaultAutoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), defaultReactionEmoji: Optional<DefaultReaction?> = Optional.Missing(), defaultThreadRateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), flags: Optional<ChannelFlags> = Optional.Missing(), availableTags: Optional<List<ForumTagRequest>?> = Optional.Missing(), defaultSortOrder: Optional<SortOrderType?> = Optional.Missing(), defaultForumLayout: Optional<ForumLayoutType> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "available_tags")
val availableTags: Optional<List<ForumTagRequest>?>
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "parent_id")
val parentId: OptionalSnowflake
Link copied to clipboard
@SerialName(value = "permission_overwrites")
val permissionOverwrite: Optional<Set<Overwrite>>
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
Link copied to clipboard
@SerialName(value = "user_limit")
val userLimit: OptionalInt