ChannelConfigWithInfo

data class ChannelConfigWithInfo(@Json(name = "automod") val automod: ChannelConfigWithInfo.Automod, @Json(name = "automod_behavior") val automodBehavior: ChannelConfigWithInfo.AutomodBehavior, @Json(name = "commands") val commands: List<Command>, @Json(name = "connect_events") val connectEvents: Boolean, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "custom_events") val customEvents: Boolean, @Json(name = "mark_messages_pending") val markMessagesPending: Boolean, @Json(name = "max_message_length") val maxMessageLength: Int, @Json(name = "mutes") val mutes: Boolean, @Json(name = "name") val name: String, @Json(name = "polls") val polls: Boolean, @Json(name = "push_notifications") val pushNotifications: Boolean, @Json(name = "quotes") val quotes: Boolean, @Json(name = "reactions") val reactions: Boolean, @Json(name = "read_events") val readEvents: Boolean, @Json(name = "reminders") val reminders: Boolean, @Json(name = "replies") val replies: Boolean, @Json(name = "search") val search: Boolean, @Json(name = "typing_events") val typingEvents: Boolean, @Json(name = "updated_at") val updatedAt: OffsetDateTime, @Json(name = "uploads") val uploads: Boolean, @Json(name = "url_enrichment") val urlEnrichment: Boolean, @Json(name = "allowed_flag_reasons") val allowedFlagReasons: List<String>? = null, @Json(name = "automod_thresholds") val automodThresholds: Thresholds? = null, @Json(name = "blocklist") val blocklist: String? = null, @Json(name = "blocklist_behavior") val blocklistBehavior: ChannelConfigWithInfo.BlocklistBehavior? = null, @Json(name = "blocklists") val blocklists: List<BlockListOptions>? = null, @Json(name = "grants") val grants: Map<String, List<String>>? = null)

Parameters

automod
automodBehavior
commands
connectEvents
createdAt
customEvents
markMessagesPending
maxMessageLength
mutes
name
polls
pushNotifications
quotes
reactions
readEvents
reminders
replies
search
typingEvents
updatedAt
uploads
urlEnrichment
allowedFlagReasons
automodThresholds
blocklist
blocklistBehavior
blocklists
grants

Constructors

Link copied to clipboard
constructor(@Json(name = "automod") automod: ChannelConfigWithInfo.Automod, @Json(name = "automod_behavior") automodBehavior: ChannelConfigWithInfo.AutomodBehavior, @Json(name = "commands") commands: List<Command>, @Json(name = "connect_events") connectEvents: Boolean, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "custom_events") customEvents: Boolean, @Json(name = "mark_messages_pending") markMessagesPending: Boolean, @Json(name = "max_message_length") maxMessageLength: Int, @Json(name = "mutes") mutes: Boolean, @Json(name = "name") name: String, @Json(name = "polls") polls: Boolean, @Json(name = "push_notifications") pushNotifications: Boolean, @Json(name = "quotes") quotes: Boolean, @Json(name = "reactions") reactions: Boolean, @Json(name = "read_events") readEvents: Boolean, @Json(name = "reminders") reminders: Boolean, @Json(name = "replies") replies: Boolean, @Json(name = "search") search: Boolean, @Json(name = "typing_events") typingEvents: Boolean, @Json(name = "updated_at") updatedAt: OffsetDateTime, @Json(name = "uploads") uploads: Boolean, @Json(name = "url_enrichment") urlEnrichment: Boolean, @Json(name = "allowed_flag_reasons") allowedFlagReasons: List<String>? = null, @Json(name = "automod_thresholds") automodThresholds: Thresholds? = null, @Json(name = "blocklist") blocklist: String? = null, @Json(name = "blocklist_behavior") blocklistBehavior: ChannelConfigWithInfo.BlocklistBehavior? = null, @Json(name = "blocklists") blocklists: List<BlockListOptions>? = null, @Json(name = "grants") grants: Map<String, List<String>>? = null)

Types

Link copied to clipboard
sealed class Automod

Values: disabled,simple,aI

Link copied to clipboard
sealed class AutomodBehavior

Values: flag,block,shadowBlock

Link copied to clipboard
sealed class BlocklistBehavior

Values: flag,block,shadowBlock

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val blocklist: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val createdAt: OffsetDateTime
Link copied to clipboard
Link copied to clipboard
val grants: Map<String, List<String>>? = null
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
val updatedAt: OffsetDateTime
Link copied to clipboard
Link copied to clipboard