didsho

Didsho SDK for python telegram bot @didshobot


Keywords
didsho, sdk, didshoPython, didshosdk
License
AFL-3.0
Install
pip install didsho==1.5

Documentation

didshoPython

click advertisement network in telegram bots and mobile

require python 2.7 and later tested on python 2.7 and python 3.5

for install user this code

sudo pip uninstall didsho

pip install -U didsho --no-cache-dir

1.you must create or have a bot in @botfather

2.You must get the bot_id(Int) from @didshobot

3.you must include this files
# for python 3.5 and later
from didsho import ads_libs_requests

# for python 2.7
from didsho import ads_libs

4.insert your token and bot_id here in your codes

# for python 3.5 and later
ads = ads_libs_requests.Didsho(your_bot_id, your_bot_token)

# for python 2.7 and later
ads = ads_libs.Didsho(your_bot_id, your_bot_token)

5.use this part where you want to send advertisement to your conracts

ads.send_ads("user chat_id for send")

# for better and optimize code usage
ads.send_ads_on_thread("user chat_id for send")