SetMyCommands

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

Constructors

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

Functions

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

Properties

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