GetMyCommandsAction

class GetMyCommandsAction(scope: BotCommandScope? = null, languageCode: String? = null) : SimpleAction<List<BotCommand>>

Constructors

Link copied to clipboard
constructor(scope: BotCommandScope? = null, languageCode: String? = null)

Properties

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

Functions

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

Send request for action.

Link copied to clipboard
open suspend fun sendAsync(to: TelegramBot): Deferred<Response<out List<BotCommand>>>

Send async request for action.

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

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