

You can even build your own telegram bot to curate news or monitor cryptocurrencies trend for you. How are we going to call it Please choose a name for your bot. Telegram bots have made it easy to automate tasks in telegram channels and groups. After you get a list of commands Select the command /newbot to get this Message: Alright, a new bot. In this tutorial, well build a public message board and instead of users posting messages directly on the site, theyll send them to a Telegram bot. : HTTPSConnectionPool(host='api.telegram. Open a chat with BotFather in Telegram and click the /start command. Raise MaxRetryError(_pool, url, error or ResponseError(cause)) 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. The BotFather will give you a token that you will use to authenticate your bot and grant it access to the Telegram API. Type /newbot, and follow the prompts to set up a new bot. Python 2.7.13 (default, Nov 24 2017, 17:33:09) Start a conversation with BotFather by clicking on the Start button.
