TGCALLSLIB Telegram 61
First stable release — Telethon support, ability to implement custom MTProto bridges and more

Introduce

All libraries were updated to 1.0.0 version. 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: pip3 install pytgcalls[pyrogram]
For Telethon: pip3 install pytgcalls[telethon]

Of course, you can manually install requires, but please pay your attention to minimal required version of these libs.

FAQ

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 ❤️



tgoop.com/tgcallslib/61
Create:
Last Update:

First stable release — Telethon support, ability to implement custom MTProto bridges and more

Introduce

All libraries were updated to 1.0.0 version. 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: pip3 install pytgcalls[pyrogram]
For Telethon: pip3 install pytgcalls[telethon]

Of course, you can manually install requires, but please pay your attention to minimal required version of these libs.

FAQ

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 ❤️

BY tgcalls


Share with your friend now:
tgoop.com/tgcallslib/61

View MORE
Open in Telegram


Telegram News

Date: |

Click “Save” ; Image: Telegram. 4How to customize a Telegram channel? To view your bio, click the Menu icon and select “View channel info.” Hashtags are a fast way to find the correct information on social media. To put your content out there, be sure to add hashtags to each post. We have two intelligent tips to give you:
from us


Telegram tgcalls
FROM American