This component allows you to call Telegram Bot API to your Coldfusion (CFML) applications.
- Telegram Bot API: https://core.telegram.org/bots/api
var bot = new cfc.telegramBot(token = application.token);
asked = bot.dataParse(data = httpData);
if (asked.type == "command" && asked.command == "start") {
bot.sendMessage(chat_id=asked.chat_id, text="Hello world!");
}