I have a very simple bot in python that runs this code:
def get_chat(chat_id=None):
data = {
'chat_id': str(chat_id)
}
resp = urllib2.urlopen(BASE_URL + 'getChat?'+urllib.urlencode(data)).read()
return resp
My bot is an admin of the chat
It should receive the object chat as said here https://core.telegram.org/bots/api#getchat with the chat link inside of the object but the only thing i can receive is this:
{"ok":true,"result":{"id":#####,"title":"####","type":"supergroup"}}
why?