StartThreadRequest

data class StartThreadRequest(val name: String, val autoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), val type: Optional<ChannelType> = Optional.Missing(), val invitable: OptionalBoolean = OptionalBoolean.Missing, val rateLimitPerUser: Optional<DurationInSeconds?> = Optional.Missing(), val message: Optional<ForumThreadMessageRequest> = Optional.Missing(), val appliedTags: Optional<List<Snowflake>> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(name: String, autoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), type: Optional<ChannelType> = Optional.Missing(), invitable: OptionalBoolean = OptionalBoolean.Missing, rateLimitPerUser: Optional<DurationInSeconds?> = Optional.Missing(), message: Optional<ForumThreadMessageRequest> = Optional.Missing(), appliedTags: Optional<List<Snowflake>> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "applied_tags")
val appliedTags: Optional<List<Snowflake>>
Link copied to clipboard
@SerialName(value = "auto_archive_duration")
val autoArchiveDuration: Optional<ArchiveDuration>
Link copied to clipboard
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