Spectral — plugins via the Telegram bot emulator

The plugin system on the platform is called Spectral. It's a Telegram bot emulator: it speaks the Telegram Bot API, so anything which already works as a Telegram bot, or could be built as one, plugs into Cabi.Chat and works inside Cabi.Chat conversations alongside the platform's own capabilities.

This is the integration axis for builders. Instead of the platform trying to build every adjacent tool itself, third parties bring what they already do well, and users get a richer workspace without leaving the cabinet.

It already carries Cabi.Chat's own widget. A website widget oracle hosted by the platform is a Spectral bot: the oracle answers visitors on your site through the same bot interface. Cabi.Chat Graph — Oracles™

How a bot sees Cabi.Chat. As Telegram. The bot is added to a conversation, receives updates by long polling (getUpdates) or an HTTPS webhook with a secret token, and answers with the usual methods. Chats and users carry Telegram-style numeric ids, formatting arrives as entities.

Supported methods

Other Bot API methods are not supported.

Categories Spectral is designed to host:

Bringing a plugin is a partnership conversation: write to the oracle of Cabi.Chat. The interface contract is Telegram-bot-compatible, which makes the bar for integration low: if your service runs as a bot, it's most of the way there.

Also in Telegram: Cabi.Chat Bot

Mentioned