MemberPass
PlatformsTelegram

Telegram Operations

Learn how to launch your bot, activate plans, and execute commands using deep links.

Your MemberPass bot supports powerful deep linking capabilities. You can create special links to:

  • Launch the bot.
  • Automatically open a specific subscription plan.
  • Execute commands (including custom ones).
  • Activate access codes.
  • Manage affiliate tracking.

There are two primary ways to share your bot:

Inside Telegram (channels, groups, and chats), you can simply mention your bot by its username.

@YourBotName

A universal link that works anywhere (websites, emails, social media) starts with t.me.

https://t.me/YourBotName

Deep Linking

You can pass parameters to your bot using the ?start query parameter. This allows for powerful automation and seamless user onboarding.

You can execute any bot command automatically when a user clicks a link.

Formatting Rules

When creating a command link, follow these substitution rules:

  1. Replace the forward slash / with a hyphen -.
  2. Replace any underscores _ in the command name with double underscores __.

Example: /status Command Shows the user's current subscription status.

https://t.me/YourBotName?start=-status

Example: /custom_command Executes a custom command you've defined.

https://t.me/YourBotName?start=-custom__command

You can automatically activate an access code when a user starts the bot. This is perfect for distributing gifts or promotional access.

https://t.me/YourBotName?start=YOUR_ACCESS_CODE

When a user clicks this link, the bot will launch and immediately attempt to redeem the access code YOUR_ACCESS_CODE.

Directly link to a specific subscription plan to bypass the plan selection menu. This is ideal for "Buy Now" buttons on your website and pricing tables.

https://t.me/YourBotName?start=PLAN_UUID

You can find the Plan UUID in your MemberPass dashboard under Plan Settings.

Combine powerful features like commands and affiliate tracking in a single link.

If you are using the Affiliate Program, your partners will have unique links to track referrals.

Basic Affiliate Link Tracks the referral for Affiliate ID 17.

https://t.me/YourBotName?start=a17

Affiliate + Command Executes a command AND tracks the referral.

https://t.me/YourBotName?start=a17_-status

Alternatively:

https://t.me/YourBotName?start=-status_a17

Affiliate + Access Code Redeems an access code AND tracks the referral.

https://t.me/YourBotName?start=a17_cCODE

You can even construct links for admin actions to use in your own dashboards or integrations.

Parameters If a command takes parameters (e.g., /ban 12345), separate them with hyphens _-.

Example: Check User Status Shows detailed information about a user (Subscription, Plans, Resources, Payments).

Original Command: /check 12345 Deep Link:

https://t.me/YourBotName?start=-check_-12345

Example: Ban User Bans a user, revokes their invite links, and removes them from all resources.

Original Command: /ban 12345

Option 1: Interactive (Recommended)

https://t.me/YourBotName?start=-ban_-12345

This link opens a safety menu with a confirmation button to prevent accidental bans.

Option 2: Immediate (Automated)

https://t.me/YourBotName?start=-ban_-12345_-confirm

This link bans the user immediately without confirmation. Use this only for automated systems where you are sure about the action.

On this page