J
J
jenya77712018-04-08 23:01:38
Node.js
jenya7771, 2018-04-08 23:01:38

What library to use to write a Telegram bot on nodeJs?

Hello, tell me which library is more suitable for my needs:
1) Creating a keyboard, for example, I ask a question and display a keyboard with answer options.
2) Send the user an array of photos, text and buttons, for example, I ask the user, after that, depending on the user's answers, I display 5 options for him, a photo, a description below it and a button for more detailed information.
I tried to just display the keyboard via telegraf, I couldn’t, and node-telegram-bot-api had problems with sending not one message by the bot, but dozens of messages with an interval of 20 seconds.
Maybe there are examples of similar bots, or who did something similar, tell me what to choose to write it? The main question is to issue a batch of photos, text and buttons, not understanding how to do it, send 5 messages?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly, 2018-04-09
@vshvydky

Telegraph zhs

E
eQ1, 2018-04-15
@eQ1

Tyk

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question