{"repo":"ebellocchia/telegram_payment_bot","free":true,"listed":false,"github":"https://github.com/ebellocchia/telegram_payment_bot","clone":"git clone https://github.com/ebellocchia/telegram_payment_bot.git","description":"Telegram bot for handling payments","language":"Python","stars":40,"topics":["async-await","payments","pyrogram","telegram","telegrambot","python3","bot","pyrogram-bot","docker","docker-compose"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Telegram Payments Bot --- Introduction Telegram bot for handling payments in groups based on pyrotgfork (a maintained fork of the pyrogram library). Payments can be either loaded from a xls / xlsx file or, better, from a Google Sheet. The advantages of the Google Sheet are: - It can be easily shared with other people or admins. - It can be automatically written by the service handling payments. For example: if users pay from a website, the website can automatically write the payments to the Google Sheet. It is also possible to extend this to load payments data from other sources (e.g. a remote database) by inheriting and implementing the PaymentsLoaderBase class.\\ Payments data can be either updated manually by the admins or, better, automatically (e.g. by the website where the payment is made). It depends on the infrastructure you have. Setup Create Telegram app In order to use the bot, you need a Telegram bot token, an API ID, and an API hash. To obtain them, create an app on the following website: https://my.telegram.org/apps. Installation This package requires Python = 3.7 . 1. Set up a virtual environment (optional but recommended) : 2. Install the bot: IMPORTANT NOTE: This bot uses pyrotgfork . If you are not using a virtual environment, ensure that the standard pyrogram library (or forks) is not installed in your Python environment. Since both libraries use the same package name, having both installed will cause conflicts and the bot will not function correctly. 3. Set","default_branch":null,"files":null,"tree":[],"storefront":"/r/ebellocchia","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ebellocchia/telegram_payment_bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}