View Source ExTDLib.Method.GetCommands (ExTDLib v0.0.4)

Returns list of commands supported by the bot for the given user scope and language; for bots only. Returns object_ptr<BotCommands>.

NameTypeDescription
scopeBotCommandScopeThe scope to which the commands are relevant; pass null to get commands in the default bot command scope.
language_codestringA two-letter ISO 639-1 language code or an empty string.

More details on telegram's documentation.