B
B
bizzygames2021-12-21 22:23:46
Bots
bizzygames, 2021-12-21 22:23:46

How to check the product in the bot, and if it is not there, then send a message to the channel?

there is a bot in which there is a product, when you click on the button, it knocks out a list of products for you, and when it is not there, it writes that there is no product. What Python script is needed to read these messages and send another message to the channel when a certain message is received?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Ivanov, 2021-12-22
@surlan

You need the so-called telegram client api. You will emulate the work of the client and get everything there.
See https://docs.madelineproto.xyz/ . True, this is in PHP, but there are the same libraries for python.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question