Telegram Bot
Send messages, photos, and documents via a Telegram bot. In Appbricx, your workflows and server functions call it by name once it is connected.
What you can do
7 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.
- Get Chat MemberGet member info (or null) for provided chat id and user id
get_chat_member - Send MediaSend a media message through a Telegram bot
send_media - Send Text MessageSend a message through a Telegram bot
send_text_message - Create Invite LinkCreate an invite link for a chat
create_invite_link - Get FileGet file information and download a file from Telegram
get_file - Request Approval MessageSend an approval message to a chat and wait until the message is approved or disapproved
request_approval_message - Custom API CallMake a custom API call to a specific endpoint
custom_api_call
Set it up
About two minutes, once per project or once for the whole workspace.
- Open Integrations in the builder
Backend panel, Integrations tab, then Telegram Bot. To connect it for every project, use Workspace settings, Integrations.
- Add your credentials
An API key (or token) from your Telegram Bot account, pasted once. It is stored encrypted and only read on the server when an action runs.
- API key From Telegram Bot's settings
- Call an action
From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.
Workflow // .workflow.js (native ctx) export async function run(ctx) { const res = await ctx.integrations.invoke("telegram_bot", "get_chat_member", { "chat_id": "<chat id>", "user_id": "<user id>" }); if (!res.success) throw new Error(res.error); ctx.log.info("Telegram Bot answered", { output: res.output }); }
More in Communication
Telegram Bot and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.