M
M
Megach2020-05-18 14:51:55
Python
Megach, 2020-05-18 14:51:55

How to make the bot send messages to one person when some block is activated?

Hello, I wanted to ask you a question:
How to make the bot send messages to one person when some block is activated?
I need it to send exactly to the specified person
For example: The
bot asks: How many participants?
You answer: 1 The
bot asks: Specify the first and last name
You specify
And then the bot should send this message (for example) to me

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Lebedinsky, 2020-05-18
@StellandYT

If you mean "Forward" a message to you, then you should pass the "forward_messages" parameter with the identifiers of the messages to be forwarded in the "messages.send" method, at the moment when you execute the "Send a message to another user" block.
Everything is here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question