This commit is contained in:
smsteel 2019-02-06 16:16:15 +03:00
parent 57f0347003
commit cd361a3740

View File

@ -1,9 +1,10 @@
import { Telegraf } from 'telegraf'
import Telegraf from 'telegraf'
import express from 'express'
const web = express()
const bot = new Telegraf('643297173:AAGuqfZx3GhiiARwvY7AtWTTFw1T-2FiwCM')
web.listen(3000, () => {
web.get('/', (req, res) => {
bot.telegram.sendMessage('test')
})
web.listen(3000)