TgTaps Docs
  • TgTaps Documentation
    • Community
  • Blocks
    • Basic
      • Container
      • Block
      • Image
      • Copy button
      • HTML
      • Onboarding
    • Payments
      • Subscriptions list
    • Friends (referral system)
      • Invite friend button
      • Leaderboard
      • Claim friends bonus button
      • Friends list
    • Pages
      • Buy page button
      • Buy page card
      • Access page from date
    • Clicker game
      • Cards
      • Level reachment
      • Level progress
      • Click button
      • Energy progress
      • Farm button
    • Tasks
    • FAQ
    • TON
      • Connect TON wallet button
      • Send TON button
    • System blocks
      • Buy page dialog
    • Quizes
      • Quiz
      • Quiz completion
    • Daily bonus
  • Roulette
  • FEATURES
    • Rates
    • Navigation
    • Placeholders
    • Referrals statistics export
    • Custom value
    • Broadcast sending
    • Bot ownership transfer and token change
    • Head scripts
    • Pages
      • Paid pages
    • Levels
    • Payments
      • How to sell points?
  • Mini App Settings
    • Telegram messages
    • Referral system
    • Fonts
    • System icons
    • Analytics
  • Integrations
    • API keys
    • API methods
    • iFrame integrations
    • How to display UI fields from your API?
  • FAQ
    • How to fix "primary page is not configured"?
    • How to create gradient color or background?
    • How pages background works?
    • How to insert YouTube video in app?
    • How to add Play button to Telegram Bot?
  • Changelog
    • Changelog
Powered by GitBook
On this page
  • Content
  • What is rate?
  • What are rates needed for?
  • How to sell rates?
  • How to control access to pages?
  • How to control access to blocks?
  • Placeholder
  • How to see user rate in CRM?
  • How to unsubscribe from rate?
  • How to invite and kick users from private groups?
  1. FEATURES

Rates

PreviousRouletteNextNavigation

Last updated 1 month ago

Content

What is rate?

Rate is a particular status that user can buy for points, stars or money (read more in payments section). For example, rates are: “Minimal”, “Standard” and “Premium”.

What are rates needed for?

Depending on the user rate you can:

  • Give access to your content (for example, if you are selling courses or books).

  • Control access to pages (for example, users with “Minimal” rate have access to first 10 lessons, users with “Premium” rate have access to all lessors and bonus materials).

  • Control visibility of blocks (for example, show for premium users secret codes, materials, additional text, extra tasks, etc.).

How to sell rates?

Rates can be sold in two ways:

  • Via direct link in button, text, container, etc. To do this, create a link with the following content (replace placeholders): #buy-rate?rateName=RATE_NAME&description=PURCHASE_DESCRIPTION Where: - RATE_NAME- is a name of the buying rate (spaces make sense); - PURCHASE_DESCRIPTION - the text will appear in invoices before the rate name. For example: #buy-rate?rateName=Minimal&description=Buy rate Then, when the user clicks the URL, a dialog suggesting buying rate will appear:

How to control access to pages?

How to control access to blocks?

You can show some blocks to particular rates (or to free users, all users, etc.):

If the user is not in chosen rates, the block will be hidden.

Placeholder

In UI, here will be inserted current user rate's name.

How to see user rate in CRM?

The rate is visible in CRM when you choose user:

How to unsubscribe from rate?

How to invite and kick users from private groups?

When users buy the rate, you can approve them to join private groups and channels. When the rate is expired, you can kick them from groups automatically.

To do so, you need to:

  1. Add bot to private group or private channel.

  2. Mark the bot as an administrator. You can see groups where your bot is present and is admin in this tab:

  3. Select the group in rate groups dropdown.

  4. Put the link from previous step to “rate received message”. After the user received the rate, they will receive a link and can send join request (which bot will approve):

  5. If you want to kick users when their rate expired (due to failed payment, for example), you can click the checkbox “kick when rate removed”.

Important note: the bot approves and rejects only new requests. If there were pending join requests or users without rates — the bot will not accept requests or kick users.


Via paid . To do this, add allowed rates to the : Then, when user try to go to this page, the rate will be suggested to buy:

You can give access to for specified rates. To achieve this, select required rates in page configure section:

To show user rate name is UI, you can use a in text field {user_rate}:

Subscriptions to rates are the same as subscription payments. .

Generate new private invite lint with join approving, so users can send join requests and bot can approve them (without this automatic approving will not work):

Something unclear in docs or you know how to improve article? We will answer you and then promise to improve the article within 3 days.

pages
placeholder
Message us in community!
page
paid page
What is rate?
What are rates needed for?
How to sell rates?
How to control access to blocks?
How to control access to pages?
Placeholder
How to see user rate in CRM?
How to unsubscribe from rate?
How to invite and kick users from private groups?
Please read there how to cancel subscriptions