ReplyBuilder class Null safety

Builder for replying to message

Inheritance

Constructors

ReplyBuilder(Snowflake messageId, [bool failIfNotExists = true])
Constructs reply builder for given message in channel
ReplyBuilder.fromCacheable(Cacheable<Snowflake, Message> messageCacheable, [bool failIfNotExists = true])
Constructs message reply from cacheable of message and channel
factory
ReplyBuilder.fromMessage(Message message, [bool failIfNotExists = true])
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-only, inherited
messageId Snowflake
Id of message you reply to
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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