concatnate your conversation between the bot and the sender.
based on telegram-pm-chat-bot.
firstly prepared the following:
- python 3
- pip
then run :
pip install python-telegram-bot --upgrade
modify those on /config.json
:
{
"Admin": 0, // ID of admin account (number id)
"Token": "", // Token of bot
"Lang": "en" // name of the lang file
}
python main.py
command | function | parameter |
---|---|---|
say | start conversation | /say |
done | end conversation | /done |
receipt_switch | enable or disable receipt | /receipt_switch |
messege_info | info of the messege you point (admin only) | /messege_info |
version | version of bot | /version |