Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
/ tg2vk Public archive

๐Ÿ”€ Forwards messages from the Telegram chat to the VK chat

Notifications You must be signed in to change notification settings

DiSonDS/tg2vk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Telegram to VK

made-with-python Code style: black Codacy Badge

Forwards messages from the Telegram chat to the VK chat

Screenshot

Setup

Prerequisites

Installation

  1. Clone the repo
git clone https://github.com/DiSonDS/tg2vk.git
  1. Install PyPI packages
pip3 install -r requirements.txt
  1. Enter your Telegram and VK access token in configuration.json
"tg_token": "ENTER YOUR TELEGRAM ACCESS TOKEN",
"vk_token": "ENTER YOUR VK ACCESS TOKEN",
  1. Start bot
python3 run.py
  1. Add bots to the necessary Telegram chat and to the necessary VK chat
  2. Use /get_chat_id command in Telegram and VK chat to find out the id of chats and enter them in configuration.json
"tg_chat_id": ENTER_YOUR_TELEGRAM_CHAT_ID,
"vk_chat_id": ENTER_YOUR_VK_CHAT_ID,

Usage

python3 run.py

TODO

  • 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)

About

๐Ÿ”€ Forwards messages from the Telegram chat to the VK chat

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages