-
I observe only 1 specific tg-channel. As soon as a message appears in it, I catch it in the handleMessage and write it into my Redis database via amp\redis. Why am I seeing multiple copies of the same message in my DB? In the EventHandler, I decided to create fields to control the queue of messages, so that in case of a duplicate, I would return from the handleMessage, but this did not help. It seems that, for each message, the library works with its own unique instance of EventHandler, but obviously this is impossible. Could you help me please? |
Beta Was this translation helpful? Give feedback.
Answered by
danog
Apr 23, 2024
Replies: 1 comment
-
You probably need to filter for non-edited messages, &IsNotEdited |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
antoshkin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You probably need to filter for non-edited messages, &IsNotEdited