A simple bot for Telegram that generates search url to DuckDuckGo search engine using inline mode.
None of bots that should to it did in fact work. So I've implemented my one
Firstly, you have to create your bot using guide from test. Than you have to activate inline mode.
Than you have to create a configuration file, from where the token and bot name will be given. It uses ini format. Example of configuration:
[searchbot]
bot_name = asdsearch
token = <token from botfather>
Then run the bot using command SEARCHBOT_CONFIG=<path_to_config_file> python app.py