Skip to content

Commit

Permalink
Merge pull request #43 from fnceba/Add-info-about-set_my_commands-int…
Browse files Browse the repository at this point in the history
…o-readme

add info about `set_my_commands`
  • Loading branch information
shamaevnn authored Jun 7, 2022
2 parents 1e70c94 + 616e360 commit 7c97790
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Sexy Django + python-telegram-bot + Celery + Redis + Postgres + Dokku + GitHub A
* Reverse geocode of user via [ArcGis](https://www.arcgis.com/)
* Export all users in `.csv`
* Native telegram [commands in menu](https://github.com/ohld/django-telegram-bot/blob/main/.github/imgs/bot_commands_example.jpg)
* In order to edit or delete these commands you'll need to use `set_my_commands` bot's method just like in [tgbot.dispatcher.setup_my_commands](https://github.com/ohld/django-telegram-bot/blob/main/tgbot/dispatcher.py#L150-L156)

Built-in Telegram bot methods:
* `/broadcast` — send message to all users (admin command)
Expand Down

0 comments on commit 7c97790

Please sign in to comment.