Last updated 4 years ago
Was this helpful?
You can pass any params on bot starting to BJS with link:
In BJS command /start:
/start
Bot.sendMessage(params);
For example:
We pass user's API Token to bot.
let api_token = params; // do anything what you want with this params Bot.sendMessage("Your api token is: " + api_token)