SetMyCommands

class SetMyCommands(commands: List<BotCommand>, scope: BotCommandScope, ietfLanguageCode: IetfLanguageCode?) : MyCommandsRequest<Boolean>

Constructors

SetMyCommands
Link copied to clipboard
common
fun SetMyCommands(commands: List<BotCommand>, scope: BotCommandScope = BotCommandScopeDefault, languageCode: String?)

Functions

method
Link copied to clipboard
common
open override fun method(): String

Properties

commands
Link copied to clipboard
common
val commands: List<BotCommand>
ietfLanguageCode
Link copied to clipboard
common
open override val ietfLanguageCode: IetfLanguageCode? = null
languageCode
Link copied to clipboard
common
open val languageCode: String?
requestSerializer
Link copied to clipboard
common
open override val requestSerializer: SerializationStrategy<*>
resultDeserializer
Link copied to clipboard
common
open override val resultDeserializer: DeserializationStrategy<Boolean>
scope
Link copied to clipboard
common
open override val scope: BotCommandScope