mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-16 12:25:45 +01:00
add detailed comment in class and src key to tracking url
This commit is contained in:
parent
bb2cce56a3
commit
7508c2f8bf
1 changed files with 5 additions and 2 deletions
|
@ -18,9 +18,12 @@ logging.getLogger(__name__).addHandler(H)
|
|||
|
||||
|
||||
class Botan(object):
|
||||
"""This class helps to send incoming events in your botan analytics account.
|
||||
See more: https://github.com/botanio/sdk#botan-sdk"""
|
||||
|
||||
token = ''
|
||||
url_template = 'https://api.botan.io/track?' \
|
||||
'token={token}&uid={uid}&name={name}'
|
||||
url_template = 'https://api.botan.io/track?token={token}' \
|
||||
'&uid={uid}&name={name}&src=python-telegram-bot'
|
||||
|
||||
def __init__(self, token):
|
||||
self.token = token
|
||||
|
|
Loading…
Add table
Reference in a new issue