SetBusinessAccountGiftSettingsAction

class SetBusinessAccountGiftSettingsAction(businessConnectionId: String, showGiftButton: Boolean, acceptedGiftTypes: AcceptedGiftTypes) : SimpleAction<Boolean> (source)

Constructors

Link copied to clipboard
constructor(businessConnectionId: String, showGiftButton: Boolean, acceptedGiftTypes: AcceptedGiftTypes)

Properties

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

Functions

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

Send request returning its Response.

Link copied to clipboard

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