SetMyCommands

@Serializable
class SetMyCommands(val commands: List<BotCommand>, val scope: BotCommandScope = BotCommandScopeDefault, val ietfLanguageCode: IetfLanguageCode? = null) : MyCommandsRequest<Boolean>

Constructors

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

Functions

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

Properties

Link copied to clipboard
Link copied to clipboard
@Serializable(with = IetfLanguageCodeSerializer::class)
open override val ietfLanguageCode: IetfLanguageCode? = null
Link copied to clipboard
open val languageCode: String?
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<Boolean>
Link copied to clipboard
@Serializable(with = BotCommandScopeSerializer::class)
open override val scope: BotCommandScope

Extensions

Link copied to clipboard