BoxLang 🚀 A New JVM Dynamic Language Learn More...

Preside Extension: Telegram Bot

v0.1.2 Preside Extensions

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

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.
   
  • {{ getFullDate("2020-04-04T14:31:04Z") }}
  • {{ getFullDate("2020-04-04T14:39:02Z") }}
  • 1,894
  • 1,680