PublicFollowupMessage

class PublicFollowupMessage(val message: Message, val applicationId: Snowflake, val token: String, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : FollowupMessage, PublicFollowupMessageBehavior(source)

Holds the followup Message resulting from a public followup message and behaves on it through PublicFollowupMessageBehavior

Parameters

message

The message created by this followup. To use the message behavior your application must be authorized as a bot.

Constructors

Link copied to clipboard
constructor(message: Message, applicationId: Snowflake, token: String, kord: Kord, supplier: EntitySupplier = kord.defaultSupplier)

Properties

Link copied to clipboard
open override val applicationId: Snowflake
Link copied to clipboard
Link copied to clipboard
open override val channelId: Snowflake

The id of the MessageChannel the followup message was sent in.

Link copied to clipboard
open override val id: Snowflake

The id of the followup message.

Link copied to clipboard
open override val kord: Kord

The kord instance that created this object.

Link copied to clipboard
Link copied to clipboard
open override val supplier: EntitySupplier

The supplier used to request entities.

Link copied to clipboard
open override val token: String

Functions

Link copied to clipboard
open operator override fun compareTo(other: Entity): Int

Compares entities on id.

Link copied to clipboard
open suspend fun delete()

Requests to delete this followup message.

Link copied to clipboard

Requests to edit this followup message.

Link copied to clipboard
open suspend fun getChannel(): MessageChannel
Link copied to clipboard
open suspend fun getChannelOrNull(): MessageChannel?
Link copied to clipboard

Returns a copy of this class with a new supplier provided by the strategy.