lib/tdlib/client_methods.rb
def delete_commands(scope:, language_code:)
    broadcast('@type'         => 'deleteCommands',
              'scope'         => scope,
              'language_code' => language_code)
  end
# Deletes commands supported by the bot for the given user scope and language; for bots only.
#
# @param scope [TD::Types::BotCommandScope] The scope to which the commands are relevant; pass null to delete
#   commands in the default bot command scope.
# @param language_code [TD::Types::String] A two-letter ISO 639-1 language code or an empty string.
# @return [TD::Types::Ok]
Deletes commands supported by the bot for the given user scope and language; for bots only.
Deletes commands supported by the bot for the given user scope and language ; for bots only .
def delete_commands(scope:, language_code:)
    broadcast('@type'         => 'deleteCommands',
              'scope'         => scope,
              'language_code' => language_code)
  end
def delete_commands ( scope : , language_code : ) broadcast ( '@type' => 'deleteCommands' , 'scope' => scope , 'language_code' => language_code ) end
Deletes commands supported by the bot for the given user scope and language; for bots only.
Deletes commands supported by the bot for the given user scope and language ; for bots only .
None
TD::Types::Ok
scope
The scope to which the commands are relevant; pass null to delete commands in the default bot command scope.
The scope to which the commands are relevant ; pass null to delete commands in the default bot command scope .
language_code
A two-letter ISO 639-1 language code or an empty string.
A two - letter ISO 639 - 1 language code or an empty string .