Always running commands
Master command
All Updates
Example
// you can track any message here
if(message&&chat){
Bot.sendMessage("Sorry, bot don't have this command: " + message);
return
}
// you can see all updated data by:
// Bot.inspect(tgUpdate);
if(tgUpdate.edited_message?.edit_date){
// user edited message
Bot.sendMessage("Text edited to:" + tgUpdate.edited_message.text);
}
// another possible updates in:
// https://core.telegram.org/bots/api#updateBeforeAll and AfterAll commands
Last updated