vk to telegram forwarder
Powered by Telegraf
What is this?
It is a tool for express which using VK callback api forwards posts from group in channel or chat in Telegram!
Be careful, it doesn't sent audio and poll's(maybe fix soon).
Where I can see how it looks?
For example, this sending posts from Tavern of Heroes | Overwatch to Telegram channel Tavern of Overwatch | News,
Oleg Livanov - One man army trought Heroku to Telegram channel Oleg Livanov - One man army
Installation
npm install vk-to-telegram@latest --save
Example
const app = require('express')(),
bodyParser = require('body-parser'),
vkToTelegram = require('vk-to-telegram'),
vkToTg = new vkToTelegram({
botToken: token,
chatName: chatName,
ownerId: ownerId,
vkConfirmation: vkConfirmation,
vkToken: vkToken
})
app.use(bodyParser.json())
app.post('/', vkToTg.send)
app.listen(80,()=>{
console.log('listening on port 80')
})
Variables
Why?
For example, because I had a lot of bot's and when fixing the bug is inconvenient to update the code in all bots.
Also, I have an idea to add discord channel support, but it's just idea. ᕦ( ͡° ͜ʖ ͡°)ᕤ
Contact
Here's a telegram group ¯\(ツ)/¯
Also u can write to me directly in Telegram or by mail