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>
fetch<T extends BaseMessage>(Object channelId, {Snowflake? around, Snowflake? before, Snowflake? after, int? limit}) Future<Map<Snowflake, T>>
get<T extends BaseMessage>(Object channelId, Object id, bool force) Future<T?>
getPollVotes(Snowflake? serverId, Snowflake channelId, Snowflake messageId, int answerId) Future<PollAnswerVote<Message>>
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>(Snowflake id, Snowflake channelId, MessageBuilder builder) Future<R>
send<T extends Message>(String? serverId, String channelId, MessageBuilder builder) Future<T>
sendPoll<T extends Message>(String channelId, Poll poll) Future<T>
toString() String
A string representation of this object.
inherited
unpin(Snowflake channelId, Snowflake id) Future<void>
update<T extends Message>({required Object id, required Object channelId, required MessageBuilder builder}) Future<T>

Operators

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