SimpleAction

Simple action, see Actions article

Type Parameters

ReturnType

response type.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
open override val Request<ReturnType>.parameters: MutableMap<String, JsonElement>

Functions

Link copied to clipboard
open suspend override fun Request<ReturnType>.doRequest(bot: TelegramBot)
Link copied to clipboard
open suspend override fun Request<ReturnType>.doRequestReturning(bot: TelegramBot): Deferred<Response<out ReturnType>>
Link copied to clipboard
suspend fun send(to: TelegramBot)

Send request for action.

Link copied to clipboard
inline suspend fun sendReturning(to: TelegramBot): Deferred<Response<out ReturnType>>

Send request returning its Response.

Link copied to clipboard

Payload to make response for the webhook request as described there.