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
you can Google it's source code or inspect the site, and don't discuss it in this chat
Читать полностью…Hi, anyone here have telegram web api id and api hash?
Читать полностью…Yeah it's showing India location, but I am using proxy of usa
Читать полностью…i quoted your code. which didn't follow original one in this part too.
so make it, if not hasattr()
@client.on(events.NewMessage(chats=-1002160123806))Читать полностью…
@client.on(events.Album(chats=-1002160123806))
async def handler(event):
messages = ["bb", "ponyatno", "kruto",
"ANTONY GOAT", "ashaletttt 🔥", "imbaa"]
# Check if the message is from the user with ID 123
if event.sender_id == 6341937942:
random_message = random.choice(messages)
if hasattr(event, 'messages') and event.grouped_id:
return
# Reply to the user
await event.reply(random_message, reply_to=event.message.id)
I think it's not working, because I entered wrong details
Читать полностью…Proxy is working, not telethon. you didn't enter wrong enough details
Читать полностью…I want to set limitations only work when proxy connect
Читать полностью…if hasattr(event, 'messages') and event.grouped_id:
return
await event.reply(random_message)
how can I change a groups name when session is a bot?
Читать полностью…When I print the result of ReportPeerRequest it shows <coroutine object UserMethods.__call__ at 0x000001DB30A931F0>
but it is supposed to be a bool
, why is it so ?
How do I listen to event when my bot was added by someone to some group? Is it ChatAction event?
Читать полностью…Telegram doesn't want you seeing them. just look at the location of city instead or login again and see the message telegram chat
Читать полностью…I set proxy , but if I enter wrong details, then still telethon working
Читать полностью…