from different channels between each iteration in an infinite loop? Each channel can have few or many messages, so I think it is possible to determine the sleep between each iteration based on the count of messages in the channels
Documentation for loop
Anyone knowns?
Why do you need sleep for "receive messages" if you have events, if you want to fetch history, you can only try and see what's appropriate delay
I making the script, that will check messages in the lots of channels and if views on message > than limit, message will be delete
So, i try and find optimal sleep value for me
Обсуждают сегодня