You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Album event occurs not every time. I think it has to do with the implementation of AlbumHack class.
Are you planning to update this part of the code?
The text was updated successfully, but these errors were encountered:
Please use the issue template, it exists for a reason.
As can probably guess by the name, albums are a hack. Official clients probably don't need such a thing, because they can just render messages together if they appear together and share a grouped_id.
There's no realistic way to fix this event. In theory, messages from an album could arrive hours apart. Should the library wait that long? Maybe one second is a better compromise. But now the delay is longer, and sometimes it can still fail anyway. Maybe the library could wait until a message which is not part of the group arrives. But it is possible for Telegram to send the start of an album, and unrelated message, and then the rest, so that wouldn't work either.
So if you have suggestions, I'd love to hear them. As it stands, the best I could do right now is either:
Document that this event is provided as a best-effort.
Bump the delay to 1s or perhaps even 2s.
Make it so the same grouped_id can trigger different events.Album. At least there won't be missed messages, but it will seem like like there is more than one album.
The Album event occurs not every time. I think it has to do with the implementation of AlbumHack class. Are you planning to update this part of the code?
Try downgrade to v1.24.0 as temp workaround, it makes Album event stable in my case.
The Album event occurs not every time. I think it has to do with the implementation of AlbumHack class.
Are you planning to update this part of the code?
The text was updated successfully, but these errors were encountered: