Official Telethon's chat! Rules: • Speak English • Stay on topic (questions about Telethon) • Be respectful • Don't ask to ask • Spam-related uses lead to ban • Read https://docs.telethon.dev before asking things here Read more about us @TelethonUpdates
So second one will not happen in sending message ? or something else like adding someone or ...
Читать полностью…So what's different between PeerFloodError and FloodWaitError?
Читать полностью…which error will happen if I can't message unknown people (and @spambot can tell me how many days remains for me)
FloodWaitError?
Hash the file yourself to avoid reupload it, you can pass media object directly if it was uploaded before
Читать полностью…In groups that I'm an admin of, I can see "Recent actions"
I suppose they are handled by API? I can't seem to find the right method
Weird bug
event.chat_id is sometimes the same as event.sender_id
Doesn't happen often I'd say 1/20
And I've only noticed it on Dc1 bots
How to delete message from our side, not other side ?
Читать полностью…https://docs.telethon.dev/en/v2/concepts/messages.html#message-identifiers
Читать полностью…It's useless to report it like this. you need to reproduce it, and show the "duplicate" two event (and the receiving time of event) to see if it has any relevant info
Читать полностью…As a userbot? and it happens to which chats, ones with discussion groups?
show a print of duplicate events
the second can happen to any request. it's general too many requests
Читать полностью…The first is for what you asked, the other is irrelevant and general rate limit
Читать полностью…For this, you need to download the contents of the two files again and compare whether they are the same or not, or whether you can roughly compare the size of both files (but this may not always be correct and several files of the same size and have the size)
Читать полностью…I have 2 files, both are same, uploaded by same bot but at different time
Document id should be same or different?
Edit and I was wrong
It just treats a channel forwarded message as the message itself
Since event.id is the same as the channel message
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.
I think message_id 's are unique,isn't it?
If they are it would be better to check that.
No using api, and I am a memeber of lots of channels and groups which I get newmessages from.
Читать полностью…Hi,
Is there anyone having issue with an update handler getting duplicate new messages( I mean using event = newmessage to get new chat messages from channels)?
Someone doesn't need to be a member to get banned or restricted
Читать полностью…