M
M
MadHowradBot2021-07-26 11:52:02
Node.js
MadHowradBot, 2021-07-26 11:52:02

How to add arguments to the telegram bot command?

How to add arguments to the telegram bot command?
by type you enter / test 123 123 and these messages could be written to an array.
node-telegram-bot-api library

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
UberPool, 2021-07-26
@UberPool

Delete the original command, add all other arguments to the array, access them by index.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question