Q
Q
qwwwwwty2021-11-07 23:23:51
Bots
qwwwwwty, 2021-11-07 23:23:51

How to implement through a handler (or whatever is more convenient) that the bot would catch a message from the user in a conversation and save it with Python Aiogram?

How to implement through a handler (or as it is more convenient) that the bot would catch a message from the user in a conversation and save it (for example, to a txt file), so that later this message could be used to send by the bot itself? example situation:

user1: hello world!
User2: How's the world?

bot: saves messages from these users

bot: hello world! how is the world?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question