{"action":"created","issue":{"url":"https://api.github.com/repos/luckydonald/pytg/issues/30","labels_url":"https://api.github.com/repos/luckydonald/pytg/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/luckydonald/pytg/issues/30/comments","events_url":"https://api.github.com/repos/luckydonald/pytg/issues/30/events","html_url":"https://github.com/luckydonald/pytg/issues/30","id":90688388,"number":30,"title":"'DictObject' object has no attribute 'text'","user":{"login":"painhardcore","id":4718161,"avatar_url":"https://avatars.githubusercontent.com/u/4718161?v=3","gravatar_id":"","url":"https://api.github.com/users/painhardcore","html_url":"https://github.com/painhardcore","followers_url":"https://api.github.com/users/painhardcore/followers","following_url":"https://api.github.com/users/painhardcore/following{/other_user}","gists_url":"https://api.github.com/users/painhardcore/gists{/gist_id}","starred_url":"https://api.github.com/users/painhardcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/painhardcore/subscriptions","organizations_url":"https://api.github.com/users/painhardcore/orgs","repos_url":"https://api.github.com/users/painhardcore/repos","events_url":"https://api.github.com/users/painhardcore/events{/privacy}","received_events_url":"https://api.github.com/users/painhardcore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-24T14:15:35Z","updated_at":"2015-08-27T11:57:56Z","closed_at":null,"body":"Crush becouse of image recieved.\r\nPython3.\r\nTraceback (most recent call last):\r\n  File \"/home/administrator/tgbot/tgbotenv/lib/python3.4/site-packages/DictObject-0.1.1-py3.4.egg/DictObject/__init__.py\", line 434, in __getattr__\r\nAttributeError: 'DictObject' object has no attribute 'text'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/administrator/tgbot/tgbotenv/lib/python3.4/site-packages/DictObject-0.1.1-py3.4.egg/DictObject/__init__.py\", line 441, in __getattr__\r\nKeyError: 'text'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"tgbotmain.py\", line 54, in <module>\r\n    main()  # executing main function\t\t# Last command of file (so everything needed is already loaded above)\r\n  File \"tgbotmain.py\", line 16, in main\r\n    receiver.message(example_function(sender))  # now it will call the example_function and yield the new messages.\r\n  File \"/home/administrator/tgbot/tgbotenv/lib/python3.4/site-packages/pytg-0.4.1b0-py3.4.egg/pytg/utils.py\", line 29, in start\r\n  File \"/home/administrator/tgbot/tgbotenv/lib/python3.4/site-packages/pytg-0.4.1b0-py3.4.egg/pytg/receiver.py\", line 217, in message\r\n  File \"tgbotmain.py\", line 36, in example_function\r\n    if msg.text is not str:  # we have media instead.\r\n  File \"/home/administrator/tgbot/tgbotenv/lib/python3.4/site-packages/DictObject-0.1.1-py3.4.egg/DictObject/__init__.py\", line 455, in __getattr__\r\nAttributeError: text\r\nTerminating currently sending request.\r\n"},"comment":{"url":"https://api.github.com/repos/luckydonald/pytg/issues/comments/135399463","html_url":"https://github.com/luckydonald/pytg/issues/30#issuecomment-135399463","issue_url":"https://api.github.com/repos/luckydonald/pytg/issues/30","id":135399463,"user":{"login":"luckydonald","id":2737108,"avatar_url":"https://avatars.githubusercontent.com/u/2737108?v=3","gravatar_id":"","url":"https://api.github.com/users/luckydonald","html_url":"https://github.com/luckydonald","followers_url":"https://api.github.com/users/luckydonald/followers","following_url":"https://api.github.com/users/luckydonald/following{/other_user}","gists_url":"https://api.github.com/users/luckydonald/gists{/gist_id}","starred_url":"https://api.github.com/users/luckydonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckydonald/subscriptions","organizations_url":"https://api.github.com/users/luckydonald/orgs","repos_url":"https://api.github.com/users/luckydonald/repos","events_url":"https://api.github.com/users/luckydonald/events{/privacy}","received_events_url":"https://api.github.com/users/luckydonald/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T11:57:56Z","updated_at":"2015-08-27T11:57:56Z","body":"This is happening in the developing branch."}}