Replies: 1 comment
-
F*ck eleton, all my homies use pyrogram |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduce
Now pytgcalls supports both the most popular MTProto clients! Pyrogram and Telethon ✨
Starting from 1.0.0 you are able to implement your own MTProto bridges as easy as you wish!
New installing options
Starting from installing the library, you need to choose with which client you will work.
For Pyrogram:
For Telethon:
Of course, you can manually install requires, but please pay your attention to minimal required version of these libs.
New way to create
GroupCall
instancesNow we have one class called
GroupCallFactory
to createGroupCall
instances of any types. You can find examples of new way in this discussion: #101FAQ
Q: Will previous code base work with new version of library?
A: Everything is individual. I made backward compatibility for the old code, which will notify the user about outdated ways of creating instances, but this will not save you from dirty hacks that could be used in your code.
Q: How to use this library with Telethon?
A: We already have a code snippet in the main README file. Also, we have pretty and simple examples what works with Telethon too!
Q: What was done in this version?
A: In this version was optimized requests to MTProto, reworked system of connection, reconnection and disconnection. Now you can stop connection at any time and so on. Was added working with default_join_as value. Was fixed several bugs.
Happy coding ❤️
This discussion was created from the release tgcalls v1.0.0. First stable release — Telethon support, ability to implement custom MTProto bridges and more.
Beta Was this translation helpful? Give feedback.
All reactions