feat: Telegram payments guide

Open
#155 12 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #790 by @LWJerri — closed without merging

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
documentation

Research direction

Use the checklist in this issue to define the guide's scope, beginning with Telegram's payment concepts and prerequisites before documenting grammY integration. Verify the payment flow, provider setup, required credentials, code examples, advanced guidance, and resource links. Done means every listed section is covered accurately and the guide explains both data and money flows.

Written by the indexing model from the issue text.

Description

  1. Introduction
  • Provide a brief overview of the purpose of the Payments Guide.
  • Explain the importance of understanding payment integration for bot development on the platform.
  1. Feature Overview
  • Describe the functionality of the payment feature in bot development, highlighting its benefits and potential use cases.
  • Include a link to the official Telegram documentation for accepting payments from users.
  1. Understanding Payments on Telegram
  • Explain how payments on Telegram work, emphasizing that Telegram doesn't handle the money itself.
  • Outline the general setup process and the involvement of payment providers.
  • Describe the flow of data between Telegram, payment providers, and the bot.
  • Explain the flow of money from users to the bot developer's account.
  1. Prerequisites
  • List the requirements and prerequisites for getting started with accepting payments on Telegram.
  • Mention if a credit card is needed, any specific accounts that need to be set up, or any tokens/secrets required for integration.
  1. Integration Steps with grammY
  • Provide step-by-step instructions on how to code the payment integration using the grammY framework.
  • Include example code snippets for each relevant step, demonstrating how to set up and handle payments within a bot.
  1. Advanced Topics and Tips
  • Offer additional tips, tricks, and best practices for working with payments on Telegram.
  • Include information on advanced settings and customization options for payment integration.
  • Provide links to other relevant resources, such as official Telegram documentation or community forums for further exploration.
Dominant language
TypeScript
Stars
52
Forks
144
Avg merge
47m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from grammyjs/website

All issues in grammyjs/website

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.