How to run Command using TPY Code?
Make command as /command
options = "my options" # you can use json here
bot.replyText(message.chat.id, "running next command")
Bot.runCommand("/nextCommand", options)
Again make new command as /nextCommand
bot.replyText(message.chat.id, "Success")
Last modified 1yr ago