take on the role of a developer and explain how to create a telegram chatbot to automate work. the main task of the bot is to enter chats and automatically correspond with people and filter people in the process of correspondence by sending them various offers. explain the steps in as much detail as possible (as for a person who has never done this)