F
F
FrizovPlay2019-06-09 12:34:23
In contact with
FrizovPlay, 2019-06-09 12:34:23

How to make the bot reply in a conversation?

The bot can only reply to messages, but how can I make the bot write in a conversation and respond to commands in the same place? What should be written or added?
I did not find the answer to such a question, I am new to node.js.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stockholm Syndrome, 2019-06-09
@StockholmSyndrome

invite to a conversation and give full access to the correspondence in the conversation settings

G
grafist02511, 2019-06-12
@grafist02511

Also specify chat_id in the parameters of the messages.send method. Usually, if the bot is invited to the first conversation for itself, then the chat_id will be equal to 1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question