ChannelUpdateTextRequest class

Annotations
  • @JsonSerializable.new()

Constructors

ChannelUpdateTextRequest({required ChannelUpdateTextRequestTypeType type, String? topic, String? url, SnowflakeType? parentId, int? bitrate, int? userLimit, List<ChannelOverwriteRequest>? permissionOverwrites, bool? nsfw, bool? nsfwOverride, ContentWarningLevel? contentWarningLevel, String? contentWarningText, int? rateLimitPerUser, Base64ImageType? icon, SnowflakeType? ownerId, ChannelNicknameOverrides? nicks, String? rtcRegion, String? name})
const
ChannelUpdateTextRequest.fromJson(Map<String, Object?> json)
factory

Properties

bitrate int?
Voice channel bitrate in bits per second (8000-320000)
final
contentWarningLevel ContentWarningLevel?
final
contentWarningText String?
Custom channel content warning text (max 200 characters); null inherits from parent or guild
final
hashCode int
The hash code for this object.
no setterinherited
icon Base64ImageType?
Base64-encoded icon image for group DM channels
final
name String?
The name of the channel
final
nicks ChannelNicknameOverrides?
final
nsfw bool?
Legacy: setting true maps to nsfw_override=true; setting false maps to nsfw_override=null (inherit). Prefer nsfw_override.
final
nsfwOverride bool?
Per-channel adult-content override (true=on, false=off, null=inherit from category then guild). Takes precedence over the legacy nsfw field if both are present.
final
ownerId SnowflakeType?
ID of the new owner for group DM channels
final
parentId SnowflakeType?
ID of the parent category for this channel
final
permissionOverwrites List<ChannelOverwriteRequest>?
Permission overwrites for roles and members
final
rateLimitPerUser int?
Slowmode delay in seconds (0-21600)
final
rtcRegion String?
Voice region ID for the voice channel (1-64 characters)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topic String?
The channel topic (1-1024 characters)
final
type ChannelUpdateTextRequestTypeType
final
url String?
External URL for link channels
final
userLimit int?
Maximum users allowed in voice channel (0-99, 0 means unlimited)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited