TextApiAction

class TextApiAction(val client: ApiClient, val request: ApiRequest) : ApiAction<TextResponse>

The ApiAction that provides text response only.

Constructors

Link copied to clipboard
fun TextApiAction(client: ApiClient, request: ApiRequest)

Functions

Link copied to clipboard
open suspend override fun execute(): TextResponse

Executes ApiAction and returns its result. This function is suspendable.

Properties

Link copied to clipboard
open override val client: ApiClient

Current ApiClient instance.

Link copied to clipboard
open override val request: ApiRequest

Current lazy ApiRequest instance.