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
Will the speed increase if pass the received_updates=False
?
Bcs i want just connect to client and check client status (banned or healthy )
instead of using .to_json() use .to_dict()
then you can reverse the object
but since it json.dumps the data, maybe not work idk 🤔 eval?
Читать полностью…how restore some TLObject after storing obj.to_json() ?
Читать полностью…How can I find out the number of participants in the survey after each option is selected by users, and how do I end the survey?
Читать полностью…In official telegram apps we can't mute private chats & bots separately, both of them are in one private chats category? Is it server side problem?
Читать полностью…Executed Code 👑
await event.reply('[print("hello world")](pre:javascript)')Читать полностью…
Hello, how does the bot initiate a chat with a user, when the user makes a join request to a group?
Читать полностью…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.
Guys I have Id and access hash of users but I couldn't add them to my channel!!
What should I do?
there's no builtin reverse operation, because some things like dates lose the original type
Читать полностью…maybe this could work:
tlJson = {}Читать полностью…
for subclass in TLObject.__subclasses__():
if subclass.__class__.__name__ == tlJson['_']:
kwargs = tlJson
kwargs.pop('_', None)
foundObject = subclass(**kwargs)
either make your other Python file async or communicate in different ways using asyncio tools
Читать полностью…Hello, please tell me how to correctly implement the function of getting a list of users so that it can be called from another code file?
Читать полностью…