Streams API in the CommPeak SMS platform provides routes for two-way conversations in Telegram. Learn how to create a Telegram bot and complete adding a stream in TextPeak.
Creating Telegram Bot streams is a Beta feature that is not available to all users by default. If you are interested in trying it, you first need to request access.
Requesting Telegram Bot Streams Access
To submit your Telegram Bot Streams access request:
Log in to TextPeak in your browser.
Select Streams API in the main TextPeak menu on the left.
Click Create Stream API on the page that opens.
Create Stream API button
For the Telegram Beta option, click Request Access.
Choose stream type pop-up window with Request Access buttons
A TextPeak support agent will review your request and follow up with you shortly.
Request Received! notification
📘
NOTE
If you retry accessing the Beta feature you already requested access to before your request gets approved, you will see the following pop-up window:
Request Already Sent pop-up window
Getting Started with Telegram Bot Streams
Once authorized to access the feature, you can start creating and managing Telegram Bot SMS streams.
When adding a stream, in Step 4, you will be asked to provide an authorization token generated in Telegram.
Authorization token generated in Telegram
Step 2: Load Stream Creation Wizard
To start, select Streams API in the main menu on the left and click Create Stream API on the page that opens.
In the pop-up window, click to unfold the Telegram option and select it.
Stream type pop-up window with access granted: Telegram
The Create New Stream wizard will load. Fill in the necessary information to complete the steps below.
Step 3: Stream API Details
Start with entering stream details:
Stream API name - enter a meaningful name to locate the stream quickly.
Stream API description - provide more information that will be visible when you open the stream.
Enable IP ACL - optionally, select the checkbox to limit access to the stream. Then, in the Add IP field, add one or more IP addresses from which you will make API calls. To add an IP, enter it and click Add.
Tags - create tags and apply them immediately to categorize your streams and quickly find the ones you need (optional). To add a tag, enter it in the field and then select from the drop-down.
Create New Stream page
Click Save & Next to proceed to the next step.
📘
NOTE
You can save the stream as a draft on each step and then complete the rest at any time later.
You can also enable the Demo Sending option to create a demo channel that simulates messaging flows without sending real messages. This option can be useful for testing and development use cases and is available for any stream type.