Size: a a a

2017 November 13

VP

Vittorio Pinti in Dev Chat
hi all
источник

VP

Vittorio Pinti in Dev Chat
guys is possible listen with telegram-node-bot on two port?
источник

VP

Vittorio Pinti in Dev Chat
7777 and another for http request?
источник

MM

Mikita Melnikau in Dev Chat
as i know, telegram client supporting https connection only
источник

VP

Vittorio Pinti in Dev Chat
i've another problem, i make a bot for get a list of a books, this list is on my database and all work
источник

VP

Vittorio Pinti in Dev Chat
now i make a web page for the users
источник

VP

Vittorio Pinti in Dev Chat
the users can upload a book on my db with this web page
источник

VP

Vittorio Pinti in Dev Chat
after that i want send a message on telegram
источник

MM

Mikita Melnikau in Dev Chat
If you have a chatId, you can send messages with https://github.com/Naltox/telegram-node-bot#api
источник

MM

Mikita Melnikau in Dev Chat
tg.api.sendMessage(chatId, 'Hi')
источник

VP

Vittorio Pinti in Dev Chat
this listen from telegram
источник

VP

Vittorio Pinti in Dev Chat
i need listen from my webpage
источник

MM

Mikita Melnikau in Dev Chat
Not realy
источник

VP

Vittorio Pinti in Dev Chat
and send a message on telegram
источник

MM

Mikita Melnikau in Dev Chat
aye add to your script this syntax. all just you need - Id of the chat
источник

MM

Mikita Melnikau in Dev Chat
dont forget init telegram in start of you server script in requires
источник

А

Алексей in Dev Chat
Hi guys
источник

А

Алексей in Dev Chat
I wanna make inline buttons
источник

А

Алексей in Dev Chat
You know, the ones sent with the message
источник

А

Алексей in Dev Chat
I read the documentation and understood part of it
источник