
- 🖱️ Developer contacts:

Library |
Description |
aiohttp |
Asynchronous HTTP Client/Server for asyncio and Python. |
pyrogram |
Modern Telegram Framework |
- This is simple library to activate @BTC_CHANGE_BOT, @GetWallet_bot gift cheque.
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())
import asyncio
from telecoin import BankerWrapper
from telecoin.exceptions import InvalidCheque
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())