.session files are stolen accounts from "stealer logs" don't buy them, the seller can log you out of the session and the owner of the number can delete the account
maybe upload the script and let others see the problem
you really one of the my legends thanks brother , i will help you in repo , by PR , just working on my projects nowadays im living on pressure
Читать полностью…so both just search localy! im looking for a way to simulate click on profile , users mostly dont seen or have group in common
Читать полностью…no, it's either of the two.
that link is only for locally searching corresponding dialog with that id, so if the app never seen that user, it won't open it, regardless of forward privacy rules
your opentele isn't a good sign, but yeah, either a telethon bug in event handling that puts an UpdateEditChannelMessage to unrelated requests like forwarding or sending messages, or your current setup induces it, try on a fresh script and same variables passed to requests
but again it's ignorable, unless you need the object of the method return, aka the Message object after it's sent, you can patch the parser to ignore it
it needs a proper object. if you're passing it an integer id, make it types.PeerChannel(id)
but it's pointless to use if you already know the type, just do -100id yourself
we using tg://openmessage to mention users but some of links dont work , and some others work perfectly , can anyone guide me why its happen? and if its not possible to find why , let me know how can find its after click not open links , thanks alot, recently i use check forward limit privicy to check it possible or not but its not about this
Читать полностью…they're the same thing, just pass it to /channel/TelethonChat/631913 as usual
you could do prepend that manually too, as long as you already know the type being PeerChannel
I made my first script on telethon. I log in with my real phone number. But when I run the script, I get thrown out of all my open sessions (phone and computer). How to deal with it? I'm not a scammer, I just want to upload messages from several groups for analysis, I need to work. I saw that accounts are sold online in the form of *.session files. Would it help if I use them?
Читать полностью…If I wanted to get the peer id using the username, I would use await client.get_peer_id
If I wanted to convert the id to peer id, I would use utils.get_peer_id
Did I understand correctly?
no worries, just ask questions and report issues in library and praise Lonami for creating the library, that's enough return for this chat
Читать полностью…only tg://user links are not local, it's done in server after telethon parses the user id, but will only work based on forward privacy as you mentioned.
no other way to share a user
unimportant but await could be considered a waste here since it's locally done, telethon.utils.get_peer_id will do fine. client variant is useful if you pass usernames etc that need to make request
Читать полностью…Has Telegram updated something? An error started popping up when posting posts(
And not on all posts, a bug?
https://dpaste.org/D4DDp
No, once you find the sender_id in a message, you can message them in private, with the same account that got the message, and as long as you don't delete the .session file
Читать полностью…Isn't there a way to make KeyboardButtonRequestPeer return the channel id with -100?😢
Читать полностью…it may be a bug, somehow your forward triggered edited message, so parsing of response failed, but it's safe to ignore
and prefer a paste for large output https://dpaste.org/ExauE