Telegram Instant Messaging: Custom Function
Build a MindStudio AI that generates and sends announcements and messages to your public Telegram group.
What is Telegram?
Telegram provides cloud-based end-to-end messaging services.
What Can I Do With MindStudio and Telegram?
Build a MindStudio AI that generates and sends announcements and messages to your public Telegram group.
What is Required for This Custom Function?
Telegram account.
Telegram bot. See Create a Telegram Bot.
A public Telegram group to which to send the generated MindStudio messages. See Create a Telegram group.
Telegram: Send a Message Custom Function.
Get Telegram Settings for This Custom Function
Create a Telegram Bot
Log in to Telegram.
Locate the BotFather.
Enter
/start
From the Telegram menu, select
/newbot
Follow instructions to set a name and username for your bot.
Copy the API key that your bot generates.
Store the API key for the Telegram Bot API Key setting in MindStudio’s Telegram Instant Messaging Custom Function.
Create a Telegram Group
Select the Telegram group.
Select the Edit icon that looks like a pencil.
Select the Group Type setting.
Select the Public Group setting.
Set a link for this group.
Store the group name link.
Invite Your Telegram Bot into Your Public Group
Go back two pages to view the members of the Telegram group.
Invite your Telegram bot into the group.
Copy the name of the Telegram group’s URL
Copy from the
@
symbol to the end of the URL.Note this URL segment for the Telegram Channel setting in MindStudio’s Telegram Instant Messaging Custom Function.
Configuration
Telegram Bot API Key
Enter your Telegram bot API key.
Telegram Channel
Enter the name of the public Telegram group channel to which to send the MindStudio message.
Message
Enter the message to send to the Telegram group. Optionally, reference a Variable that stores that message in a User Input provided by the user. Example:
Last updated