Typing class final

Represents a typing indicator in a channel.

Constructors

Typing({required Snowflake? serverId, required Snowflake channelId, required Snowflake userId, required DateTime timestamp})

Properties

channelId Snowflake
The ID of the channel where the typing occurred.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId Snowflake?
The ID of the server where the typing occurred.
final
timestamp DateTime
The timestamp when the typing started.
final
type TypingType
no setter
userId Snowflake
The ID of the user who is typing.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveChannel<T extends Channel>({bool force = false}) Future<T>
Resolves the channel where the typing occurred.
resolveMember({bool force = false}) Future<Member?>
Resolves the member who is typing.
resolveServer({bool force = false}) Future<Server?>
Resolves the server where the typing occurred.
resolveUser({bool force = false}) Future<User?>
Represents a typing indicator in a channel.
toString() String
A string representation of this object.
inherited

Operators

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