MessagePartContract class abstract interface

Implemented types

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

crosspost(Snowflake channelId, Snowflake id) Future<void>
delete(Snowflake channelId, Snowflake id) Future<void>
get<T extends BaseMessage>(String channelId, String id, bool force) Future<T?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pin(Snowflake channelId, Snowflake id) Future<void>
reply<T extends Channel, R extends Message>({required Snowflake id, required Snowflake channelId, String? content, List<MessageEmbed>? embeds, List<MessageComponent>? components}) Future<R>
send<T extends Message>(String? guildId, String channelId, String? content, List<MessageEmbed>? embeds, Poll? poll, List<MessageComponent>? components) Future<T>
toString() String
A string representation of this object.
inherited
unpin(Snowflake channelId, Snowflake id) Future<void>
update<T extends Message>({required String id, required String channelId, String? content, List<MessageEmbed>? embeds, List<MessageComponent>? components}) Future<T>

Operators

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