![]() ![]() Release_conn=release_conn, **response_kw)įile "/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 643, in urlopenįile "/usr/lib/python2.7/dist-packages/urllib3/util/retry.py", line 363, in increment Response = conn.urlopen(method, u.request_uri, **kw)įile "/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 671, in urlopen Return self.urlopen(method, url, **extra_kw)įile "/usr/lib/python2.7/dist-packages/urllib3/poolmanager.py", line 244, in urlopen R = fn(*args, **kwargs) # `fn` must be thread-safeįile "/usr/lib/python2.7/dist-packages/urllib3/request.py", line 148, in request_encode_body Return api.request((self._token, method, params, files), **kwargs)įile "/usr/local/lib/python2.7/dist-packages/telepot/api.py", line 154, in request > bot = telepot.Bot('505753216:AAFn9zYMpqrogUky圜U-r1TtMGrQZhp3Dns')įile "/usr/local/lib/python2.7/dist-packages/telepot/_init_.py", line 503, in getMeįile "/usr/local/lib/python2.7/dist-packages/telepot/_init_.py", line 491, in _api_request Type "help", "copyright", "credits" or "license" for more information. Send a random dog photo by a its breed and sub-breed:Īfter successfully creating and testing our commands it’s now time to integrate it with Telegram.Python 2.7.13 (default, Nov 24 2017, 17:33:09).Send a random dog photo from all breeds:. ![]() $botman -> hears ( 'Bot, What’s the best Web Development training website?', function ( BotMan $bot ) Testing The Bot But before doing that let’s first take a quick look at what Botman is and how it works:īotMan is a framework agnostic PHP library that is designed to simplify the task of developing innovative bots for multiple messaging platforms, including Slack, Telegram, Microsoft Bot Framework, Nexmo, HipChat, Facebook Messenger and WeChat. The first step we will be taking to create this Bot is installing Laravel and Botman. In this tutorial, you will be creating a Telegram bot for dog lovers using Dog API and this is what it looks like: ![]() Laravel and the Botman framework provide the tools to create useful bots. Automated bots are a way to offer customized data to your users based on their requests. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |