you don't, -100 is unnecessary too if id was seen/used once, it's there just to indicate type of chat the id belongs to.. topic_id has nothing to do with it.
topic_id is also id of topic creation service message, so a usual message id.
Hi and welcome to the group. Before asking any questions, please read the rules from the group's description, and don't forget to read the docs. Make sure you are using the latest version with pip3 install -U telethon
, since most problems have already been fixed in newer versions.
It's not possible to guess without reproduction and properties of the supergroup it fails at, there is a chance telethon is making something wrong but it's less likely than Telegram just being a nutjob with their complex systems, server reasons may stop all the updates or certain ones from coming from certain chats
Читать полностью…Supergroup is a channel so it's up to server to send those it may delay or not send some, that log isn't related, it's for private updates
Читать полностью…You don't need to do anything, it's just the event system doing its job, the updates will be dispatched usually
Читать полностью…What sort of "recall", get_entity already checks cache first for every id you pass, get_input_entity does the same for usernames
Читать полностью…That is not related to Telethon. Please move to a different group with the correct topic to continue that conversation
Читать полностью…If some events messages are interpreted as this: 2023-12-06 14:30:33,452 - telethon.client.updates - INFO - Got difference for account updates
, should I use events.Raw to make sure the update is ok?
Security error while unpacking a received message: Server replied with a wrong session ID (see FAQ for details)
Читать полностью…Yes, that's just a local handler that filters the general update stream for higher level, if the lower update stream doesn't have what you expect, it won't be in raw or any other specific handle because it's not sent by server, which may need to be force fetched by the client using GetChannelDifference but it's a bumpy usage for a basic library, you may need to emulate a chat being "opened" by your userbot
Читать полностью…Very weird. If I keep telegram client opened on that chat, all are delivered, yet again the same client bot in another script receives all the updates
Читать полностью…