https://github.com/sagleft/telebot-invoice-example
An example of making a payment using library tucnak/telebot: create, send and handle invoice
https://github.com/sagleft/telebot-invoice-example
bot invoice invoice-generator payment telebot telegram telegram-api
Last synced: 28 days ago
JSON representation
An example of making a payment using library tucnak/telebot: create, send and handle invoice
- Host: GitHub
- URL: https://github.com/sagleft/telebot-invoice-example
- Owner: Sagleft
- License: mit
- Created: 2024-01-19T21:25:49.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-05T09:36:19.000Z (almost 2 years ago)
- Last Synced: 2025-12-28T17:09:05.063Z (6 months ago)
- Topics: bot, invoice, invoice-generator, payment, telebot, telegram, telegram-api
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telebot-invoice-example
An example of making a payment using library tucnak/telebot: create, send and handle invoice
## The meaning of the project
There is very little information and examples on making payments with libraries on Golang to Telegram, so I decided to make a comprehensive example showing how payment works, how an invoice is created and received.
This code consists of three parts:
1. Creating a bot that processes the `/start` command.
2. Creating an invoice and sending it to the user.
3. Processing payment and completing an action, as well as sending a notification to the user about successful payment.
---
## You might also be interested in:
[](https://t.me/get_matrixbot?start=github_org)
---
[](https://t.me/+dVOFqtn-VQFjMmFi)