FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

Preside Extension: Telegram Bot

v0.1.2 Public

Preside Extension: Telegram Bot

This is a simple extension for Telegram Bot based on Telegram Bot API To get started, please follow the guide at Telegram Bot API Introduction to create your own bot with @BotFather

Currently supported feature are:

  • Telegram Notification Service
  • Location and Venue Notification

Telegram Notification Service

You can assign a Channel, Group Chat or Individual Chat to receive notification from Preside's Notification Service

You will be able to select the Telegram Channels to be alerted in the specific notification settings in Preside

The default parse mode for Telegram Notification service is HTML mode

You will need to create a telegram context for the notification ( or it will default to datatable context )

The Telegram HTML parsing is limited to only certain HTML tags as defined in Telegram API documentation

Location and Venue Notification

To send Location or Venue Notification, you can use the function sendLocation and sendVenue in TelegramService.cfc

Dependencies (0)


Dev Dependencies (0)


Install with:

box install preside-ext-telegram-bot

Changelog

0.1.1

  • Added README, License and changelog

0.1.0

  • Initial commit

 

$ box install preside-ext-telegram-bot

No collaborators yet.
   
  • Apr 04 2020 02:31 PM
  • Apr 04 2020 02:39 PM
  • 252
  • 137
  • 1