Thêm khách hàng đã thanh toán vào nhóm hoặc kênh Telegram riêng tư khi họ đăng ký hoặc mua hàng, đồng thời tự động xóa họ khi quyền truy cập kết thúc.
Entitlement Telegram cho phép khách hàng đã thanh toán truy cập vào nhóm hoặc kênh Telegram riêng tư. Khách hàng liên kết tài khoản Telegram của họ trong Customer Portal, sau đó bot Telegram của Dodo Payments gửi cho họ một liên kết yêu cầu tham gia và chỉ phê duyệt yêu cầu đó cho đúng tài khoản ấy. Khi grant bị thu hồi, bot sẽ xóa khách hàng khỏi cuộc trò chuyện.
Nội dung được cung cấp
Grant được tạo trong Pending. Grant vẫn ở trạng thái đó sau khi khách hàng liên kết tài khoản Telegram và bot gửi liên kết yêu cầu tham gia.
Trong Customer Portal, khách hàng nhấp vào Kết nối, gửi /start cho bot Dodo Payments để lấy Telegram user ID, nhập ID đó rồi nhấp vào Liên kết tài khoản.
Bot gửi cho khách hàng một liên kết yêu cầu tham gia trong Telegram. Khi khách hàng yêu cầu tham gia, bot chỉ phê duyệt yêu cầu cho tài khoản đã liên kết của họ.
Khi hủy, hoàn tiền hoặc thu hồi thủ công, bot xóa khách hàng khỏi cuộc trò chuyện và cấm họ tham gia. Nếu họ mua lại, bot gỡ lệnh cấm trước khi gửi liên kết mới.
Các trường hợp sử dụng phổ biến gồm kênh alpha riêng tư, nhóm tín hiệu trả phí và các đặc quyền theo cấp độ cộng đồng.
Kết nối Telegram
1
Open Entitlements
Trong dashboard Dodo Payments, đi đến Entitlements và nhấp vào +, sau đó chọn Telegram Access làm integration. Dashboard yêu cầu Telegram user ID của bạn; ID này liên kết các cuộc trò chuyện mà bạn thêm bot vào với doanh nghiệp của bạn.
New Entitlement → Telegram Access. The dashboard needs your Telegram user ID before it lists chats.
Hai bước tiếp theo diễn ra trong Telegram và bạn có thể thực hiện theo thứ tự bất kỳ: lấy user ID của bạn và thêm bot vào cuộc trò chuyện với vai trò admin. Khi hoàn tất cả hai bước, quay lại dashboard để thực hiện bước cuối cùng.
2
Get Your Telegram User ID
Trong Telegram, gửi /start đến:
@dodo_payments_bot nếu bạn đang sử dụng Live Mode
@DodoPaymentsTestBot nếu bạn đang sử dụng Test Mode
Bot sẽ trả lời bằng Telegram user ID dạng số của bạn. Hãy sao chép ID này. Bạn sẽ dán ID vào dashboard ở bước cuối cùng.
3
Add the Bot to Your Chat as an Admin
Từ cùng tài khoản Telegram, mở nhóm hoặc kênh mà bạn muốn giới hạn quyền truy cập và thêm chính bot đó làm admin (@dodo_payments_bot cho chế độ live, @DodoPaymentsTestBot cho chế độ test). Bật hai quyền sau:
Ban Users: bắt buộc để xóa thành viên khi thu hồi.
Add Users: bắt buộc để mời khách hàng đã thanh toán.
Tắt tất cả các quyền admin còn lại.
Telegram → Promote to admin. Only Ban Users and Add Users need to be enabled.
4
Connect Telegram and Pick the Chat
Quay lại dashboard, dán user ID từ bước 2 vào Telegram User ID và nhấp vào Connect Telegram. Bộ chọn Chat liệt kê các nhóm và kênh mà bạn đã thêm bot vào từ tài khoản đó. Chọn cuộc trò chuyện mà bạn muốn giới hạn quyền truy cập, nhập Name cho entitlement rồi nhấp vào Create Entitlement.
Quy trình của khách hàng
Khách hàng hoàn tất checkout.
Dodo Payments tạo một grant Pending. Chưa có liên kết mời nào.
Email xác nhận thanh toán liệt kê entitlement ở trạng thái Action Required và liên kết đến Customer Portal. Trong portal, khách hàng nhấp vào Connect, gửi /start đến bot, nhập Telegram user ID của họ rồi nhấp vào Link account.
Bot gửi cho khách hàng một liên kết yêu cầu tham gia trong Telegram. Khách hàng mở liên kết và yêu cầu tham gia, sau đó bot phê duyệt yêu cầu.
Khi bị thu hồi, bot sẽ xóa khách hàng khỏi cuộc trò chuyện.
Bot chỉ phê duyệt yêu cầu tham gia từ tài khoản Telegram mà khách hàng đã liên kết. Liên kết được chuyển tiếp không cấp quyền truy cập cho bất kỳ ai khác. Không thể thay đổi tài khoản đã liên kết trên một grant hiện có.
Cấu hình bắt buộc
Field
Required
Description
chat_id
Yes
Telegram chat ID (dạng số và thường là số âm đối với nhóm và kênh). Bộ chọn chat của dashboard sẽ tự điền giá trị này cho bạn.
// client is a *dodopayments.Client, for example from// dodopayments.NewClient(option.WithEnvironmentTestMode()); ctx is a context.Context.client.Entitlements.New(ctx, dodopayments.EntitlementNewParams{ Name: dodopayments.F("Premium Signals Group"), IntegrationType: dodopayments.F(dodopayments.EntitlementIntegrationTypeTelegram), IntegrationConfig: dodopayments.F[dodopayments.IntegrationConfigUnionParam]( dodopayments.IntegrationConfigTelegramConfigParam{ ChatID: dodopayments.F("-1001234567890"), }, ),})
Webhooks
Xem các sự kiện webhook entitlement_grant.*. Grant Telegram đến Pending và vẫn ở trạng thái đó sau khi khách hàng liên kết tài khoản Telegram. Nếu khách hàng có grant đã được phân phối rời khỏi cuộc trò chuyện, Dodo Payments sẽ thu hồi grant bằng revocation_reason: platform_external.
Khắc phục sự cố
Chat doesn't appear in the picker
Thêm bot Dodo Payments vào cuộc trò chuyện với vai trò admin và bật Add Users, sử dụng tài khoản Telegram có user ID mà bạn đã nhập vào dashboard. Cuộc trò chuyện sẽ xuất hiện trong bộ chọn khi bot trở thành admin.
Customer says the invite link doesn't work
Bot chỉ phê duyệt yêu cầu tham gia từ tài khoản Telegram đã liên kết. Hãy yêu cầu khách hàng mở liên kết từ tài khoản đó.Việc thu hồi grant là không thể hoàn tác. Bạn không thể cấp lại grant đã bị thu hồi, vì vậy khách hàng cần mua mới để nhận grant mới.
Customer cancelled but is still in the chat
Bot cần quyền quản trị Ban Users để xóa thành viên. Mở cài đặt cuộc trò chuyện và xác nhận rằng cả Ban Users và Add Users đều được bật cho bot Dodo Payments.
Lần sửa đổi cuối 28 tháng 9, 2026
Trang này có hữu ích không?
⌘I
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Dodo Payments Documentation","description":"Documentation for Dodo Payments — the all-in-one payments, billing, and merchant of record platform for SaaS, AI, and digital products.","colors":{"primary":"#779812","light":"#C6FE1E","dark":"#166534"},"logo":{"light":"https://mintcdn.com/dodopayments/nM_mJfYkri-OpC5M/logo/light.svg?fit=max\u0026auto=format\u0026n=nM_mJfYkri-OpC5M\u0026q=85\u0026s=23f7a052f7ecb9d6570b7c95ee359a97","dark":"https://mintcdn.com/dodopayments/nM_mJfYkri-OpC5M/logo/dark.svg?fit=max\u0026auto=format\u0026n=nM_mJfYkri-OpC5M\u0026q=85\u0026s=cd6c20238a54526436f21c43fee51b26"},"favicon":"https://mintcdn.com/dodopayments/doYQc9oUE-WNz0cs/favicon.svg?fit=max\u0026auto=format\u0026n=doYQc9oUE-WNz0cs\u0026q=85\u0026s=271c6cc8ce7d6bf4d7f2b9cca029e004","background":{"color":{"light":"#FFFFFF","dark":"#0D0D0D"}},"navbar":{"links":[{"icon":"link","href":"https://docs.dodopayments.com/llms-full.txt","label":"llms-full.txt"},{"icon":"discord","href":"https://discord.gg/bYqAp4ayYh","label":"Community"},{"icon":"house","href":"https://app.dodopayments.com/","label":"Dashboard"}]},"footer":{"socials":{"x":"https://x.com/dodopayments","linkedin":"https://linkedin.com/company/dodopayments","website":"https://dodopayments.com","discord":"https://discord.gg/bYqAp4ayYh","github":"https://github.com/dodopayments","instagram":"https://www.instagram.com/dodo.payments","facebook":"https://www.facebook.com/profile.php?id=61565515607280"}},"seo":{"metatags":{"og:site_name":"Dodo Payments Documentation","twitter:card":"summary_large_image"},"indexing":"navigable"},"fonts":{"heading":{"family":"ApfelGrotezk","weight":400,"source":"fonts/ApfelGrotezk-Regular.woff2","format":"woff2"},"body":{"family":"Inter","weight":400,"source":"fonts/Inter-Variable.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"introduction"},{"language":"es","href":"es/introduction"},{"language":"ar","href":"ar/introduction"},{"language":"fr","href":"fr/introduction"},{"language":"de","href":"de/introduction"},{"language":"id","href":"id/introduction"},{"language":"ja","href":"ja/introduction"},{"language":"ko","href":"ko/introduction"},{"language":"pt-BR","href":"pt-BR/introduction"},{"language":"vi","href":"vi/introduction"},{"language":"cn","href":"cn/introduction"},{"language":"hi","href":"hi/introduction"},{"language":"it","href":"it/introduction"},{"language":"sv","href":"sv/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dodopayments","hasAudioNarration":false,"actualSubdomain":"dodopayments","customDomains":["docs.dodopayments.com"],"gitSource":{"type":"github","owner":"dodopayments","repo":"dodo-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af61516aad23a11c9aa58ca","clientVersion":"0.0.4128","searchFilterCounts":[{"language":"en","tag":"API Reference","count":181},{"language":"en","tag":"Docs","count":178},{"language":"ar","tag":"Docs","count":153},{"language":"cn","tag":"Docs","count":153},{"language":"de","tag":"Docs","count":153},{"language":"es","tag":"Docs","count":153},{"language":"fr","tag":"Docs","count":153},{"language":"hi","tag":"Docs","count":153},{"language":"id","tag":"Docs","count":153},{"language":"it","tag":"Docs","count":153},{"language":"ja","tag":"Docs","count":153},{"language":"ko","tag":"Docs","count":153},{"language":"pt-BR","tag":"Docs","count":153},{"language":"sv","tag":"Docs","count":153},{"language":"vi","tag":"Docs","count":153},{"language":"ar","tag":"API Reference","count":151},{"language":"cn","tag":"API Reference","count":151},{"language":"de","tag":"API Reference","count":151},{"language":"es","tag":"API Reference","count":151},{"language":"fr","tag":"API Reference","count":151},{"language":"hi","tag":"API Reference","count":151},{"language":"id","tag":"API Reference","count":151},{"language":"it","tag":"API Reference","count":151},{"language":"ja","tag":"API Reference","count":151},{"language":"ko","tag":"API Reference","count":151},{"language":"pt-BR","tag":"API Reference","count":151},{"language":"sv","tag":"API Reference","count":151},{"language":"vi","tag":"API Reference","count":151},{"language":"en","tag":"Features","count":87},{"language":"ar","tag":"Features","count":81},{"language":"cn","tag":"Features","count":81},{"language":"de","tag":"Features","count":81},{"language":"es","tag":"Features","count":81},{"language":"fr","tag":"Features","count":81},{"language":"hi","tag":"Features","count":81},{"language":"id","tag":"Features","count":81},{"language":"it","tag":"Features","count":81},{"language":"ja","tag":"Features","count":81},{"language":"ko","tag":"Features","count":81},{"language":"pt-BR","tag":"Features","count":81},{"language":"sv","tag":"Features","count":81},{"language":"vi","tag":"Features","count":81},{"language":"en","tag":"Integrate","count":75},{"language":"en","tag":"Changelog","count":66},{"language":"ar","tag":"Changelog","count":65},{"language":"cn","tag":"Changelog","count":65},{"language":"de","tag":"Changelog","count":65},{"language":"es","tag":"Changelog","count":65},{"language":"fr","tag":"Changelog","count":65},{"language":"hi","tag":"Changelog","count":65},{"language":"id","tag":"Changelog","count":65},{"language":"it","tag":"Changelog","count":65},{"language":"ja","tag":"Changelog","count":65},{"language":"ko","tag":"Changelog","count":65},{"language":"pt-BR","tag":"Changelog","count":65},{"language":"sv","tag":"Changelog","count":65},{"language":"vi","tag":"Changelog","count":65},{"language":"ar","tag":"Integrate","count":59},{"language":"cn","tag":"Integrate","count":59},{"language":"de","tag":"Integrate","count":59},{"language":"es","tag":"Integrate","count":59},{"language":"fr","tag":"Integrate","count":59},{"language":"hi","tag":"Integrate","count":59},{"language":"id","tag":"Integrate","count":59},{"language":"it","tag":"Integrate","count":59},{"language":"ja","tag":"Integrate","count":59},{"language":"ko","tag":"Integrate","count":59},{"language":"pt-BR","tag":"Integrate","count":59},{"language":"sv","tag":"Integrate","count":59},{"language":"vi","tag":"Integrate","count":59},{"language":"en","tag":"External Integrations","count":33},{"language":"ar","tag":"External Integrations","count":30},{"language":"cn","tag":"External Integrations","count":30},{"language":"de","tag":"External Integrations","count":30},{"language":"es","tag":"External Integrations","count":30},{"language":"fr","tag":"External Integrations","count":30},{"language":"hi","tag":"External Integrations","count":30},{"language":"id","tag":"External Integrations","count":30},{"language":"it","tag":"External Integrations","count":30},{"language":"ja","tag":"External Integrations","count":30},{"language":"ko","tag":"External Integrations","count":30},{"language":"pt-BR","tag":"External Integrations","count":30},{"language":"sv","tag":"External Integrations","count":30},{"language":"vi","tag":"External Integrations","count":30},{"language":"en","tag":"Webhooks","count":24},{"language":"ar","tag":"Webhooks","count":23},{"language":"cn","tag":"Webhooks","count":23},{"language":"de","tag":"Webhooks","count":23},{"language":"es","tag":"Webhooks","count":23},{"language":"fr","tag":"Webhooks","count":23},{"language":"hi","tag":"Webhooks","count":23},{"language":"id","tag":"Webhooks","count":23},{"language":"it","tag":"Webhooks","count":23},{"language":"ja","tag":"Webhooks","count":23},{"language":"ko","tag":"Webhooks","count":23},{"language":"pt-BR","tag":"Webhooks","count":23},{"language":"sv","tag":"Webhooks","count":23},{"language":"vi","tag":"Webhooks","count":23},{"language":"en","tag":"Guides","count":22},{"language":"ar","tag":"Guides","count":22},{"language":"cn","tag":"Guides","count":22},{"language":"de","tag":"Guides","count":22},{"language":"es","tag":"Guides","count":22},{"language":"fr","tag":"Guides","count":22},{"language":"hi","tag":"Guides","count":22},{"language":"id","tag":"Guides","count":22},{"language":"it","tag":"Guides","count":22},{"language":"ja","tag":"Guides","count":22},{"language":"ko","tag":"Guides","count":22},{"language":"pt-BR","tag":"Guides","count":22},{"language":"sv","tag":"Guides","count":22},{"language":"vi","tag":"Guides","count":22},{"language":"en","tag":"Entitlements","count":20},{"language":"ar","tag":"Entitlements","count":20},{"language":"cn","tag":"Entitlements","count":20},{"language":"de","tag":"Entitlements","count":20},{"language":"es","tag":"Entitlements","count":20},{"language":"fr","tag":"Entitlements","count":20},{"language":"hi","tag":"Entitlements","count":20},{"language":"id","tag":"Entitlements","count":20},{"language":"it","tag":"Entitlements","count":20},{"language":"ja","tag":"Entitlements","count":20},{"language":"ko","tag":"Entitlements","count":20},{"language":"pt-BR","tag":"Entitlements","count":20},{"language":"sv","tag":"Entitlements","count":20},{"language":"vi","tag":"Entitlements","count":20},{"language":"en","tag":"Invoices","count":17},{"language":"ar","tag":"Customers","count":16},{"language":"cn","tag":"Customers","count":16},{"language":"de","tag":"Customers","count":16},{"language":"es","tag":"Customers","count":16},{"language":"fr","tag":"Customers","count":16},{"language":"hi","tag":"Customers","count":16},{"language":"id","tag":"Customers","count":16},{"language":"it","tag":"Customers","count":16},{"language":"ja","tag":"Customers","count":16},{"language":"ko","tag":"Customers","count":16},{"language":"pt-BR","tag":"Customers","count":16},{"language":"sv","tag":"Customers","count":16},{"language":"vi","tag":"Customers","count":16}]},"assistantConfig":{"deflection":{"enabled":false,"email":"support@dodopayments.com","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"#content-area{max-width:60rem}h1,h2,h3,h4,h5,h6{letter-spacing:0.05em!important}.welcome-page .card-group{margin:3rem auto 8rem;max-width:70rem;padding-left:1.25rem;padding-right:1.25rem}.welcome-page .card-group .card{padding:1rem}.welcome-hero{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:20vh;text-align:center;margin-top:3rem;margin-bottom:2.5rem}.welcome-hero h1{font-size:2.5rem;font-weight:700;margin-bottom:1rem;line-height:1.2;color:#fff}.welcome-hero p{font-size:1.25rem;max-width:600px;margin:0 auto}.welcome-hero h1{color:rgb(41 42 37 / 1)}.dark .welcome-hero h1{color:rgb(255 255 255 / 1)}.welcome-hero p{color:rgb(83 85 79 / 1)}.dark .welcome-hero p{color:rgb(162 164 158 / 1)}"}],"page":{"pagePath":"vi/features/entitlements/telegram","slug":"/vi/features/entitlements/telegram","pageMetadata":{"title":"Quyền truy cập Telegram","sidebarTitle":"Telegram","description":"Thêm khách hàng đã thanh toán vào nhóm hoặc kênh Telegram riêng tư khi họ đăng ký hoặc mua hàng, đồng thời tự động xóa họ khi quyền truy cập kết thúc.","icon":"telegram","keywords":["Dodo Payments","Telegram","quyền truy cập","kênh riêng tư","cộng đồng"],"href":"/vi/features/entitlements/telegram"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Thêm khách hàng đã thanh toán vào nhóm hoặc kênh Telegram riêng tư khi họ đăng ký hoặc mua hàng, đồng thời tự động xóa họ khi quyền truy cập kết thúc.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,CodeGroup,Frame,Heading,Info,OptimizedImage,Step,Steps,Table,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsx(_components.p,{children:`Entitlement Telegram cho phép khách hàng đã thanh toán truy cập vào nhóm hoặc kênh Telegram riêng tư. Khách hàng liên kết tài khoản Telegram của họ trong Customer Portal, sau đó bot Telegram của Dodo Payments gửi cho họ một liên kết yêu cầu tham gia và chỉ phê duyệt yêu cầu đó cho đúng tài khoản ấy. Khi grant bị thu hồi, bot sẽ xóa khách hàng khỏi cuộc trò chuyện.`})}),`\n`,_jsx(Heading,{level:`2`,id:`nội-dung-được-cung-cấp`,children:`Nội dung được cung cấp`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Grant được tạo trong `,_jsx(_components.code,{children:`Pending`}),`. Grant vẫn ở trạng thái đó sau khi khách hàng liên kết tài khoản Telegram và bot gửi liên kết yêu cầu tham gia.`]}),`\n`,_jsxs(_components.li,{children:[`Trong Customer Portal, khách hàng nhấp vào `,_jsx(_components.strong,{children:`Kết nối`}),`, gửi `,_jsx(_components.code,{children:`/start`}),` cho bot Dodo Payments để lấy Telegram user ID, nhập ID đó rồi nhấp vào `,_jsx(_components.strong,{children:`Liên kết tài khoản`}),`.`]}),`\n`,_jsx(_components.li,{children:`Bot gửi cho khách hàng một liên kết yêu cầu tham gia trong Telegram. Khi khách hàng yêu cầu tham gia, bot chỉ phê duyệt yêu cầu cho tài khoản đã liên kết của họ.`}),`\n`,_jsx(_components.li,{children:`Khi hủy, hoàn tiền hoặc thu hồi thủ công, bot xóa khách hàng khỏi cuộc trò chuyện và cấm họ tham gia. Nếu họ mua lại, bot gỡ lệnh cấm trước khi gửi liên kết mới.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Các trường hợp sử dụng phổ biến gồm kênh alpha riêng tư, nhóm tín hiệu trả phí và các đặc quyền theo cấp độ cộng đồng.`}),`\n`,_jsx(Heading,{level:`2`,id:`kết-nối-telegram`,children:`Kết nối Telegram`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open Entitlements`,children:[_jsxs(_components.p,{children:[`Trong dashboard Dodo Payments, đi đến `,_jsx(_components.strong,{children:`Entitlements`}),` và nhấp vào `,_jsx(_components.strong,{children:`+`}),`, sau đó chọn `,_jsx(_components.strong,{children:`Telegram Access`}),` làm integration. Dashboard yêu cầu Telegram user ID của bạn; ID này liên kết các cuộc trò chuyện mà bạn thêm bot vào với doanh nghiệp của bạn.`]}),_jsx(Frame,{caption:`New Entitlement → Telegram Access. The dashboard needs your Telegram user ID before it lists chats.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/connect-prompt.png?fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=dbb8be6964b2cbfb9bbe9902944f3d5f`,alt:`New Entitlement Telegram Access form prompting for Telegram user ID and Connect Telegram button`,style:{maxHeight:`500px`,width:`auto`},\"data-og-width\":`2000`,width:`2000`,\"data-og-height\":`1131`,height:`1131`,\"data-path\":`images/entitlements/telegram/connect-prompt.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/connect-prompt.png?w=280\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=317f1df03872390dfc3fa3d6e20468f7 280w, https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/connect-prompt.png?w=560\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=819682081bfb0ed2ddfaaac3625f7854 560w, https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/connect-prompt.png?w=840\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=31cfe6bc4a83f13118bf47d76297aa69 840w, https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/connect-prompt.png?w=1100\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=77e52b55b2e7fb8f0891be846c6c5485 1100w, https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/connect-prompt.png?w=1650\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=f2c9fae4140681c0a04ee9e5c2080193 1650w, https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/connect-prompt.png?w=2500\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=13e721e4de88596bd1d873348598ea59 2500w`})}),_jsx(Tip,{children:_jsx(_components.p,{children:`Hai bước tiếp theo diễn ra trong Telegram và bạn có thể thực hiện theo thứ tự bất kỳ: lấy user ID của bạn và thêm bot vào cuộc trò chuyện với vai trò admin. Khi hoàn tất cả hai bước, quay lại dashboard để thực hiện bước cuối cùng.`})})]}),_jsxs(Step,{title:`Get Your Telegram User ID`,children:[_jsxs(_components.p,{children:[`Trong Telegram, gửi `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`/start`})}),` đến:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`@dodo_payments_bot`})}),` nếu bạn đang sử dụng `,_jsx(_components.strong,{children:`Live Mode`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`@DodoPaymentsTestBot`})}),` nếu bạn đang sử dụng `,_jsx(_components.strong,{children:`Test Mode`})]}),`\n`]}),_jsx(_components.p,{children:`Bot sẽ trả lời bằng Telegram user ID dạng số của bạn. Hãy sao chép ID này. Bạn sẽ dán ID vào dashboard ở bước cuối cùng.`})]}),_jsxs(Step,{title:`Add the Bot to Your Chat as an Admin`,children:[_jsxs(_components.p,{children:[`Từ cùng tài khoản Telegram, mở nhóm hoặc kênh mà bạn muốn giới hạn quyền truy cập và `,_jsx(_components.strong,{children:`thêm chính bot đó làm admin`}),` (`,_jsx(_components.code,{children:`@dodo_payments_bot`}),` cho chế độ live, `,_jsx(_components.code,{children:`@DodoPaymentsTestBot`}),` cho chế độ test). Bật hai quyền sau:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Ban Users`}),`: bắt buộc để xóa thành viên khi thu hồi.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Add Users`}),`: bắt buộc để mời khách hàng đã thanh toán.`]}),`\n`]}),_jsx(_components.p,{children:`Tắt tất cả các quyền admin còn lại.`}),_jsx(Frame,{caption:`Telegram → Promote to admin. Only Ban Users and Add Users need to be enabled.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/promote-bot-admin.png?fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=bf927f2ee98616b671257d246de06cd3`,alt:`Telegram Promote to admin screen showing Ban Users and Add Users enabled for the Dodo Payments bot`,style:{maxHeight:`500px`,width:`auto`},\"data-og-width\":`734`,width:`734`,\"data-og-height\":`1626`,height:`1626`,\"data-path\":`images/entitlements/telegram/promote-bot-admin.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/promote-bot-admin.png?w=280\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=19a2f1f1a4ef5834556c71a9db69a9b1 280w, https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/promote-bot-admin.png?w=560\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=9672c40ac89058300839de704a75c8ab 560w, https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/promote-bot-admin.png?w=840\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=9b9d4371e65ad9879d73f7a25adb068b 840w, https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/promote-bot-admin.png?w=1100\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=d84504b000b97efb22007e05e2ac3f22 1100w, https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/promote-bot-admin.png?w=1650\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=aaf6f80f17981d4e966c517498bbc47e 1650w, https://mintcdn.com/dodopayments/do-W-dMDGVB_xzr_/images/entitlements/telegram/promote-bot-admin.png?w=2500\u0026fit=max\u0026auto=format\u0026n=do-W-dMDGVB_xzr_\u0026q=85\u0026s=2e1aa1b3a5e544800bdf63924cabb7fa 2500w`})})]}),_jsx(Step,{title:`Connect Telegram and Pick the Chat`,children:_jsxs(_components.p,{children:[`Quay lại dashboard, dán user ID từ bước 2 vào `,_jsx(_components.strong,{children:`Telegram User ID`}),` và nhấp vào `,_jsx(_components.strong,{children:`Connect Telegram`}),`. Bộ chọn `,_jsx(_components.strong,{children:`Chat`}),` liệt kê các nhóm và kênh mà bạn đã thêm bot vào từ tài khoản đó. Chọn cuộc trò chuyện mà bạn muốn giới hạn quyền truy cập, nhập `,_jsx(_components.strong,{children:`Name`}),` cho entitlement rồi nhấp vào `,_jsx(_components.strong,{children:`Create Entitlement`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`quy-trình-của-khách-hàng`,children:`Quy trình của khách hàng`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Khách hàng hoàn tất checkout.`}),`\n`,_jsxs(_components.li,{children:[`Dodo Payments tạo một grant `,_jsx(_components.code,{children:`Pending`}),`. Chưa có liên kết mời nào.`]}),`\n`,_jsxs(_components.li,{children:[`Email xác nhận thanh toán liệt kê entitlement ở trạng thái `,_jsx(_components.strong,{children:`Action Required`}),` và liên kết đến Customer Portal. Trong portal, khách hàng nhấp vào `,_jsx(_components.strong,{children:`Connect`}),`, gửi `,_jsx(_components.code,{children:`/start`}),` đến bot, nhập Telegram user ID của họ rồi nhấp vào `,_jsx(_components.strong,{children:`Link account`}),`.`]}),`\n`,_jsx(_components.li,{children:`Bot gửi cho khách hàng một liên kết yêu cầu tham gia trong Telegram. Khách hàng mở liên kết và yêu cầu tham gia, sau đó bot phê duyệt yêu cầu.`}),`\n`,_jsx(_components.li,{children:`Khi bị thu hồi, bot sẽ xóa khách hàng khỏi cuộc trò chuyện.`}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Bot chỉ phê duyệt yêu cầu tham gia từ tài khoản Telegram mà khách hàng đã liên kết. Liên kết được chuyển tiếp không cấp quyền truy cập cho bất kỳ ai khác. Không thể thay đổi tài khoản đã liên kết trên một grant hiện có.`})}),`\n`,_jsx(Heading,{level:`2`,id:`cấu-hình-bắt-buộc`,children:`Cấu hình bắt buộc`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`chat_id`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Telegram chat ID (dạng số và thường là số âm đối với nhóm và kênh). Bộ chọn chat của dashboard sẽ tự điền giá trị này cho bạn.`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`tạo-qua-api`,children:`Tạo qua API`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`TypeScript`,expandable:`true`,numberOfLines:`14`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DodoPayments `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'dodopayments'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DodoPayments({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` bearerToken: process.env[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'DODO_PAYMENTS_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` environment: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'test_mode'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` entitlement = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.entitlements.create({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` name: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Premium Signals Group'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` integration_type: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'telegram'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` integration_config: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` chat_id: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'-1001234567890'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,expandable:`true`,numberOfLines:`13`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` dodopayments `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DodoPayments`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client = DodoPayments(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` bearer_token=os.environ.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DODO_PAYMENTS_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` environment=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"test_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`entitlement = client.entitlements.create(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` name=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Premium Signals Group\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` integration_type=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"telegram\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` integration_config={`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"chat_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"-1001234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Go`,expandable:`true`,numberOfLines:`11`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// client is a *dodopayments.Client, for example from`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// dodopayments.NewClient(option.WithEnvironmentTestMode()); ctx is a context.Context.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client.Entitlements.New(ctx, dodopayments.EntitlementNewParams{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Name: dodopayments.F(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Premium Signals Group\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` IntegrationType: dodopayments.F(dodopayments.EntitlementIntegrationTypeTelegram),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` IntegrationConfig: dodopayments.F[dodopayments.IntegrationConfigUnionParam](`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` dodopayments.IntegrationConfigTelegramConfigParam{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ChatID: dodopayments.F(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"-1001234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`webhooks`,children:`Webhooks`}),`\n`,_jsxs(_components.p,{children:[`Xem `,_jsxs(_components.a,{href:`/developer-resources/webhooks/intents/entitlement-grant`,children:[`các sự kiện webhook `,_jsx(_components.code,{children:`entitlement_grant.*`})]}),`. Grant Telegram đến `,_jsx(_components.code,{children:`Pending`}),` và vẫn ở trạng thái đó sau khi khách hàng liên kết tài khoản Telegram. Nếu khách hàng có grant đã được phân phối rời khỏi cuộc trò chuyện, Dodo Payments sẽ thu hồi grant bằng `,_jsx(_components.code,{children:`revocation_reason: platform_external`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`khắc-phục-sự-cố`,children:`Khắc phục sự cố`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Chat doesn't appear in the picker`,id:`chat-doesnt-appear-in-the-picker`,children:_jsxs(_components.p,{children:[`Thêm bot Dodo Payments vào cuộc trò chuyện `,_jsx(_components.strong,{children:`với vai trò admin`}),` và bật `,_jsx(_components.strong,{children:`Add Users`}),`, sử dụng tài khoản Telegram có user ID mà bạn đã nhập vào dashboard. Cuộc trò chuyện sẽ xuất hiện trong bộ chọn khi bot trở thành admin.`]})}),_jsxs(Accordion,{title:`Customer says the invite link doesn't work`,id:`customer-says-the-invite-link-doesnt-work`,children:[_jsx(_components.p,{children:`Bot chỉ phê duyệt yêu cầu tham gia từ tài khoản Telegram đã liên kết. Hãy yêu cầu khách hàng mở liên kết từ tài khoản đó.`}),_jsx(_components.p,{children:`Việc thu hồi grant là không thể hoàn tác. Bạn không thể cấp lại grant đã bị thu hồi, vì vậy khách hàng cần mua mới để nhận grant mới.`})]}),_jsx(Accordion,{title:`Customer cancelled but is still in the chat`,id:`customer-cancelled-but-is-still-in-the-chat`,children:_jsxs(_components.p,{children:[`Bot cần quyền quản trị `,_jsx(_components.strong,{children:`Ban Users`}),` để xóa thành viên. Mở cài đặt cuộc trò chuyện và xác nhận rằng cả `,_jsx(_components.strong,{children:`Ban Users`}),` và `,_jsx(_components.strong,{children:`Add Users`}),` đều được bật cho bot Dodo Payments.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Quyền truy cập Telegram","sidebarTitle":"Telegram","description":"Thêm khách hàng đã thanh toán vào nhóm hoặc kênh Telegram riêng tư khi họ đăng ký hoặc mua hàng, đồng thời tự động xóa họ khi quyền truy cập kết thúc.","icon":"telegram","keywords":["Dodo Payments","Telegram","quyền truy cập","kênh riêng tư","cộng đồng"],"href":"/vi/features/entitlements/telegram"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Nội dung được cung cấp","slug":"nội-dung-được-cung-cấp","depth":2,"children":[]},{"title":"Kết nối Telegram","slug":"kết-nối-telegram","depth":2,"children":[]},{"title":"Quy trình của khách hàng","slug":"quy-trình-của-khách-hàng","depth":2,"children":[]},{"title":"Cấu hình bắt buộc","slug":"cấu-hình-bắt-buộc","depth":2,"children":[]},{"title":"Tạo qua API","slug":"tạo-qua-api","depth":2,"children":[]},{"title":"Webhooks","slug":"webhooks","depth":2,"children":[]},{"title":"Khắc phục sự cố","slug":"khắc-phục-sự-cố","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dodopayments/0ee82a08f7b65bcb/seo.js","/_mintlify/custom/dodopayments/6f88c9bbee313616/assistant-loader.js"],"subdomain":"dodopayments","siteName":"Dodo Payments Documentation","title":"Quyền truy cập Telegram - Dodo Payments Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/features/entitlements/telegram","matchLevel":1},"es":{"href":"/es/features/entitlements/telegram","matchLevel":1},"ar":{"href":"/ar/features/entitlements/telegram","matchLevel":1},"fr":{"href":"/fr/features/entitlements/telegram","matchLevel":1},"de":{"href":"/de/features/entitlements/telegram","matchLevel":1},"id":{"href":"/id/features/entitlements/telegram","matchLevel":1},"ja":{"href":"/ja/features/entitlements/telegram","matchLevel":1},"ko":{"href":"/ko/features/entitlements/telegram","matchLevel":1},"pt-BR":{"href":"/pt-BR/features/entitlements/telegram","matchLevel":1},"vi":{"href":"/vi/features/entitlements/telegram","matchLevel":0},"cn":{"href":"/cn/features/entitlements/telegram","matchLevel":1},"hi":{"href":"/hi/features/entitlements/telegram","matchLevel":1},"it":{"href":"/it/features/entitlements/telegram","matchLevel":1},"sv":{"href":"/sv/features/entitlements/telegram","matchLevel":1}}},"lastModified":"2026-09-28T05:12:06.113Z","gitLastModified":"2026-09-28T05:10:45.000Z","originalFileLocation":"vi/features/entitlements/telegram.mdx","locale":"vi"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Thêm khách hàng đã thanh toán vào nhóm hoặc kênh Telegram riêng tư khi họ đăng ký hoặc mua hàng, đồng thời tự động xóa họ khi quyền truy cập kết thúc.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dodo Payments Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Quyền truy cập Telegram - Dodo Payments Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Thêm khách hàng đã thanh toán vào nhóm hoặc kênh Telegram riêng tư khi họ đăng ký hoặc mua hàng, đồng thời tự động xóa họ khi quyền truy cập kết thúc.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dodo Payments Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dodopayments.com/vi/features/entitlements/telegram\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dodopayments.mintlify.site/_mintlify/api/og/v2?division=Entitlements\u0026amp;title=Quy%E1%BB%81n+truy+c%E1%BA%ADp+Telegram\u0026amp;description=Th%C3%AAm+kh%C3%A1ch+h%C3%A0ng+%C4%91%C3%A3+thanh+to%C3%A1n+v%C3%A0o+nh%C3%B3m+ho%E1%BA%B7c+k%C3%AAnh+Telegram+ri%C3%AAng+t%C6%B0+khi+h%E1%BB%8D+%C4%91%C4%83ng+k%C3%BD+ho%E1%BA%B7c+mua+h%C3%A0ng%2C+%C4%91%E1%BB%93ng+th%E1%BB%9Di+t%E1%BB%B1+%C4%91%E1%BB%99ng+x%C3%B3a+h%E1%BB%8D+khi+quy%E1%BB%81n+truy+c%E1%BA%ADp+k%E1%BA%BFt+th%C3%BAc.\u0026amp;theme=fcc3a546490e883f7462a320\u0026amp;signature=afde5942a7c1e8db1e1faf5b4661abcaa1abe39b7554074667dc28702cec5dde\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Quyền truy cập Telegram - Dodo Payments Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Thêm khách hàng đã thanh toán vào nhóm hoặc kênh Telegram riêng tư khi họ đăng ký hoặc mua hàng, đồng thời tự động xóa họ khi quyền truy cập kết thúc.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dodopayments.mintlify.site/_mintlify/api/og/v2?division=Entitlements\u0026amp;title=Quy%E1%BB%81n+truy+c%E1%BA%ADp+Telegram\u0026amp;description=Th%C3%AAm+kh%C3%A1ch+h%C3%A0ng+%C4%91%C3%A3+thanh+to%C3%A1n+v%C3%A0o+nh%C3%B3m+ho%E1%BA%B7c+k%C3%AAnh+Telegram+ri%C3%AAng+t%C6%B0+khi+h%E1%BB%8D+%C4%91%C4%83ng+k%C3%BD+ho%E1%BA%B7c+mua+h%C3%A0ng%2C+%C4%91%E1%BB%93ng+th%E1%BB%9Di+t%E1%BB%B1+%C4%91%E1%BB%99ng+x%C3%B3a+h%E1%BB%8D+khi+quy%E1%BB%81n+truy+c%E1%BA%ADp+k%E1%BA%BFt+th%C3%BAc.\u0026amp;theme=fcc3a546490e883f7462a320\u0026amp;signature=afde5942a7c1e8db1e1faf5b4661abcaa1abe39b7554074667dc28702cec5dde\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dodo Payments Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#779812\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dodopayments.com/vi/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/vi/features/entitlements/telegram.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://docs.dodopayments.com/vi/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.dodopayments.com/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.dodopayments.com/es/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://docs.dodopayments.com/ar/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.dodopayments.com/fr/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.dodopayments.com/de/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"id\" href=\"https://docs.dodopayments.com/id/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.dodopayments.com/ja/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.dodopayments.com/ko/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.dodopayments.com/pt-BR/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.dodopayments.com/cn/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://docs.dodopayments.com/hi/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.dodopayments.com/it/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"sv\" href=\"https://docs.dodopayments.com/sv/features/entitlements/telegram\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.dodopayments.com/features/entitlements/telegram\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dodopayments.com/#organization\",\"name\":\"Dodo Payments Documentation\",\"url\":\"https://docs.dodopayments.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dodopayments/nM_mJfYkri-OpC5M/logo/light.svg?fit=max\u0026auto=format\u0026n=nM_mJfYkri-OpC5M\u0026q=85\u0026s=23f7a052f7ecb9d6570b7c95ee359a97\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dodopayments.com#website\",\"name\":\"Dodo Payments Documentation\",\"url\":\"https://docs.dodopayments.com\",\"publisher\":{\"@id\":\"https://docs.dodopayments.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dodopayments.com/vi/features/entitlements/telegram#webpage\",\"url\":\"https://docs.dodopayments.com/vi/features/entitlements/telegram\",\"name\":\"Quyền truy cập Telegram\",\"description\":\"Thêm khách hàng đã thanh toán vào nhóm hoặc kênh Telegram riêng tư khi họ đăng ký hoặc mua hàng, đồng thời tự động xóa họ khi quyền truy cập kết thúc.\",\"dateModified\":\"2026-09-28T05:10:45.000Z\",\"isPartOf\":{\"@id\":\"https://docs.dodopayments.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dodopayments.com/vi/features/entitlements/telegram#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dodopayments.com/vi/features/entitlements/telegram#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Features\",\"item\":\"https://docs.dodopayments.com/vi/features/products\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Entitlements\",\"item\":\"https://docs.dodopayments.com/vi/features/entitlements/introduction\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Quyền truy cập Telegram\",\"item\":\"https://docs.dodopayments.com/vi/features/entitlements/telegram\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.dodopayments.com/vi/features/entitlements/telegram#article\",\"headline\":\"Quyền truy cập Telegram\",\"name\":\"Quyền truy cập Telegram\",\"description\":\"Thêm khách hàng đã thanh toán vào nhóm hoặc kênh Telegram riêng tư khi họ đăng ký hoặc mua hàng, đồng thời tự động xóa họ khi quyền truy cập kết thúc.\",\"url\":\"https://docs.dodopayments.com/vi/features/entitlements/telegram\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dodopayments.com/vi/features/entitlements/telegram#webpage\"},\"dateModified\":\"2026-09-28T05:10:45.000Z\",\"keywords\":\"Dodo Payments, Telegram, quyền truy cập, kênh riêng tư, cộng đồng\",\"publisher\":{\"@id\":\"https://docs.dodopayments.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dodopayments.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dodo Payments Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Dodo Payments Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/vi/features/entitlements/telegram.md","siteName":"Dodo Payments Documentation","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/features/entitlements/telegram"}]},{"language":"es","pages":[{"title":"es","href":"/es/features/entitlements/telegram"}]},{"language":"ar","pages":[{"title":"ar","href":"/ar/features/entitlements/telegram"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/features/entitlements/telegram"}]},{"language":"de","pages":[{"title":"de","href":"/de/features/entitlements/telegram"}]},{"language":"id","pages":[{"title":"id","href":"/id/features/entitlements/telegram"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/entitlements/telegram"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/features/entitlements/telegram"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/features/entitlements/telegram"}]},{"language":"vi","tabs":[{"tab":"Docs","icon":"book","groups":[{"group":"Getting Started","pages":[{"title":"Welcome to Dodo Payments","sidebarTitle":"Introduction","icon":"rocket","href":"/vi/introduction"},{"title":"Xây dựng với AI Coding Agents","sidebarTitle":"AI Coding Agents","icon":"robot","href":"/vi/developer-resources/build-with-ai-coding-agents"},{"title":"Di chuyển sang Dodo Payments","icon":"arrow-right-arrow-left","href":"/vi/migrate-to-dodo"},{"title":"Xác minh tài khoản","icon":"id-card","href":"/vi/miscellaneous/verification-process"}]},{"group":"Features","pages":[{"sidebarTitle":"Sản phẩm","title":"Sản phẩm","icon":"box","href":"/vi/features/products"},{"sidebarTitle":"Product Collections","title":"Product Collections","icon":"layer-group","href":"/vi/features/product-collections"},{"sidebarTitle":"Thanh toán một lần","title":"Thanh toán một lần","icon":"credit-card","href":"/vi/features/one-time-payment-products"},{"group":"Subscriptions","icon":"infinity","pages":[{"sidebarTitle":"Subscriptions","title":"Subscriptions","icon":"repeat","href":"/vi/features/subscription"},{"sidebarTitle":"Add-ons","title":"Add-ons for Subscriptions","icon":"puzzle","href":"/vi/features/addons"},{"title":"On-Demand Subscriptions","icon":"bolt","href":"/vi/developer-resources/ondemand-subscriptions"}]},{"group":"Usage Based Billing","icon":"arrow-trend-up","pages":[{"sidebarTitle":"Giới thiệu","title":"Thanh toán dựa trên mức sử dụng","icon":"box","href":"/vi/features/usage-based-billing/introduction"},{"sidebarTitle":"Công tơ","title":"Công tơ","icon":"sliders","href":"/vi/features/usage-based-billing/meters"},{"sidebarTitle":"Tiếp Nhận Sự Kiện","title":"Tiếp Nhận Sự Kiện","icon":"bolt","href":"/vi/features/usage-based-billing/event-ingestion"},{"group":"Ingestion Blueprints","icon":"copy","pages":[{"sidebarTitle":"Giới thiệu","title":"Mô hình thu thập dữ liệu","icon":"box","href":"/vi/features/usage-based-billing/ingestion-blueprints"},{"title":"LLM Blueprint","icon":"brain-circuit","href":"/vi/developer-resources/ingestion-blueprints/llm"},{"title":"API Gateway Blueprint","icon":"cloud","href":"/vi/developer-resources/ingestion-blueprints/api-gateway"},{"title":"Kế Hoạch Lưu Trữ Đối Tượng","icon":"box-archive","href":"/vi/developer-resources/ingestion-blueprints/object-storage"},{"title":"Stream Blueprint","icon":"tower-broadcast","href":"/vi/developer-resources/ingestion-blueprints/stream"},{"title":"Mẫu Thời Gian","icon":"clock","href":"/vi/developer-resources/ingestion-blueprints/time-range"}]}]},{"sidebarTitle":"Credit-Based Billing","title":"Credit-Based Billing","icon":"coins","tag":"NEW","href":"/vi/features/credit-based-billing"},{"sidebarTitle":"Thanh Toán Theo Số Ghế","title":"Thanh Toán Theo Số Ghế","icon":"users","href":"/vi/features/seat-based-billing"},{"sidebarTitle":"Thanh Toán Lai","title":"Mô Hình Thanh Toán Lai","icon":"layer-group","href":"/vi/features/hybrid-billing"},{"title":"Upsells \u0026 Downsells","icon":"arrow-up-right-dots","href":"/vi/features/upsells-and-downsells"},{"group":"Customers","icon":"user-group","pages":[{"title":"Customer Management","icon":"user-group","href":"/vi/features/customers"},{"sidebarTitle":"Cổng Thông Tin Khách Hàng","title":"Cổng Thông Tin Khách Hàng","icon":"id-card","href":"/vi/features/customer-portal"},{"title":"Customer Wallets","icon":"wallet","tag":"NEW","href":"/vi/features/customer-wallet"},{"sidebarTitle":"Email đã gửi","title":"Nhật ký email khách hàng","icon":"envelope","tag":"NEW","href":"/vi/features/email-logs"},{"sidebarTitle":"Danh sách chặn khách hàng","title":"Danh sách chặn khách hàng","icon":"user-slash","tag":"NEW","href":"/vi/features/customer-blocklist"}]},{"sidebarTitle":"Giảm giá","title":"Giảm giá","icon":"percent","href":"/vi/features/discount-codes"},{"group":"Recovery","icon":"rotate","tag":"NEW","pages":[{"sidebarTitle":"Tổng quan","title":"Khôi phục Doanh thu","icon":"rotate","href":"/vi/features/recovery/overview"},{"sidebarTitle":"Khôi Phục Giỏ Hàng Bỏ Rơi","title":"Khôi Phục Giỏ Hàng Bỏ Rơi","icon":"cart-shopping","href":"/vi/features/recovery/abandoned-cart-recovery"},{"sidebarTitle":"Thu hồi Đăng ký","title":"Thu hồi Đăng ký","icon":"repeat","href":"/vi/features/recovery/subscription-dunning"},{"sidebarTitle":"Quá trình Lặp lại Thanh toán Đăng ký","title":"Quá trình Lặp lại Thanh toán Đăng ký","icon":"arrow-rotate-right","href":"/vi/features/recovery/payment-retries"},{"sidebarTitle":"Thử lại thủ công","title":"Thử lại thanh toán thủ công","icon":"hand-pointer","tag":"NEW","href":"/vi/features/recovery/manual-retry"}]},{"group":"Transactions","icon":"credit-card","pages":[{"title":"Thanh toán","icon":"money-bill-transfer","href":"/vi/features/transactions/payments"},{"title":"Hoàn tiền","icon":"rotate-left","href":"/vi/features/transactions/refunds"},{"title":"Disputes","icon":"circle-exclamation","href":"/vi/features/transactions/disputes"}]},{"group":"Entitlements","icon":"gift","tag":"NEW","pages":[{"title":"Giới Thiệu","sidebarTitle":"Giới Thiệu","icon":"box-archive","href":"/vi/features/entitlements/introduction"},{"title":"License Keys","icon":"key","href":"/vi/features/license-keys"},{"title":"Digital Product Delivery","sidebarTitle":"Digital Products","icon":"download","href":"/vi/features/digital-product-delivery"},{"title":"Quyền cấp Feature Flag","sidebarTitle":"Feature Flags","icon":"flag","tag":"NEW","href":"/vi/features/entitlements/feature-flags"},{"title":"Quyền lợi trên Discord","sidebarTitle":"Discord","icon":"discord","href":"/vi/features/entitlements/discord"},{"title":"Quyền lợi GitHub","sidebarTitle":"GitHub","description":"Cấp quyền cộng tác viên cho khách hàng đối với repository GitHub riêng tư ở cấp quyền bạn chọn và tự động thu hồi quyền khi hủy.","icon":"github","href":"/vi/features/entitlements/github"},{"title":"Quyền truy cập Telegram","sidebarTitle":"Telegram","icon":"telegram","href":"/vi/features/entitlements/telegram"},{"title":"Framer Entitlement","sidebarTitle":"Framer","description":"Cung cấp cho khách hàng đã thanh toán liên kết remix của template Framer, để họ có thể remix template đó vào tài khoản Framer của riêng mình sau khi mua.","icon":"puzzle-piece","href":"/vi/features/entitlements/framer"},{"title":"Quyền hạn Notion","sidebarTitle":"Notion","icon":"book","href":"/vi/features/entitlements/notion"}]},{"group":"Payouts and Balances","icon":"wallet","pages":[{"title":"Quy trình Thanh toán","icon":"money-bill","href":"/vi/features/payouts/payout-structure"},{"title":"Số dư","icon":"file-invoice-dollar","href":"/vi/features/account-summary-payout-wallet"}]},{"group":"Account Management","icon":"user","pages":[{"sidebarTitle":"Lưu trữ doanh nghiệp","title":"Lưu trữ doanh nghiệp","icon":"box-archive","tag":"NEW","href":"/vi/features/archive-business"},{"title":"Cài đặt Đa Thương Hiệu","icon":"building-columns","href":"/vi/features/multi-brands"},{"title":"Quản lý Hóa Đơn","icon":"file-invoice-dollar","href":"/vi/features/invoice-generation"},{"title":"Thành viên trong nhóm","icon":"user-gear","href":"/vi/features/team"},{"title":"Tùy chọn liên lạc","sidebarTitle":"Tùy chọn liên lạc","icon":"bell","tag":"NEW","href":"/vi/features/communication-preferences"},{"title":"Tài Khoản Của Tôi","icon":"user-gear","href":"/vi/miscellaneous/accounts"}]},{"group":"Pricing","icon":"dollar-sign","pages":[{"sidebarTitle":"Giá Bao Gồm Thuế","title":"Giá Bao Gồm Thuế","icon":"file-invoice","href":"/vi/features/tax-inclusive-pricing"},{"sidebarTitle":"Trả Theo Ý Muốn","title":"Giá Trả Theo Ý Muốn","icon":"dollar-sign","href":"/vi/features/pay-what-you-want"},{"title":"Thanh Toán B2B","icon":"money-bills","href":"/vi/features/b2b-payments"},{"title":"Định Giá Địa Phương","sidebarTitle":"Định Giá Địa Phương","icon":"earth-americas","href":"/vi/features/localized-pricing"},{"sidebarTitle":"Sức mua tương đương","title":"Purchasing Power Parity","tag":"NEW","icon":"money-bill-trend-up","href":"/vi/features/purchasing-power-parity"},{"sidebarTitle":"Charm Pricing","title":"Charm Pricing","tag":"NEW","icon":"tag","href":"/vi/features/charm-pricing"}]},{"sidebarTitle":"Thanh toán","title":"Tính năng Thanh toán","icon":"cart-shopping","href":"/vi/features/checkout"},{"sidebarTitle":"Thiết kế","title":"Tùy chỉnh Thiết kế \u0026 Chủ đề","icon":"palette","tag":"NEW","href":"/vi/features/design"},{"group":"Payment Methods","icon":"money-bill-wave","pages":[{"title":"Payment Methods","sidebarTitle":"Overview","icon":"layer-group","href":"/vi/features/payment-methods"},{"title":"Thẻ tín dụng \u0026 thẻ ghi nợ","sidebarTitle":"Thẻ","icon":"credit-card","href":"/vi/features/payment-methods/cards"},{"title":"Ví điện tử","sidebarTitle":"Ví điện tử","icon":"wallet","href":"/vi/features/payment-methods/digital-wallets"},{"title":"Mua Trước Trả Sau (BNPL)","sidebarTitle":"BNPL","icon":"calendar-days","href":"/vi/features/payment-methods/bnpl"},{"title":"ACH Direct Debit","sidebarTitle":"ACH Direct Debit","icon":"building-columns","href":"/vi/features/payment-methods/ach"},{"title":"Phương thức thanh toán tại India","sidebarTitle":"India","icon":"indian-rupee-sign","href":"/vi/features/payment-methods/india"},{"title":"Phương thức thanh toán tại châu Âu","sidebarTitle":"Châu Âu","icon":"euro-sign","href":"/vi/features/payment-methods/europe"},{"title":"Phương Thức Thanh Toán Hàn Quốc","sidebarTitle":"Hàn Quốc","icon":"won-sign","href":"/vi/features/payment-methods/south-korea"},{"title":"Phương thức thanh toán tại Châu Á - Thái Bình Dương","sidebarTitle":"Châu Á - Thái Bình Dương","icon":"earth-asia","href":"/vi/features/payment-methods/asia-pacific"},{"title":"Pix","sidebarTitle":"Pix","icon":"brazilian-real-sign","href":"/vi/features/payment-methods/pix"},{"title":"Stablecoins","sidebarTitle":"Stablecoins","icon":"dollar-sign","href":"/vi/features/payment-methods/stablecoins"},{"title":"WeChat Pay","sidebarTitle":"WeChat Pay","icon":"comment-dollar","href":"/vi/features/payment-methods/wechat"}]},{"title":"Phân tích của bên thứ ba","sidebarTitle":"Phân tích của bên thứ ba","icon":"chart-line","tag":"NEW","href":"/vi/features/analytics"},{"sidebarTitle":"Tiền Tệ Thích Ứng","title":"Tiền Tệ Thích Ứng","icon":"money-bill-transfer","href":"/vi/features/adaptive-currency"},{"group":"BYOP","icon":"shuffle","tag":"BETA","pages":[{"title":"Mang Theo Bộ Xử Lý Của Bạn (BYOP)","sidebarTitle":"Tổng Quan","tag":"BETA","icon":"boxes-stacked","href":"/vi/features/byop"},{"title":"Stripe - Kết nối \u0026 Raw Card API Access","sidebarTitle":"Stripe","icon":"stripe","href":"/vi/features/byop/stripe"},{"title":"Adyen - Truy cập API Kết nối \u0026 Raw Card","sidebarTitle":"Adyen","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/adyen.svg","href":"/vi/features/byop/adyen"}]},{"title":"Cửa hàng trực tuyến","icon":"store","href":"/vi/features/storefront"},{"title":"Đối tác","icon":"users-line","href":"/vi/features/affiliates"},{"title":"Moderation API","icon":"shield-check","tag":"NEW","href":"/vi/features/moderation"},{"title":"Bán hàng hóa kỹ thuật số trên iOS","icon":"mobile","href":"/vi/features/appstore-digital-goods"},{"title":"Phân tích Bảng điều khiển","sidebarTitle":"Phân tích Bảng điều khiển","icon":"chart-line","href":"/vi/features/analytics-and-reporting"},{"title":"Báo cáo","sidebarTitle":"Báo cáo","icon":"file-invoice","href":"/vi/features/reports"}]},{"group":"Integrate","pages":[{"group":"SDKs","icon":"box-open","pages":[{"sidebarTitle":"Tổng quan","title":"SDK chính thức","icon":"box","href":"/vi/developer-resources/dodo-payments-sdks"},{"title":"TypeScript","icon":"js","href":"/vi/developer-resources/sdks/typescript"},{"title":"Python","icon":"python","href":"/vi/developer-resources/sdks/python"},{"title":"Go","icon":"golang","href":"/vi/developer-resources/sdks/go"},{"title":"Ruby","icon":"gem","href":"/vi/developer-resources/sdks/ruby"},{"title":"Java","icon":"java","href":"/vi/developer-resources/sdks/java"},{"title":"Kotlin","icon":"k","href":"/vi/developer-resources/sdks/kotlin"},{"title":"PHP","icon":"php","href":"/vi/developer-resources/sdks/php"},{"title":"C#","icon":"c","href":"/vi/developer-resources/sdks/csharp"},{"title":"Rust","icon":"rust","href":"/vi/developer-resources/sdks/rust"}]},{"group":"Mobile Checkout SDKs","icon":"mobile","pages":[{"title":"Mobile Integration Guide","sidebarTitle":"Integration Guide","icon":"mobile","href":"/vi/developer-resources/mobile-integration"},{"title":"Android","sidebarTitle":"Android","tag":"NEW","icon":"android","href":"/vi/developer-resources/sdks/android"},{"title":"iOS","sidebarTitle":"iOS","tag":"NEW","icon":"apple","href":"/vi/developer-resources/sdks/ios"},{"title":"React Native","sidebarTitle":"React Native","tag":"NEW","icon":"react","href":"/vi/developer-resources/sdks/react-native"},{"title":"Flutter","sidebarTitle":"Flutter","tag":"NEW","icon":"layer-group","href":"/vi/developer-resources/sdks/flutter"}]},{"group":"Framework Adaptors","icon":"frame","pages":[{"sidebarTitle":"Tổng quan","title":"Tổng quan về các bộ chuyển đổi Framework","icon":"box","href":"/vi/developer-resources/framework-adaptors"},{"title":"Next.js Adaptor","icon":"code-merge","href":"/vi/developer-resources/nextjs-adaptor"},{"title":"Adaptor Better Auth","icon":"code-merge","href":"/vi/developer-resources/better-auth-adaptor"},{"title":"Thành phần Convex","icon":"code-merge","href":"/vi/developer-resources/convex-component"},{"title":"Bộ chuyển đổi TanStack","icon":"code-merge","href":"/vi/developer-resources/tanstack-adaptor"},{"title":"Bộ chuyển đổi Nuxt","icon":"code-merge","href":"/vi/developer-resources/nuxt-adaptor"},{"title":"Express Adaptor","icon":"code-merge","href":"/vi/developer-resources/express-adaptor"},{"title":"Astro Adaptor","icon":"code-merge","href":"/vi/developer-resources/astro-adaptor"},{"title":"SvelteKit Adaptor","icon":"code-merge","href":"/vi/developer-resources/sveltekit-adaptor"},{"title":"Hono Adaptor","icon":"code-merge","href":"/vi/developer-resources/hono-adaptor"},{"title":"Bộ điều hợp Remix","icon":"code-merge","href":"/vi/developer-resources/remix-adaptor"},{"title":"Bộ chuyển đổi Fastify","icon":"code-merge","href":"/vi/developer-resources/fastify-adaptor"},{"title":"Bun Adaptor","icon":"code-merge","href":"/vi/developer-resources/bun-adaptor"}]},{"group":"Webhooks","icon":"webhook","pages":[{"sidebarTitle":"Overview","title":"Webhooks","icon":"webhook","href":"/vi/developer-resources/webhooks"},{"title":"Hướng dẫn về Webhook Events","icon":"bell","href":"/vi/developer-resources/webhooks/intents/webhook-events-guide"},{"group":"Webhook Payloads","icon":"code","pages":[{"title":"Thanh toán","icon":"credit-card","href":"/vi/developer-resources/webhooks/intents/payment"},{"sidebarTitle":"Gói đăng ký","title":"Webhook của gói đăng ký","icon":"repeat","href":"/vi/developer-resources/webhooks/intents/subscription"},{"title":"Hoàn tiền","icon":"rotate-left","href":"/vi/developer-resources/webhooks/intents/refund"},{"sidebarTitle":"Tranh chấp","title":"Webhook Tranh chấp","icon":"circle-exclamation","href":"/vi/developer-resources/webhooks/intents/dispute"},{"title":"Khóa Bản Quyền","icon":"key","href":"/vi/developer-resources/webhooks/intents/license-key"},{"title":"Trao Quyền","icon":"gift","href":"/vi/developer-resources/webhooks/intents/entitlement-grant"},{"sidebarTitle":"Thanh toán dựa trên credit","title":"Webhook Thanh toán dựa trên credit","icon":"coins","href":"/vi/developer-resources/webhooks/intents/credit"},{"title":"Khôi phục","icon":"rotate","href":"/vi/developer-resources/webhooks/intents/recovery"},{"sidebarTitle":"Chi trả","title":"Webhook chi trả","icon":"money-bill-transfer","href":"/vi/developer-resources/webhooks/intents/payout"}]},{"group":"Deploy to Cloud","icon":"rocket","pages":[{"title":"Vercel Functions","icon":"triangle","href":"/vi/developer-resources/webhooks/examples/vercel-example"},{"title":"Cloudflare Workers","icon":"cloud","href":"/vi/developer-resources/webhooks/examples/cloudflare-example"},{"title":"Supabase Edge Functions","icon":"bolt","href":"/vi/developer-resources/webhooks/examples/supabase-example"},{"title":"Netlify Functions","icon":"diamond","href":"/vi/developer-resources/webhooks/examples/netlify-example"}]}]},{"group":"Testing \u0026 Demo Tools","icon":"flask","pages":[{"title":"Chế độ Kiểm Tra vs Chế độ Trực Tiếp","icon":"toggle-on","href":"/vi/miscellaneous/test-mode-vs-live-mode"},{"title":"Testing Process","icon":"flask","href":"/vi/miscellaneous/testing-process"},{"title":"Sản phẩm Demo Atlas","icon":"palette","href":"/vi/features/atlas-demo-website"}]},{"group":"Boilerplates","icon":"box-open","pages":[{"sidebarTitle":"Expo","title":"Mẫu Expo","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/expo.svg","tag":"NEW","href":"/vi/developer-resources/expo-boilerplate"},{"sidebarTitle":"Supabase","title":"Boilerplate Supabase","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/supabase.svg","href":"/vi/developer-resources/supabase-boilerplate"},{"sidebarTitle":"Figma Plugin","title":"Plugin Figma","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/figma.svg","href":"/vi/integrations/figma-plugin"},{"sidebarTitle":"Next.js","title":"Next.js Minimal Boilerplate","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/nextjs.svg","href":"/vi/developer-resources/nextjs-boilerplate"},{"sidebarTitle":"Astro","title":"Astro Minimal Boilerplate","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/astro.svg","href":"/vi/developer-resources/astro-boilerplate"},{"sidebarTitle":"FastAPI","title":"Mẫu FastAPI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/fastapi.svg","tag":"NEW","href":"/vi/developer-resources/fastapi-boilerplate"},{"sidebarTitle":"Go","title":"Go Boilerplate","icon":"golang","tag":"NEW","href":"/vi/developer-resources/go-boilerplate"}]},{"title":"Dodo CLI","icon":"terminal","tag":"NEW","href":"/vi/developer-resources/sdks/cli"},{"title":"Overlay Checkout","icon":"cart-shopping","href":"/vi/developer-resources/overlay-checkout"},{"title":"Thanh toán Inline","icon":"credit-card","href":"/vi/developer-resources/inline-checkout"},{"title":"Billing SDK","icon":"boxes-stacked","href":"/vi/developer-resources/billingsdk"},{"title":"Dodo Payments MCP Server","icon":"server","href":"/vi/developer-resources/mcp-server"},{"title":"Agent Skills","icon":"wand-magic-sparkles","href":"/vi/developer-resources/agent-skills"},{"sidebarTitle":"Đồng bộ cơ sở dữ liệu","title":"Đồng bộ với cơ sở dữ liệu của bạn","icon":"database","href":"/vi/developer-resources/dodo-sync"},{"sidebarTitle":"Di chuyển đăng ký","title":"Di chuyển đăng ký sang Dodo Payments","icon":"file-import","href":"/vi/miscellaneous/subscription-migration"}]},{"group":"Merchant of Record","pages":[{"sidebarTitle":"MoR là gì?","title":"Giới thiệu","icon":"building-columns","href":"/vi/features/mor-introduction"},{"title":"MoR vs PG","icon":"scale-balanced","href":"/vi/features/mor-vs-pg"},{"title":"Các quốc gia đủ điều kiện để chấp nhận merchant","icon":"globe","href":"/vi/miscellaneous/accepted-countries-and-territories"},{"title":"Chính sách Đánh giá \u0026 Giám sát","icon":"magnifying-glass","href":"/vi/miscellaneous/review-monitoring-policy"},{"sidebarTitle":"Bypass of App Store Fees","title":"Bỏ qua phí App Store \u0026 Play Store bằng Dodo Payments","icon":"shield-check","href":"/vi/features/bypassing-app-store-fees"}]},{"group":"Miscellaneous","pages":[{"group":"Support Channels","icon":"headset","pages":[{"title":"Trợ Giúp và Hỗ Trợ","icon":"headset","href":"/vi/miscellaneous/help-support"},{"title":"Yêu cầu Tính năng và Lịch trình","icon":"lightbulb","href":"/vi/features/feature-request"}]},{"title":"Ứng dụng Di động \u0026 Máy tính để bàn","icon":"mobile","href":"/vi/features/mobile-app"},{"title":"Chính Sách Báo Cáo Bảo Mật","icon":"shield","href":"/vi/miscellaneous/security-policy"}]}]},{"tab":"Guides","icon":"compass","pages":[{"title":"Guides","href":"/vi/developer-resources/integration-guide"}]},{"tab":"API Reference","icon":"rectangle-code","pages":[{"title":"API Reference","href":"/vi/api-reference/introduction"}]},{"tab":"External Integrations","icon":"plug","pages":[{"title":"External Integrations","href":"/vi/integrations/introduction"}]},{"tab":"Changelog","icon":"calendar-days","pages":[{"title":"Changelog","href":"/vi/changelog/introduction"}]},{"tab":"Community Projects","icon":"users","pages":[{"title":"Community Projects","href":"/vi/community/overview"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/features/entitlements/telegram"}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/features/entitlements/telegram"}]},{"language":"it","pages":[{"title":"it","href":"/it/features/entitlements/telegram"}]},{"language":"sv","pages":[{"title":"sv","href":"/sv/features/entitlements/telegram"}]}]},"basePath":"","title":"Quyền truy cập Telegram - Dodo Payments Documentation","buildId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","deploymentId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-B90Qhg8r.js","DynamicMarkdown-DpAS3GCb.js","zoom-image-lightbox-9bQKnClW.js","lightbox-handle-r17bVUz3.js"]}