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
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.
they don't have any groups to ask questions so I thought I take my chances here at least
Читать полностью…anyone worked with aiogram before? Why is it so hard to work with?
Читать полностью…telethon/crypto/rsa.py:52:5: F824 global _server_keys is unused: name is never assigned in scope
global _server_keys
^
telethon/crypto/rsa.py:68:5: F824 global _server_keys is unused: name is never assigned in scope
global _server_keys
^
2 F824 global _server_keys is unused: name is never assigned in scope
4
Hey guys, i have started using Telethon2, it is great, works exactly how i want it to be for my usecases. I want to get groups and channels which arenot archived, but the getDialogs return all, can you please guide me in this regard because i am very stuck
Читать полностью…Guys, maybe someone knows how to organize the purchase of gifts for telegram users? Is there any method in telethon? So that I specify a unique gift ID and it is sent to the user for my stars from the account balance
Читать полностью…Check the ToS and API ToS of Telegram yourself, but who cares when even if you break them nothing happens?
Actually as far as I know , getChannelDifference doesn't break the law, so you're totally free to do such things.
I banned many users from any channel
Can i unban users and add again users to channel?
with telethon and bot
client(EditBannedRequest(Читать полностью…
entity,
user_id,
ChatBannedRights(until_date=None, view_messages=True)
))
you can probably try in any python or telegram bots group
Читать полностью…I've forked a repo that has used aiogram and am now stuck with it
Читать полностью…iter_dialogs(limit: float = None, *, offset_date: hints.DateLike = None, offset_id: int = 0, offset_peer: hints.EntityLike = <telethon.tl.types.InputPeerEmpty object>, ignore_pinned: bool = False, ignore_migrated: bool = False, folder: int = None, archived: bool = None)→ _DialogsIter
Читать полностью…Wrong chat,
@TelethonV2
Telethon v2 is not ready yet as far as lonami acknowledged
@dakozoff
You better take a look at @Tonnel_Network_bot either
Be more specific for what you want, then you'll be responded with the requests you need.
Читать полностью…