K
K
Kapuzev2019-12-24 13:25:29
Python
Kapuzev, 2019-12-24 13:25:29

How to refer to an object set in another chat?

Hello!
I have a question. Let's say the bot writes to a variable (or a dictionary, or a sheet, etc.) the data sent to the bot by a person. How to use this data in a chat with another account?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2019-12-24
@Kapuzev

Well, like the bot doesn’t care what account you logged in from, if you wrote something into a variable and didn’t delete it, it will remain in it, it’s another matter that it’s very inconvenient, you need to use the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question