https://github.com/yugoff/telegram-bot-submenu-implementation
One of the options for creating a submenu in the bot is presented
https://github.com/yugoff/telegram-bot-submenu-implementation
bot python telegram telegram-bot telegram-menu telegram-submenu token
Last synced: 8 months ago
JSON representation
One of the options for creating a submenu in the bot is presented
- Host: GitHub
- URL: https://github.com/yugoff/telegram-bot-submenu-implementation
- Owner: yugoff
- Created: 2023-10-31T11:17:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-07T11:05:38.000Z (over 2 years ago)
- Last Synced: 2025-02-01T08:17:46.830Z (over 1 year ago)
- Topics: bot, python, telegram, telegram-bot, telegram-menu, telegram-submenu, token
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Telegram bot submenu implementation
## This project implements a submenu using the python-telegram-bot library:
1. Import the necessary classes and methods;
2. Function for processing the /start command;
3. Function for processing button clicks in the menu;
Also in the file config.py prescribing a token
Example config.py: TOKEN = '6877345639:AAEg5fmepvlWjc_OfmfhbsVJp38hRfr8k8r'