ChannelMethods class final

Constructors

ChannelMethods(Snowflake? _serverId, Snowflake id)

Properties

hashCode int
The hash code for this object.
no setterinherited
id Snowflake
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String? reason) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send<T extends Message>({Snowflake? guildId, String? content, List<MessageEmbed>? embeds, Poll? poll, List<MessageComponent>? components}) Future<T>
setBitrate(int value, String? reason) Future<void>
setCategory(String value, String? reason) Future<void>
setDefaultAutoArchiveDuration(Duration value, String? reason) Future<void>
setDefaultThreadRateLimitPerUser(Duration value, String? reason) Future<void>
setDescription(String value, String? reason) Future<void>
setName(String name, String? reason) Future<void>
setNsfw(bool value, String? reason) Future<void>
setPosition(int value, String? reason) Future<void>
setRateLimitPerUser(Duration value, String? reason) Future<void>
setRtcRegion(String value, String? reason) Future<void>
setUserLimit(int value, String? reason) Future<void>
setVideoQuality(VideoQuality value, String? reason) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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