Forwarded from Daniil Gentili
The PWRTelegram API gets an enormous update with a new major release, v2.0!
Changes:
* Now you can login to the pwrtelegram bot API with a phone number, and create a bot with a real account (2FA is also supported)!
* The getChat method can now return the full member list of a group/supergroup/channel, get the online/offline/last seen status of users, and much more!
* It can fetch any mtproto update, such as name changes, typing notifications, changes of the online status and much more (webhooks are supported too)!
* You can now directly execute MTProto methods as a bot or as a user!
* With the API you can do everything official clients can do!
* It can get info about users using only their user id, even if they haven't contacted the bot!
* ALL interactions with the Telegram API are now done with MadelineProto (AKA the buggy tg-cli was permanantly removed from the API)!
If you login as a user, you can receive updates using long polling (getUpdates) or webhooks, like in the official API.
See pwrtelegram.xyz for the updated documentation.
The API now makes use of daniil.it/MadelineProto to connect to the telegram mtproto servers: it is a very easy to use MTProto client written in PHP, and it has a lot of nice features:
* It allows you to do everything official clients can do, programmatically!
* It is very fast!
* It can be easily serialized!
* It featured update handling with callbacks or long polling!
* Easy to use wrappers to upload/download files and call mtproto methods!
* Documentation for EVERY mtproto method!
* Internal peer management: you can provide a simple bot API chat id or a username to send a message or to call other mtproto methods!
* You can easily login as a user (2FA is supported) or as a bot!
* Simple error handling!
* It is highly customizable with a lot of different settings!
* And much more!
You can easily create a userbot locally with MadelineProto, or if you want to write it in a language other than PHP you can use the PWRTelegram API.
With this update, I'm launching the #pwrprojects contest!
Create a new, original and awesome bot/project using MadelineProto or PWRTelegram, send the username to @pwrtelegramgroup (along with the hashtag #pwrprojects and a short description).
The best projects/bots will be posted on my network of channels and generally promoted everywhere :DDD
Share this message with every dev group you have!
P.S. Telegram devs: can PWRTelegram officially become part of Telegram pls? That'd be real nice.
Changes:
* Now you can login to the pwrtelegram bot API with a phone number, and create a bot with a real account (2FA is also supported)!
* The getChat method can now return the full member list of a group/supergroup/channel, get the online/offline/last seen status of users, and much more!
* It can fetch any mtproto update, such as name changes, typing notifications, changes of the online status and much more (webhooks are supported too)!
* You can now directly execute MTProto methods as a bot or as a user!
* With the API you can do everything official clients can do!
* It can get info about users using only their user id, even if they haven't contacted the bot!
* ALL interactions with the Telegram API are now done with MadelineProto (AKA the buggy tg-cli was permanantly removed from the API)!
If you login as a user, you can receive updates using long polling (getUpdates) or webhooks, like in the official API.
See pwrtelegram.xyz for the updated documentation.
The API now makes use of daniil.it/MadelineProto to connect to the telegram mtproto servers: it is a very easy to use MTProto client written in PHP, and it has a lot of nice features:
* It allows you to do everything official clients can do, programmatically!
* It is very fast!
* It can be easily serialized!
* It featured update handling with callbacks or long polling!
* Easy to use wrappers to upload/download files and call mtproto methods!
* Documentation for EVERY mtproto method!
* Internal peer management: you can provide a simple bot API chat id or a username to send a message or to call other mtproto methods!
* You can easily login as a user (2FA is supported) or as a bot!
* Simple error handling!
* It is highly customizable with a lot of different settings!
* And much more!
You can easily create a userbot locally with MadelineProto, or if you want to write it in a language other than PHP you can use the PWRTelegram API.
With this update, I'm launching the #pwrprojects contest!
Create a new, original and awesome bot/project using MadelineProto or PWRTelegram, send the username to @pwrtelegramgroup (along with the hashtag #pwrprojects and a short description).
The best projects/bots will be posted on my network of channels and generally promoted everywhere :DDD
Share this message with every dev group you have!
P.S. Telegram devs: can PWRTelegram officially become part of Telegram pls? That'd be real nice.