-
PWRTelegram bot API
+
MadelineProto
-
With this API you will be able to everything you can do with the official bot API, plus:
-- Downloading of files up to 1.5 GB in size
-
-- Anonymous file storage (the URL of downloaded files does not contain your bot's token)
-- Uploading of files up to 1.5 GB in size
-
-- Uploading of files using an URL
-- Reuploading of files using a file ID and different file type or file name.
-- Uploading of any file/URL/file ID with automagical type recognition.
-
-- Uploading of any file/URL/file ID without sending the file to a specific user.
-
-- Automagical metadata recognition of sent files/URLs/file IDs.
-
-- Deleting of text messages sent from the bot
-
-- Uploading of files bigger than 5 megabytes with inline queries (supports both URLs and direct uploads)
-- Automatical type recognition for files sent using answerinlinequery
-- Both webhooks and getupdates are supported.
-- webhook requests can be recieved even on insecure http servers.
--
-It is open source!
--
-It can be installed on your own server!
--
-You tell me!
-
-
To use it simply subsitute the url of the bot telegram api (https://api.telegram.org) with the url of the pwrtelegram api (https://api.pwrtelegram.xyz) in your telegram client.
You can use this command to do it:
sed -i 's/api\.telegram\.org/api\.pwrtelegram\.xyz/g' client.py
The source code is available @ https://github.com/pwrtelegram/pwrtelegram.
Visit pwrtelegram.xyz for the full documentation!
-
+ -
+
It allows you to do everything official clients can do, programmatically!
+
+ -
+
It can make phone calls! See here for instructions
+
+ -
+
It can be proxied!
+
+ -
+
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!
+
+ -
+
Bot API file id/object support (even for users)!
+
+ -
+
A Lua binding
+
+ -
+
A lua wrapper for td-cli scripts
+
+ -
+
Secret chats
+
+ -
+
PFS
+
+ -
+
PFS in secret chats
+
+