AXL Knowledge Base

Telegram Groups/Channels App

~11 min read Section: Apps

The Telegram Groups/Channels app lets you manage who can access your private Telegram groups and channels. You can automatically approve requests to join a group, or ban group members in Telegram.

Telegram menu wording can vary by app version.

Telegram Groups/Channels App

Go to Settings → Apps. The "All Apps" tab lists every app you can connect to your account.

All Apps tab in AXL Settings.

Use a dedicated bot for this connection. Connecting a bot also connects its incoming Telegram updates to AXL. If another service already handles that bot, AXL can report a connection conflict. Create a separate bot instead of replacing a connection you still need.

Creating a Telegram Bot

You create a new Telegram bot with another bot called BotFather. Follow this link, click "Send Message", and open the app in Telegram Desktop.

BotFather link opening Telegram.

In Telegram, click Start, or send /start to BotFather.

Start command in BotFather.

The bot menu opens and lists all available commands. Select the /newbot command.

BotFather newbot command.

BotFather then asks you to enter a name for your bot.

BotFather request for a bot name.

If BotFather accepts the name, it asks for a username for your bot. The username must be unique and end in "bot". If the username you chose is already taken, try a different one.

Once BotFather accepts the username, it sends you a message with a link to your bot and a token. Keep the token private and copy it for Connecting Telegram to AXL. Telegram also documents this process in its BotFather guide.

Connecting Telegram to AXL

Return to AXL and go to Settings → Apps. On the "All Apps" tab, click "Connect" on the Telegram Groups/Channels card.

Telegram Groups/Channels app card with Connect.

In the panel that opens, fill in the fields:

  1. Title. Enter a name that helps you identify this connection in AXL, such as Northstar Community Bot.
  2. Token. Paste the token from Creating a Telegram Bot.

Click Connect. The screenshot below leaves the token empty because it is a private credential.

App connection form with title and token.

The connected Telegram Groups/Channels app appears on the "Connected" tab. To continue setup, click "Manage".

Connected Telegram app card with Manage.

To delete the app, click "Delete" on its card and confirm with "OK".

Delete action on a connected app.

To see deleted apps, check the "Show deleted" box. You can restore a deleted app.

Show deleted control for apps.

Creating a Telegram Group

One bot can manage multiple groups and channels. To connect a group, open the app and click Add Group/Channel.

Add Group/Channel in the Telegram app.

In the window that opens, enter a Name to identify the group in AXL.

Remove previously added members (when they send a message) lets the bot remove unregistered group members when they send a message. It does not immediately scan and remove all existing members. The bot does not remove bots, the group owner, or administrators through this message check.

Choose this option only if it matches your membership policy. Click Next and follow the connection instructions shown in AXL.

New group name and existing-member removal setting.

For this section, create a Telegram group for the bot to manage. Channel setup is covered in the next section. Open Telegram and click the menu button.

Use Telegram's new-group action to create a group, give it a name, and complete the member-selection steps.

Now add the bot to the group. Open the bot's profile, click Add to Group, and select your new group from the list.

Adding the bot to a Telegram group.

Open the group. In the group settings, select "Manage Group".

Manage Group in Telegram.

If access must be controlled through approval links, review the group's Permissions. Restrict ordinary members from adding other users or changing the group settings when those actions would bypass your membership policy.

Group permissions for adding members and editing the group.

Open Administrators and add the bot as an administrator. Give it the rights needed to approve join requests and remove members. Telegram requires the invite-users right for approving requests and the restrict-members right for removing or banning members. Stay anonymous hides an administrator's presence; it is not the permission that enables these membership actions. See Telegram administrator rights.

Bot administrator permissions in a Telegram group.

Return to the group-connection window in AXL and copy the connection code shown there. Send that exact code as a message to the Telegram group from your own account.

Once the group connects, its status changes to "Connected". Click "Save".

Connected group state and Save control.

The group now appears in the app's list of groups and channels.

Connected group in the AXL app list.

Creating a Telegram Channel

The same bot can manage multiple channels. To connect a channel, click Add Group/Channel.

Add Group/Channel for a Telegram channel.

Enter a Name to identify the channel in AXL, then click Next and follow the instructions.

The form also has the existing-member removal option described in the group section. This check runs when a user sends a message; it does not immediately remove all existing channel subscribers. Ordinary channel subscribers do not post channel messages, so do not use this checkbox as a bulk subscriber-cleanup tool.

New channel name and existing-member removal setting.

Open Telegram. To create a channel, click "Menu".

In the menu, select "New Channel". Enter a channel name, choose the channel type (public or private), add members, and click "Create".

New Telegram channel name and visibility settings.

Next, add the bot to the channel. In the channel settings, select "Manage Channel".

Manage Channel in Telegram.

Open Administrators and add the bot as an administrator with the rights needed to approve join requests and remove members.

Bot added as a channel administrator.

Return to the channel-connection window in AXL and copy the connection code shown there.

Send a message with the code to the Telegram channel.

Once the channel connects, its status changes to "Connected". Click "Save".
The channel now appears in the app's list of groups and channels.

Connected channel in the AXL app.

Creating an Invitation Link for a Group or Channel

Open Telegram and go to your group or channel. In its settings, select "Manage Group" or "Manage Channel".

Manage Group or Manage Channel entry in Telegram.

Go to the "Invite Links" section.

Invite Links settings in Telegram.

Click "Create a New Link".

To create an invite link that requires approval, turn on the "Request admin approval" switch. Enter a name for the link and click "Create".

Invitation link with Request admin approval enabled.

Copy the approval link and share it with the intended members through your chosen communication channel. People using this link submit a join request instead of joining immediately. See Telegram's join-request instructions.

Managing Group and Channel Users

A connected group or channel has these actions:

  1. All Users. Open the list of users known to AXL for this group or channel.
  2. Pending Users. Open requests waiting for approval. This action appears when there are pending requests.
  3. Manage Automation. Open the group or channel automation. For setup, see Automations Overview.
  4. Manage Group (pencil icon). Open the group or channel settings.
  5. Delete (trash icon). Remove the group or channel connection from this app after confirmation. This does not delete the Telegram chat itself.
AXL group and channel management actions.

Click All Users to open Manage Users. This list includes membership records known to AXL, such as invited users, approved members, and pending requests; it is not an import of every existing Telegram member.

Manage Users list for a Telegram group.

A search bar and a filter button are at the top of the "Manage Users" window. Use them to find the user you need quickly.

Click the filter button (funnel icon) and set a filter condition:

  • Status. Shows users who currently have a certain status (Approved, Banned, Pending, Removed, and so on). Select a status from the list.

  • Date Created. Shows users who were created on certain dates. Select a date range.

Telegram user filters for status and creation date.

A Telegram user who is not associated with a CRM contact appears with the label Not linked to a contact. This means the CRM link is missing; it does not mean the person is anonymous in Telegram. To link the correct contact, click Edit User (pencil icon).

Telegram member marked Not linked to a contact.

In the window that opens, select a contact from your CRM and click "Save". This links the Telegram account to that CRM contact.

CRM contact selection for a Telegram member.

Pending Users contains requests that still need approval. An Invited record means access has been granted in AXL while the person may still need to join through the invitation link. A missing Telegram identity alone does not create a pending join request. Check both the AXL record and the actual Telegram membership.

Pending Users in Telegram group management.

Click Pending Users to open Manage Users filtered to pending requests:

  1. Accept User. Approve the join request.
  2. Decline User. Reject the join request.
  3. Remove (trash icon). Remove the AXL membership record after confirmation. For a pending request, this also declines the request; for an approved member, removal can remove the person from Telegram. It is not just a way to clear a notification.

Available actions depend on the user's state. Approved members can be banned; banned users can be unbanned, and removed users can be restored. The owner has no membership-action buttons. After changing access, check the resulting state in AXL and Telegram.

Pending member accept, decline, and remove actions.

You can also add a user from their CRM contact card. Go to Contacts, select the contact, and open their card. Click "Actions" under the contact's name at the top, then select "Telegram Groups/Channels" and choose "Add to Group/Channel" or "Remove from Group/Channel".

Telegram Groups/Channels actions on a CRM contact.

To add or remove many users at once, go to the contact list in the CRM. Select contacts with the filters you need, then click "Bulk Actions".

Selected CRM contacts and Bulk Actions.

In the list of bulk actions, open Telegram Groups/Channels and choose the action for adding or removing contacts. In the form that opens, select the intended Telegram group or channel. Use Confirm for adding access or Delete for removing it. Check the selected contacts and destination before confirming.

Adding access does not force a person to join Telegram. Share the approval link and check the resulting membership or join request.

Bulk actions for adding or removing Telegram group members.

To learn how to automate adding users to a group, read "How to Automate Telegram Groups/Channels".

Check membership access after setup

  1. In the connected Telegram Groups/Channels app, open All Users for the intended group. Use Pending Users to review requests that still need approval.
  2. For a user marked Not associated with a contact, use the pencil icon, select the correct CRM contact, and save the link.
  3. Approve or decline the request from the pending list. Verify membership in Telegram as well as the user’s state in AXL.
  4. For automated access, follow the separate automation guide and check both a qualifying contact and a contact who should not receive access.

Adding permission in AXL and the person actually joining Telegram are separate parts of the flow. Share the invitation link that requires admin approval, then check the resulting join request.

The current setup entry is Settings → Apps → All Apps → Telegram Groups/Channels → Connect. This opens a form with Title and Token; the Connect button inside that form completes the connection. Use a dedicated bot when another service already handles an existing bot’s messages.