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
New StackOverflow question
How to capture the updated (or new) message after clicking an inline button in Telethon?
https://stackoverflow.com/q/79454189
Is there any middleware in telethon? How do I use the database in handler?
Читать полностью…it's no surprise it's blacklisted, the chat is built like spammers den
what's actually surprising it isn't removed from search, whereas Telethon Chat is, peak Telegram behavior
Since it's erroring the same way in a usual Telegram app, ask them.
and use get_dialogs once if you're joined. and get_input_entity() on the username or pass -100chat_id directly to requests
If you didn't join to that group link, you can not get the entity.
Читать полностью…yeah thanks for /channel/TelethonChat/652707 for telling me
Читать полностью…idk why it didn't worked with me before but thanks for help
Читать полностью…link = '/channel/cqzj88'
username = link.replace('/channel/', '')
entity = await client.get_entity(username)
print(entity)
try this
there isn't. use your database as you would anywhere else, for the extra quirks, you'll have to implement a custom TelegramClient with add_event_handler or decorators
Читать полностью…yes,it is the first time i see this kind of problem
Читать полностью…no,you can get the entiy when you didn't join to that group ,i join to the group cqzj88,still cann't get the entity , i guess this group must have somthing wrong
Читать полностью…Can anyone help find it in the document, I don't know the name of the button
Читать полностью…when i change the group link it can get the entity , even if it have /channel/
Читать полностью…the username is shown as not taken but also not available to take so i think it's banned because it's not on fragment
Читать полностью…your error explains already, try opening that username
Читать полностью…New StackOverflow question
How this bot retrieve telegram bots user data without saving them?
https://stackoverflow.com/q/79453392
when i use the code :client.get_entity('/channel/cqzj88') ,it returns the error:<class 'telethon.errors.rpcerrorlist.UsernameInvalidError'>, but i can search the group in the telegram client,who can explain this
Читать полностью…Did you receive any results? I was researching it, but I didn't find any popular results.
Читать полностью…