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>.
| Name | Type | Description |
|---|---|---|
| scope | BotCommandScope | The scope to which the commands are relevant; pass null to get commands in the default bot command scope. |
| language_code | string | A two-letter ISO 639-1 language code or an empty string. |
More details on telegram's documentation.