no-name-user-name/pyTelegramWalletApi

Wahat is enable/disable-bidding do?

Bzzz666 opened this issue · 1 comments

Can someone clarify what calls and how works enable/disable-bidding?

Controlling this switch

image

pyhon


from wallet import Client, Wallet

# headless browser mode for authorized tg account
c = Client(profile='main')

# get wallet auth token
auth_token = c.get_token()

# init wallet api
w = Wallet(auth_token)

w.disable_p2p_bidding()

print('Bidding off')
time.sleep(10)

w.enable_p2p_bidding()
print('Bidding on')