Getting Started
1
Create or Select a Project
Set up a new project or select an existing one. See Organizations & Projects.
2
Configure the Connector
Enable the connector and set up a Connector Profile in your project. See Setup Connector Profile.
Optionally, configure receiving Events for Telegram into StackOne.
Connector Profile · Bot Token
Create a Telegram bot and obtain the Bot Token from BotFather. Open Telegram, search for @BotFather, send /newbot, follo…
Webhooks setup
3
Link an Account
Link an account from the dashboard (or via StackOne Hub).See the guide for the authentication type chosen in the Connector Profile:
Link Account · Bot Token
4
Use Actions
Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.
Actions
38 actions
Action
Description
Get Bot Info
Get information about the bot
Get Updates
Get incoming updates for the bot
Get Webhook Info
Get current webhook status
Set Webhook
Set a webhook URL to receive updates
Delete Webhook
Remove the webhook and switch to polling
Answer Callback Query
Send a response to a callback query from an inline keyboard button
Get Chat
Get information about a chat
Get Chat Administrators
Get a list of administrators in a group or channel
Get Chat Member Count
Get the number of members in a chat
Get Chat Member
Get information about a member of a chat
Ban Chat Member
Ban a user from a chat
Unban Chat Member
Unban a previously banned user from a chat
Leave Chat
Make the bot leave a group, supergroup, or channel
Create Chat Invite Link
Create an additional invite link for a group or channel
Export Chat Invite Link
Get or regenerate the primary invite link for a group or channel
Get File
Get basic information about a file and prepare it for downloading
Get User Profile Photos
Get a list of profile pictures for a user
Send Message
Send a text message to a chat
Forward Message
Forward a message to another chat
Copy Message
Copy a message to another chat without a forwarding link
Edit Message Text
Edit the text of a previously sent message
Delete Message
Delete a message from a chat
Send Photo
Send a photo to a chat
Send Document
Send a document or file to a chat
Pin Message
Pin a message in a chat
Unpin Message
Unpin a specific message in a chat
Send Audio
Send an audio file to a chat
Send Video
Send a video file to a chat
Send Animation
Send an animation (GIF or H.264/MPEG-4 AVC video without sound) to a chat
Send Voice
Send a voice message to a chat
Send Location
Send a geographic location to a chat
Send Contact
Send a phone contact to a chat
Send Poll
Send a native poll to a chat
Send Dice
Send an animated emoji that displays a random value
Send Chat Action
Send a chat action indicator to show the bot is processing
Delete Messages
Delete multiple messages in a chat
Forward Messages
Forward multiple messages to another chat
Copy Messages
Copy multiple messages to another chat without the original source attribution
Events
|
No tags found
28 events
Event
Description
Tags
Active Check
Responds with 200 OK to any Telegram webhook delivery that does not carry a recognized update type.
Health Checks
Message
Fired when the bot receives a new message of any kind (text, photo, sticker, document, etc.) in a private chat, group, o…
Messages
Edited Message
Fired when a message known to the bot is edited.
Messages
Channel Post
Fired when a new post is published in a channel where the bot is an administrator.
Channels
Edited Channel Post
Fired when a channel post known to the bot is edited.
Channels
Business Connection
Fired when the bot is connected to or disconnected from a Telegram Business account, or the connection is edited.
Business
Business Message
Fired when a connected Telegram Business account receives a new message.
Business
Edited Business Message
Fired when a message in a connected Telegram Business account is edited.
Business
Deleted Business Messages
Fired when messages are deleted from a connected Telegram Business account.
Business
Guest Message
Fired when the bot receives a new guest message.
Messages
Message Reaction
Fired when a user changes their reaction to a message in a chat where the bot is an administrator.
Reactions
Message Reaction Count
Fired when anonymous reaction counts on a message change in a chat where the bot is an administrator.
Reactions
Inline Query
Fired when a user types an inline query addressed to the bot (@botname query).
Inline Mode
Chosen Inline Result
Fired when a user picks one of the bot’s inline query results and sends it to a chat.
Inline Mode
Callback Query
Fired when a user presses an inline keyboard button attached to one of the bot’s messages.
Interactions
Shipping Query
Fired when a user enters a shipping address for an invoice with a flexible price.
Payments
Pre-Checkout Query
Fired when a user confirms payment and Telegram asks the bot to approve the checkout.
Payments
Purchased Paid Media
Fired when a user purchases paid media with a non-empty payload that the bot sent in a non-channel chat.
Payments
Poll
Fired when the state of a poll changes — only for polls sent by the bot and polls that are manually stopped.
Polls
Poll Answer
Fired when a user changes their answer in a non-anonymous poll sent by the bot.
Polls
My Chat Member
Fired when the bot’s own member status changes in a chat (added, removed, promoted, or blocked).
Chat Members
Chat Member
Fired when a member’s status changes in a chat where the bot is an administrator (joined, left, promoted, restricted, or…
Chat Members
Chat Join Request
Fired when a user requests to join a chat where the bot can approve join requests.
Chat Members
Chat Boost
Fired when a boost is added to or changed in a chat where the bot is an administrator.
Boosts
Removed Chat Boost
Fired when a boost is removed from a chat where the bot is an administrator.
Boosts
Managed Bot
Fired when a new bot is created to be managed by this bot, or a managed bot’s token or owner changes.
Managed Bots
Subscription
Fired when a user’s payment subscription to the bot changes.
Payments
Stopped Message Generation
Fired when a user asks the bot to stop generating a message.
Messages