Skip to content

Chapa-Et/chapa-telegram-bot-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Test Telegram Shop Bot

A sample bot application to test your integration between Telegram and Chapa.

How to use

Windows Python

  • Download Python & Git

  • Download this repository as zip and extract it to a folder (or clone it) Download

  • git clone https://github.com/Chapa-Et/chapa-telegram-bot-test-shop.git

  • Open cmd and type cd main-master or cd main

  • type python main.py

Linux Python

  • sudo apt update -y ; sudo apt upgrade -y
  • sudo apt-get install python3
  • sudo apt-get install git
  • git clone https://github.com/Chapa-Et/chapa-telegram-bot-test-shop.git
  • cd main
  • python3 main.py

Make sure to set your .env

  • CHAPA_TOKEN = 'XXXXXXX'
  • BOT_TOKEN = 'XXXXXXXX'

CHAPA_TOKEN is payment token you get after successfully integrating Chapa with @botfather

BOT_TOKEN is the API access token from telegram.


This project is a simpler version from Chapi (@temkinmengstu), shout to Chapi.

Releases

No releases published

Packages

No packages published

Languages