ChannelPartContract 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

createMessage<T extends Message<Channel>>(Snowflake? guildId, Snowflake channelId, String? content, List<MessageEmbed>? embeds, Poll? poll, List<MessageComponent>? components) Future<T>
createPrivateChannel({required Snowflake id, required Snowflake recipientId}) Future<PrivateChannel?>
createServerChannel<T extends Channel>({required Snowflake id, required Map<String, dynamic> payload, required String? reason}) Future<T?>
deleteChannel(Snowflake id, String? reason) Future<void>
getChannel<T extends Channel>(Snowflake id) Future<T?>
getThread(Snowflake id) Future<ThreadChannel?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serializeChannelResponse<T extends Channel>(Response response) Future<T?>
toString() String
A string representation of this object.
inherited
updateChannel<T extends Channel>({required Snowflake id, required Map<String, dynamic> payload, required String? reason}) Future<T?>

Operators

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