$ReactionClient class

Constructors

$ReactionClient($Client _rootClient)
Creates a new DynamiteClient for reaction requests.

Properties

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

Methods

$delete_Request({required String reaction, required String token, required int messageId, ReactionDeleteApiVersion? apiVersion, bool? oCSAPIRequest}) → Request
Delete a reaction from a message.
$delete_Serializer() → DynamiteSerializer<ReactionDeleteResponseApplicationJson, void>
Builds a serializer to parse the response of $delete_Request.
$getReactions_Request({required String token, required int messageId, String? reaction, ReactionGetReactionsApiVersion? apiVersion, bool? oCSAPIRequest}) → Request
Get a list of reactions for a message.
$getReactions_Serializer() → DynamiteSerializer<ReactionGetReactionsResponseApplicationJson, void>
Builds a serializer to parse the response of $getReactions_Request.
$react_Request({required String reaction, required String token, required int messageId, ReactionReactApiVersion? apiVersion, bool? oCSAPIRequest}) → Request
Add a reaction to a message.
$react_Serializer() → DynamiteSerializer<ReactionReactResponseApplicationJson, void>
Builds a serializer to parse the response of $react_Request.
delete({required String reaction, required String token, required int messageId, ReactionDeleteApiVersion? apiVersion, bool? oCSAPIRequest}) Future<DynamiteResponse<ReactionDeleteResponseApplicationJson, void>>
Delete a reaction from a message.
getReactions({required String token, required int messageId, String? reaction, ReactionGetReactionsApiVersion? apiVersion, bool? oCSAPIRequest}) Future<DynamiteResponse<ReactionGetReactionsResponseApplicationJson, void>>
Get a list of reactions for a message.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
react({required String reaction, required String token, required int messageId, ReactionReactApiVersion? apiVersion, bool? oCSAPIRequest}) Future<DynamiteResponse<ReactionReactResponseApplicationJson, void>>
Add a reaction to a message.
toString() String
A string representation of this object.
inherited

Operators

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