ReplyBuilder class Null safety
Builder for replying to message
Constructors
- ReplyBuilder(Snowflake messageId, [bool failIfNotExists = false])
- Constructs reply builder for given message in channel
-
ReplyBuilder.fromCacheable(Cacheable<
Snowflake, IMessage> messageCacheable, [bool failIfNotExists = false]) -
Constructs message reply from cacheable of message and channel
factory
- ReplyBuilder.fromMessage(IMessage message, [bool failIfNotExists = false])
-
Constructs message reply from given message
factory
Properties
- failIfNotExists → bool
-
True if reply should fail if target message does not exist
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- messageId → Snowflake
-
Id of message you reply to
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
build(
) → RawApiMap -
Returns built response for api
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited