Business

Rich messages and Stars payments: can a bot’s catalog include an invoice?

Yes, a rich message can be your catalog and price table, but take Stars payments with a separate invoice. The docs don’t show how to attach one. Inside: a table of blocks and a 6-step sales flow.

Short answer

Yes, you can use a rich message as a catalog and price display. For now, though, plan to take payment with a separate Stars invoice. The Bot API 10.1 changelog says nothing about attaching an invoice or a payment button to a rich message. Here’s a flow you can rely on: rich catalog, product choice, regular invoice, payment confirmation, rich receipt.

Can you take Stars payments inside a rich message?

Bot API 10.1 came out on June 11, 2026, and added support for Rich Messages. The official description says bots can now send highly structured text and stream AI-generated replies, so a reply shows up piece by piece. These messages are sent with the new sendRichMessage method.

The full list of changes is on the Bot API changelog page. None of its entries mention attaching an invoice, a payment button or a Stars price to a rich message. This article hasn’t confirmed which parameters sendRichMessage accepts. Open the method description in the Bot API documentation and check it yourself.

So treat these as two separate jobs:

  • The rich message is the display: products, prices, samples and terms.
  • The invoice is the checkout: the Stars payment and its confirmation.

Posts on Telegram channels sum up the update as “bots can now send pretty messages.” A bot owner cares less about looks and more about the sales flow. How to connect the invoice on the technical side is covered in connecting Stars payments to a bot.

Which rich block fits which part of a catalog?

The changelog lists several blocks for rich messages. It also adds a RichBlockTableCell class for table cells and a RichBlockCaption class for captions. A bot that sells digital products might use them roughly like this:

BlockRole in the catalogPractical example
RichBlockTable, RichBlockTableCellTable of plans and bundles“1 month / 3 months / 12 months” subscription rows with a column of Stars prices
RichBlockSlideshowSample galleryFrames from course lessons, pages from a template or sticker pack
RichBlockPhoto, RichBlockCaptionCover and short descriptionAn e-book cover with a one-line caption below it
RichBlockDetailsCollapsible section“What’s included?”, “Refund terms”
RichBlockAnimationShort demoShowing how a template or filter works
RichBlockAudioListen before buyingA clip from an audio course or podcast
RichBlockMapShowing a locationThe venue, if you sell tickets to an in-person workshop

Digital products rarely need RichBlockMap. When you plan your catalog, use only the blocks you’ve seen in the documentation yourself. Don’t design the whole display around a media type that isn’t on the list.

Get Telegram Stars, Premium or gifts in som — only a @username is needed, delivered in seconds.

@StarsPaymee_bot

How can you format prices and discounts in text?

There’s a new RichText class for text, and each style comes as its own class: bold, italic, underline, strikethrough and spoiler. In a catalog you might use them like this:

  • Old and new price: the previous price in strikethrough, with the new one in bold next to it.
  • A hint about a bonus: hidden under a spoiler that opens when the customer taps it. This only changes how it looks. It doesn’t protect anything.
  • An important condition: underlined, for example “the access link is sent only after payment.”
  • What’s in the bundle: Bot API 10.2, released on July 14, 2026, added the InputRichBlockListItem class for items in a list you send. That’s the right tool for listing what a bundle contains.

One warning: a crossed-out “old price” has to be a price you actually charged. If you strike through a price that never existed, the discount is fake. You’ll lose customers’ trust and may get complaints.

How do you build the flow from catalog to payment?

The steps below rely on methods confirmed in the documentation. Anything unconfirmed is clearly marked.

  1. Update your librarymake sure the Bot API library your bot uses supports methods from version 10.1 and later. An older library may not have the new methods and classes.
  2. Send the catalog messageuse sendRichMessage to combine the table, slideshow and description into one display.
  3. Collect the choice separatelyit isn’t confirmed that you can attach selection buttons to a rich message. Instead, put buttons in a regular message below the catalog, or use commands like /buy_1 and /buy_2.
  4. Send the invoicesend a Stars invoice for the chosen product in its own message, with the usual payment method. Details are in the payment API guide.
  5. Verify the paymentdeliver the product only after your bot gets the update saying the payment went through. A customer’s screenshot or “I paid” doesn’t count as proof.
  6. Send the receipt as a rich messageafter payment, you can send the receipt, access link and instructions in rich format. Put the order details in a table and the instructions in a Details block.

This way the customer sees the display, checkout and receipt in one chat. And your flow doesn’t depend on the open question of how rich messages work with payments.

Selling subscriptions: how should you present the plans?

A subscription is time-limited access, not a one-off file. So the customer should see three things in the catalog right away: the period, the price and how access is given.

  • Periods in a table: each row is one plan with its period, Stars price and a short note (“access to private channel,” “weekly lessons”).
  • Terms in a Details block: what happens when the period ends, when the access link is sent and how refunds work.
  • A separate invoice for each plan: the customer picks a row, and the bot sends an invoice for that plan’s amount only. One shared invoice with “enter the amount yourself” just confuses people.

How to set up paid access to a private channel with Stars using Telegram’s own tools is covered in paid channels and Stars subscriptions. Here too, the rich catalog is only the display.

If the price changes, can you edit the old catalog message?

Yes. The editMessageText method now has a rich_message parameter for editing rich messages. You don’t need to delete and repost a pinned catalog every time. Updating the price cell in the table is enough.

The Message class also gained a rich_message field. According to the documentation, it shows that the message is rich formatted. That’s handy for your bot: if a message is rich, edit it the rich way, and if it isn’t, edit it as usual.

One catch: the number in the catalog is only for display. The amount the customer pays is set in the invoice. When you raise or lower a price:

  • change the price in the code that creates invoices at the same time;
  • invoices you already sent but that haven’t been paid may keep the old amount, so send a new one if needed;
  • add the date of the price update to the table so customers aren’t left wondering.

What does streaming AI replies add to sales?

The sendRichMessageDraft method lets a bot stream a rich message that isn’t finished yet. The reply doesn’t land all at once. It builds up gradually, as if someone were typing it.

Here’s a sales example. A customer writes, “Which plan is right for me?” An AI assistant streams its answer and ends with a small table of two or three matching plans. It can also quote the relevant parts of the customer’s question. With quote_rich_texts in ReplyParameters, you can show up to 32 quoted texts with a total length of up to 1 024 characters.

Be careful with these points:

  • this article hasn’t confirmed which chat types drafts work in, so test before you rely on them;
  • don’t offer payment inside the stream: send a separate invoice once the reply is finished;
  • add a filter so the AI never outputs card numbers, outside payment links or anything that sends the customer out of the chat.

What should you check in the docs yourself before launch?

Important
Rely only on core.telegram.org pages as the official source. Links in channel posts can go out of date, while the change history stays on the changelog page.

This article hasn’t confirmed the points below. Check them yourself before you launch the catalog:

  • Limits: we found no information on the number of blocks per message, text length or the number of media items in a slideshow. Split a large catalog into sections and send it across several messages.
  • Where it displays: it’s unclear how rich messages behave in private chats, groups and channels, and which app versions show them fully. Make sure product names and prices make sense even without formatting.
  • Payment link-up: attaching a payment button or invoice to a rich message isn’t confirmed. Don’t promise customers “one-tap payment” until you’ve seen it in the docs yourself.
  • Method descriptions: this article hasn’t checked the full descriptions of sendRichMessage, RichBlockTable, RichBlockSlideshow and the other classes.

How can customers tell your catalog from a scam bot?

Any bot can use rich blocks, so a scam bot can build the same tables and slideshows. Customers spot an honest shop by how open it is, not by its design. As a bot owner, use that to your advantage:

  • Keep prices consistent: the amount in the catalog should match the invoice exactly.
  • Don’t ask for extra data: never ask for a password, SMS code or card details, and say so openly in the catalog.
  • Keep terms visible: put refund and delivery terms in a Details block so the customer can read them in one tap.
  • Show your bot’s name clearly: always write your bot’s full @username on your channel and website, so customers don’t land on a lookalike.

More on selling through a channel: monetizing a channel with Stars.

Where to get Stars in UZS to test your invoice?

It’s worth testing your invoice with a real payment, so you see the same payment screen your customers will. For that, you need Stars on your account.

You can buy Stars in Uzbek som (UZS) through @StarsPaymee_bot:

  • you only need your @username, with no password, SMS code or account access;
  • orders are usually delivered automatically within a few seconds;
  • the minimum order is 50 Stars;
  • the price of 1 Star depends on how you pay: 220 som by UzCard/HUMO card transfer or from your bot balance, 240 som via Click, Payme, Uzum or Paynet;
  • you don’t need an international card, a crypto wallet or a VPN.

StarsPaymee is an independent service. It doesn’t claim any official partnership with Telegram and doesn’t buy Stars from users. Prices and payment methods are on the Stars page, and options for bot owners are on the business page. For an overview of the Stars API, see what the Telegram Stars API is.

Frequently asked questions

Can I put a Stars payment button inside a rich message?
The Bot API 10.1 changelog doesn’t list that option. If you want to attach a button or invoice, first look up the sendRichMessage parameters on core.telegram.org and try sending one in a test chat.
If the catalog is a rich message and the invoice is a regular one, is that awkward for customers?
If the invoice appears as soon as the product is picked, the customer has just one extra step. Make sure the product name and amount in the invoice match the catalog row exactly.
How does a rich catalog look in an older Telegram app?
It hasn’t been officially stated which app versions fully display rich messages. Write names and prices so they’re readable without formatting, and open the catalog on an older device to check.
Do I have to repost the pinned price table in my channel every month?
No. A rich message sent by your bot can be edited with the rich_message parameter of editMessageText. It isn’t confirmed yet how rich messages behave in channels, though, so test first.
Will a very long price list fit in one message?
We found no official row, block or length limits for rich messages. Splitting a long list into several tables by category is the safer choice, and it’s easier to read on a phone too.
Which Bot API version should my library support when I update the bot?
Rich messages arrived in Bot API 10.1 on June 11, 2026, and InputRichBlockListItem for list items came in 10.2 on July 14. If you want lists too, your library needs to support 10.2.
Can I hide a buyer’s access code in the catalog with a spoiler?
No. A spoiler only hides the text visually, and anyone who sees the message can tap to reveal it. Send personal codes or links separately, only to that customer, after payment is confirmed.
Can my AI assistant bot ask for payment at the end of its reply?
Yes, but request payment with a separate Stars invoice after the reply has finished, not inside the streamed text. Add a filter so the AI never outputs card numbers or outside payment links.
What’s the minimum number of Stars I need to test payments in my own bot?
The minimum order at @StarsPaymee_bot is 50 Stars, which is enough for a low-priced test invoice. 1 Star costs 220 som by card transfer and 240 som via Click, Payme, Uzum or Paynet.
If the bot owner’s personal account doesn’t have Premium, can the bot still send rich messages?
The changelog mentions no such requirement, because the bot sends rich messages through the Bot API, not the owner’s account. If it doesn’t work, check your library version and the method parameters.

Need Stars, Premium or a gift?

Pay in som in @StarsPaymee_bot via Click, Payme, Uzum, Paynet or card. Only a @username is needed — the order arrives in seconds.

Open the bot