UploadStickerFileAction

class UploadStickerFileAction(userId: Long, sticker: InputFile, stickerFormat: StickerFormat) : SimpleAction<File>

Constructors

Link copied to clipboard
constructor(userId: Long, sticker: InputFile, stickerFormat: StickerFormat)

Properties

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

Functions

Link copied to clipboard
open suspend override fun Request<File>.doRequest(bot: TelegramBot)
Link copied to clipboard
open suspend override fun Request<File>.doRequestReturning(bot: TelegramBot): Deferred<Response<out File>>
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 File>>

Send async request for action.

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

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