Documentation syntax
This commit is contained in:
parent
78dff3d510
commit
4dadfd199d
@ -88,17 +88,22 @@ Example configuration showing the different settings:
|
||||
```
|
||||
|
||||
## Create a custom keyboard (command shortcut buttons)
|
||||
|
||||
Telegram allows us to create a custom keyboard with buttons for commands.
|
||||
The default custom keyboard looks like this.
|
||||
|
||||
```python
|
||||
[
|
||||
['/daily', '/profit', '/balance'], # row 1, 3 commands
|
||||
['/status', '/status table', '/performance'], # row 2, 3 commands
|
||||
['/count', '/start', '/stop', '/help'] # row 3, 4 commands
|
||||
["/daily", "/profit", "/balance"], # row 1, 3 commands
|
||||
["/status", "/status table", "/performance"], # row 2, 3 commands
|
||||
["/count", "/start", "/stop", "/help"] # row 3, 4 commands
|
||||
]
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
You can create your own keyboard in `config.json`:
|
||||
|
||||
``` json
|
||||
"telegram": {
|
||||
"enabled": true,
|
||||
@ -107,14 +112,15 @@ You can create your own keyboard in `config.json`:
|
||||
"keyboard": [
|
||||
["/daily", "/stats", "/balance", "/profit"],
|
||||
["/status table", "/performance"],
|
||||
["/reload_config", "/count", "/logs"]
|
||||
["/reload_config", "/count", "/logs"]
|
||||
]
|
||||
},
|
||||
```
|
||||
!!! Note
|
||||
Only a certain list of commands are allowed. Command arguments are not supported!
|
||||
### Supported Commands
|
||||
`/start`, `/stop`, `/status`, `/status table`, `/trades`, `/profit`, `/performance`, `/daily`, `/stats`, `/count`, `/locks`, `/balance`, `/stopbuy`, `/reload_config`, `/show_config`, `/logs`, `/whitelist`, `/blacklist`, `/edge`, `/help`, `/version`
|
||||
|
||||
!!! Note "Supported Commands"
|
||||
Only the following commands are allowed. Command arguments are not supported!
|
||||
|
||||
`/start`, `/stop`, `/status`, `/status table`, `/trades`, `/profit`, `/performance`, `/daily`, `/stats`, `/count`, `/locks`, `/balance`, `/stopbuy`, `/reload_config`, `/show_config`, `/logs`, `/whitelist`, `/blacklist`, `/edge`, `/help`, `/version`
|
||||
|
||||
## Telegram commands
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user