AutoModerationActionBuilder class
- Inheritance
-
- Object
- Builder<
AutoModerationAction> - CreateBuilder<
AutoModerationAction> - AutoModerationActionBuilder
- Implementers
Constructors
- AutoModerationActionBuilder({required ActionType type, ActionMetadataBuilder? metadata})
- AutoModerationActionBuilder.blockMessage({String? customMessage})
- AutoModerationActionBuilder.sendAlertMessage({required Snowflake channelId})
- AutoModerationActionBuilder.timeout({required Duration duration})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata → ActionMetadataBuilder?
-
Metadata needed to perform the action.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ActionType
-
The type of action to perform.
final
Methods
-
build(
) → Map< String, Object?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited