Skip to content

gonzalo-r-martinez/telegram-bot-magnolia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magnolia Telegram Bot

Magnolia compatibility License Info Telegram

This module instantiates a Telegram Bot, which accesses to the contents of Magnolia. Initially, this bot is designed to work with the community demo version. It only allows to search the tours and assets and also to publish pages when the user has logged in through the bot. In addition, it can be easily extended to access other workpspaces.

How does it work

The module instantiates the bot on the Author server through the API Telegram Bot and accesses the contents of Magnolia through the REST API of Magnolia. Once it started, a keyboard with the different commands available will be displayed.

Features

The following actions are allowed through keyboard commands:

Start:

start command

Search tours:

Search tours

Search assets:

Search assets

Login:

Login

Publish:

Publish

Logout:

Publish

Configuration

First, we create a new bot using the Bot Father of Telegram. We generate an API key for the bot and the desired bot name. Then, we add the API key and the name that we have generated in the module configuration.

Config

Finally, we configure the URL to access the endopoint of the Magnolia REST API.

Rest

License

Code licensed under MIT License.

Contributors

Magnolia, https://magnolia-cms.com. Gonzalo Rodríguez Martínez, https://github.com/gonzalo-r-martinez/

Credit

This module has been developed with the help of the API developed by (https://github.com/rubenlagus) and the icon library developed by (https://github.com/vdurmont/emoji-java)

Releases

No releases published

Packages

No packages published

Languages