InteractionClient

class InteractionClient(val applicationId: String, val interactionToken: String, client: RestClient) : RestClient(source)

Constructors

Link copied to clipboard
constructor(applicationId: String, interactionToken: String, client: RestClient)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

FIXME - Document me!

Link copied to clipboard
suspend fun createInteractionResponse(interactionId: String, interactionResponse: InteractionResponse)

FIXME - Document me!

Link copied to clipboard
open suspend override fun DELETE(majorPath: String, minorPath: String, rateKey: String, block: HttpRequestBuilder.() -> Unit): HttpResponse
Link copied to clipboard
suspend fun deleteFollowupMessage(messageId: String)

FIXME - Document me!

Link copied to clipboard

FIXME - Document me!

Link copied to clipboard
open suspend override fun GET(majorPath: String, minorPath: String, rateKey: String, block: HttpRequestBuilder.() -> Unit): HttpResponse
Link copied to clipboard
suspend fun getFollowupMessage(messageId: String): Message

FIXME - Document me!

Link copied to clipboard

FIXME - Document me!

Link copied to clipboard
suspend fun InteractionClient.messageResponse(interactionId: String, message: String, ephemeral: Boolean)

Convenience method for responding to an interaction with a message

Link copied to clipboard
open suspend override fun PATCH(majorPath: String, minorPath: String, rateKey: String, omitNulls: Boolean, block: HttpRequestBuilder.() -> Unit): HttpResponse
Link copied to clipboard
open suspend override fun POST(majorPath: String, minorPath: String, rateKey: String, omitNulls: Boolean, block: HttpRequestBuilder.() -> Unit): HttpResponse
Link copied to clipboard
open suspend override fun PUT(majorPath: String, minorPath: String, rateKey: String, omitNulls: Boolean, block: HttpRequestBuilder.() -> Unit): HttpResponse
Link copied to clipboard
suspend fun updateFollowupMessage(messageId: String, message: PatchWebhookMessage): Message

FIXME - Document me!

Link copied to clipboard

FIXME - Document me!