---
title: "Discussion on \"How to accept Telegram Stars in your bot (the full flow, plus a no-code shortcut)\" | Hashnode"
description: "Discussion on \"How to accept Telegram Stars in your bot (the full flow, plus a no-code shortcut)\". Originally published on DEV.\nIf your Telegram bot sells anything digital (an ebook, a course, a preset pack, access to a private channel), Telegram expects you to charge in Telegram Stars. Card provid"
url: "https://hashnode.com/posts/how-to-accept-telegram-stars-in-your-bot-the-full-flow-plus-a-no-code-shortcut/6ad2b8c0e3a72cab329d5064"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to accept Telegram Stars in your bot (the full flow, plus a no-code shortcut)](https://telecrow.hashnode.dev/how-to-accept-telegram-stars-in-your-bot-the-full-flow-plus-a-no-code-shortcut?utm_source=hashnode&utm_medium=feed)

Originally published on DEV. If your Telegram bot sells anything digital (an ebook, a course, a preset pack, access to a private channel), Telegram expects you to charge in Telegram Stars. Card provid

Oct 16 · 4 min read · telecrow.hashnode.dev  
Read the article

-   [#telegram](https://hashnode.com/tag/telegram)
-   [#telegram-bot](https://hashnode.com/tag/telegram-bot)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Marylyn Roundy](https://hashnode.com/@marylynroundy)

@marylynroundy · Singapore

  
[View profile](https://hashnode.com/@marylynroundy)

Building TeleCrow, a no-code builder for Telegram shop and paid-channel bots

## Responses 1

Markdown supported · ⌘↵ to post

[StackShortlist](https://hashnode.com/@veristria)

[Oct 17](https://hashnode.com/posts/how-to-accept-telegram-stars-in-your-bot-the-full-flow-plus-a-no-code-shortcut/6ad2b8c0e3a72cab329d5064/comment/6ad2ed699b3b2d0e47b00243)

The six step flow is easy to follow, and the 10 second window for answerPreCheckoutQuery is the detail most worth highlighting, since missing it cancels the payment. Saving telegram\_payment\_charge\_id before delivering the product is a good habit to call out too, because refunds depend on it. The long polling example with no libraries and no webhook also makes it simple to test the whole flow locally before deploying anything.
