Skip to content
A simple template for connecting Azure Logic Apps to Telegram
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Images
LICENSE
README.md
Telegram.json

README.md

Telegram LogicApp Connector

A simple template for connecting Azure Logic Apps to Telegram. See the blogpost @ https://www.re-mark-able.net

Prerequisites

Creating a telegram bot by following this tutorial: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-telegram?view=azure-bot-service-4.0

Supported Telegram API calls

  • SendMessage -> Sends a plain text message to a group or chat.
  • GetUpdates -> Gets the last 100 updates send to your bot. This can be controlled by setting the offset or limit.

Getting it to work

For this to work you need to create a Azure Logic App Custom Connector. This can be done by going to the Azure portal https://portal.azure.com where you can search for it.

LogicAppConnectorMarketPlace

Start creating a connector like below and let Azure do its job

CreateApp

After the creation is done we can start editing it by going here

EditConnector

Simply import the Telegram.json from this repository

ImportTempalte

Now you only have to press "Update Connector" and you can start using it in your logic apps. Optionally you can pick a color and choose an icon to use for this. This determines how it is presented in the logic apps designer

Using it

Create a logic app and go to "Custom" where the connector will appear

ImportTempalte

After adding it you can add the accesstoken and chatid (acquired in the prerequisite tutorial) and start sending messages.

ImportTempalte

You can’t perform that action at this time.