DeleteMyCommandsRequest

data class DeleteMyCommandsRequest(scope: BotCommandScope?, language_code: String?) : TelegramRequest

Use this method to delete the list of the bot's commands for the given scope and user language. After deletion, higher level commands will be shown to affected users. Returns True on success.

Constructors

DeleteMyCommandsRequest
Link copied to clipboard
fun DeleteMyCommandsRequest(scope: BotCommandScope? = null, language_code: String? = null)

Properties

language_code
Link copied to clipboard
val language_code: String? = null
A two-letter ISO 639-1 language code.
scope
Link copied to clipboard
val scope: BotCommandScope? = null
A JSON-serialized object, describing scope of users for which the commands are relevant.