Forwards messages from the Telegram chat to the VK chat
- Python 3.6+ (download page)
- Telegram bot access token (use BotFather)
- VK bot access token (read VK documentation)
- Clone the repo
git clone https://github.com/DiSonDS/tg2vk.git
- Install PyPI packages
pip3 install -r requirements.txt
- Enter your Telegram and VK access token in
configuration.json
"tg_token": "ENTER YOUR TELEGRAM ACCESS TOKEN",
"vk_token": "ENTER YOUR VK ACCESS TOKEN",
- Start bot
python3 run.py
- Add bots to the necessary Telegram chat and to the necessary VK chat
- Use
/get_chat_id
command in Telegram and VK chat to find out the id of chats and enter them inconfiguration.json
"tg_chat_id": ENTER_YOUR_TELEGRAM_CHAT_ID,
"vk_chat_id": ENTER_YOUR_VK_CHAT_ID,
python3 run.py
- Forward messages from multiple Telegram chats to one VK chat
- Forward messages from VK chat to Telegram chat
- Personal emoji in the message header (pymojihash)