Class GetMyCommands

    • Constructor Detail

      • GetMyCommands

        public GetMyCommands()
    • Method Detail

      • scope

        public GetMyCommands scope​(BotCommandScope scope)
        Parameters:
        scope - An object that extends the BotCommandScope class. For example: new BotCommandScopeAllPrivateChats()
        Returns:
      • languageCode

        public GetMyCommands languageCode​(java.lang.String languageCode)
        Parameters:
        languageCode - A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands
        Returns: