PrivateButtonContext class final

Implemented types

Constructors

PrivateButtonContext({required Snowflake id, required Snowflake applicationId, required String token, required int version, required String customId, required Snowflake? authorId, required Snowflake channelId, required Snowflake messageId})

Properties

applicationId Snowflake
final
authorId Snowflake?
final
channelId Snowflake
final
customId String
final
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
final
interaction InteractionContract
latefinal
messageId Snowflake
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
final
version int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveAuthor({bool force = false}) Future<User>
resolveChannel({bool force = false}) Future<ServerChannel>
resolveMessage({bool force = false}) Future<ServerMessage>
Resolves the message that the button was clicked on
toString() String
A string representation of this object.
inherited

Operators

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