DiscordClient class abstract

DiscordClient describes a general interface to interact with Discord

Implementers

Constructors

DiscordClient()

Properties

apiUri Uri
Returns an Uri instance that points to the host of Discord API.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uploadImage({required DiscordUploadableImage image, required String channelId}) Future<Either<RequestError, Uri>>
Uploads an image to a Discord channel, specified in channelId parameter.

Operators

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