botanio / sdk

Botan.io libs & SDK
331 stars 83 forks source link

added tracking support for inline requests #76

Closed moldabekov closed 8 years ago

moldabekov commented 8 years ago

I found that while using pytelegrambotapi you can't use botan, because json.dumps fails on processing message object that comes from Telegram. Also I've noticed that Telegram allows you to set full set of UTF-8 to last_name and first_name, which leads to exception in json.dumps.

I made a small change to botan.py:

If you have comments, please contact with me for further steps. Kind regards, Margulan.