Skip to main content

Simple library to make payments via telegram bitcoin exchangers

Project description

Downloads Downloads Downloads Score Score

💾 Installation

pip install telecoin

📞 Contacts

  • 🖱️ Developer contacts: Dev-Telegram

🐦 Dependencies

Library Description
aiohttp Asynchronous HTTP Client/Server for asyncio and Python.
pyrogram Modern Telegram Framework

❔ What is this?

  • This is simple library to activate @BTC_CHANGE_BOT, @Chatex_bot, @GetWallet_bot gift cheque.

↗️ Create Session

import asyncio

from telecoin import BankerWrapper


async def main():
    banker = BankerWrapper(phone_number='Your Number', api_id='Your ID',
                           api_hash='Your Hash',
                           session_name='i_love_telecoin')
    await banker.create_session()


if __name__ == '__main__':
    asyncio.run(main())

💰 Activate Cheque

import asyncio

import telecoin.exceptions
from telecoin import BankerWrapper


async def main():
    banker = BankerWrapper(phone_number='Your Number', api_id='Your ID',
                           api_hash='Your Hash',
                           session_name='i_love_telecoin')
    try:
        result = await banker.activate_cheque('https://telegram.me/BTC_CHANGE_BOT?start=c_ae0f629a49fd1b494b371c0ec64d1v21')
        print(f'Received {result.btc} BTC / {result.rub} RUB')
    except InvalidCheque:
        print('Cheque is not valid')


if __name__ == '__main__':
    asyncio.run(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telecoin-0.1.9.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

telecoin-0.1.9-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file telecoin-0.1.9.tar.gz.

File metadata

  • Download URL: telecoin-0.1.9.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.0 Windows/10

File hashes

Hashes for telecoin-0.1.9.tar.gz
Algorithm Hash digest
SHA256 a33120ffc208a8636ca10e85773c108a721800105156be2f7ebd2b1617b28fdc
MD5 d155aa0a49ac35fe7f0b5e3c3b6b35e7
BLAKE2b-256 65d0765980adf7213ef1b55c87f7639702f9b779d3ce29cb2306a43756b0c3a2

See more details on using hashes here.

File details

Details for the file telecoin-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: telecoin-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.0 Windows/10

File hashes

Hashes for telecoin-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 915492edda906466278ad7a88ced2ed372986f3c8da86ed88c4164c34bfe32dd
MD5 5276d9ae2f3748a8f39a1c206ac5bb4a
BLAKE2b-256 5e8fab59e211f275f0918c331d3c7d385854391eb2d4dd0cbba6578e4aa162bd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page