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.
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:
| Block | Role in the catalog | Practical example |
|---|---|---|
| RichBlockTable, RichBlockTableCell | Table of plans and bundles | “1 month / 3 months / 12 months” subscription rows with a column of Stars prices |
| RichBlockSlideshow | Sample gallery | Frames from course lessons, pages from a template or sticker pack |
| RichBlockPhoto, RichBlockCaption | Cover and short description | An e-book cover with a one-line caption below it |
| RichBlockDetails | Collapsible section | “What’s included?”, “Refund terms” |
| RichBlockAnimation | Short demo | Showing how a template or filter works |
| RichBlockAudio | Listen before buying | A clip from an audio course or podcast |
| RichBlockMap | Showing a location | The 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_botHow 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.
- 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.
- Send the catalog messageuse sendRichMessage to combine the table, slideshow and description into one display.
- 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.
- 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.
- 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.
- 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?
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?
If the catalog is a rich message and the invoice is a regular one, is that awkward for customers?
How does a rich catalog look in an older Telegram app?
Do I have to repost the pinned price table in my channel every month?
Will a very long price list fit in one message?
Which Bot API version should my library support when I update the bot?
Can I hide a buyer’s access code in the catalog with a spoiler?
Can my AI assistant bot ask for payment at the end of its reply?
What’s the minimum number of Stars I need to test payments in my own bot?
If the bot owner’s personal account doesn’t have Premium, can the bot still send rich messages?
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 botRelated articles
Can a Bot Widget Take Stars Payments? Storefront, Invoice and TON Requests
A widget can serve as a storefront, but a separate invoice is the better way to collect Stars. This article covers widget limits, steps for updating prices and how a TON wallet request affects buyer trust.
ReadStop Spam Accounts Joining Your Telegram Group: AI Guardian or Stars?
The main way to stop spam at the door is to require join requests and let an AI guardian bot screen them. Stars barriers are an extra filter. Inside: a comparison table, setup steps and test examples.
ReadTonnel Cash Out 80%: Is It Better Than an Official Channel Withdrawal?
Usually not: with a wallet and an unlocked balance, withdrawing through Fragment keeps more of your money. Covers the 80% math, the ads option, third-party risks and the official withdrawal steps.
Read
