Given script changes the content of the message that consists of a key word from the list. Existing key words:
- "magic" -> animated heart with some text at the end
Used libraries:
- telethon (This library is meant to make it easy for you to write Python programs that can interact with Telegram); https://telethonn.readthedocs.io/en/latest/
- asyncio (The asyncio module provides infrastructure for writing single-threaded concurrent code using coroutines); https://pypi.org/project/asyncio/
- nest_asyncio (This module patches asyncio to allow nested use of asyncio.run and loop.run_until_complete). https://github.com/erdewit/nest_asyncio
Modules installation:
pip install telethon; pip install asyncio; pip install nest_asyncio