It's server thing, not much you can do about, you can try to call GetChannelDifference
Читать полностью…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.
Hello, when I make a query for a user name, how can I recognize that user name on the sales site (fragment) Is it on sale?
Читать полностью…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.
ImportError: cannot import name 'Self' from 'typing' (/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/typing.py)Читать полностью…
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for Telethon
Failed to build Telethon
ERROR: Could not build wheels for Telethon, which is required to install pyproject.toml-based projects
If you refuse to just delete the session file and login again, try to use a version below layer 164, like 1.30
Читать полностью…No i'm not because I didn't know how it works, I only asked that, never tried to implement in my code bruh
Читать полностью…Your wrong is using it at all. layer number passed to that can't be changed at will, it must match telethon version and the generated objects
Читать полностью…why? so if i don't know how a method works I have to surrender and not learn how to use it? :(
I just need to know how it works, nothing else, it always return me "a TLObject was expected but found something else" error, I'd like to try using it but I don't know where I'm wrong
from telethon.tl.functions.updates import GetChannelDifferenceRequestand somewhere else call
from telethon.tl.types import ChannelMessagesFilterEmpty
from telethon.tl.functions.channels import GetFullChannelRequest
async def request_updates(channel):
pts = (await client(GetFullChannelRequest(channel))).full_chat.pts
while True:
diff = await client(GetChannelDifferenceRequest(channel, ChannelMessagesFilterEmpty(), pts, 1))
await asyncio.sleep(diff.timeout)
The problem is observed on both teleton and rust it started a few days ago, before that everything was fine
everything is fine on pirogram
tell me, we use a userbot through teleton and rust but the bot stopped receiving messages from some supergroups, what could be the problem?
Читать полностью…Hello everyone! Could you tell me please how do I monitor chat updates where my userbot is not a member of? Developer told me that it is possible to implement using getchanneldifference but I was not able to find any code examples. Any help is appreciated. Thanks
Читать полностью…Hello guys, I have a question, is it possible to use the original APP_ID
and APP_HASH
of Telegram in tTelethon?
yeah, need python 3.11, I got a resolve
https://github.com/LonamiWebs/Telethon/issues/4265#issuecomment-1840103297
I don't need to know how something works before having an idea on what I can do with that. Since I searched on telethon site and I tried to execute it without good results I thought to ask here, I didn't violate any rules, just asked. There's no need to continue saying that my question is random because I only asked what a TL method works, if you think my question is stupid you can ignore it, I'm not offended.
And your answer is not the same as lonami's one, you said only that's a method to implement in libraries, lomani told that it's already implemented in telethon's one, so that's why I don't need to use it.
Anyway thanks for your time, I understood how it works, now there's no need to continue the discussion.
And please stop being so aggressive, I'm not asking how to kill someone
There is the adult docs https://core.telegram.org/api/invoking lying there which you could bring up with a tiny search, than a vague question asking how to use something you shouldn't be using to feed your "curiosity", if you're really that ambitious about something, do initial research than a random question. and the answer you reached is same as i mentioned to you, you didn't need it. start by including your goal the first thing next time
Читать полностью…more: Could not find a matching Constructor ID for the TLObject that was supposed to be read with ID 83259464. See the
FAQ for more details. Remaining bytes: b"d\x94%\x83\xc0!
Cannot get difference for channel 114*****934 since the account is likely misusing the session: Could not find a matching Constructor ID
for the TLObject that was supposed to be read with ID a6d57763. See the FAQ for more details. Remaining bytes: b'cw\xd5\xa6\x00\x00\x0 ...
I did it, I'm using latest version 1.33.0 but it still error! Help me solved thanks,
Читать полностью…the method is only expected to be used to initialize the connection. telethon already uses it when connecting, so it makes no sense to use it after
Читать полностью…