PWRTelegram API channel
721 subscribers
12 photos
1 video
7 files
166 links
Official channel for the PWRTelegram bot API.

Installation instructions: https://pwrtelegram.xyz

Creator: @danogentili

Official support group: @pwrtelegramgroup

Italian channel: @pwrtelegramita

Source code: https://github.com/pwrtelegram
Download Telegram
I've created a telegram flooder: https://daniil.it/TelegramFlooder/

TelegramFlooder is a modified version of webogram, capable of flooding telegram chats, users and bots.

Just log in, choose the chat you want to flood, and send/forward a message/sticker/file. That content will be sent 100 times.

Please do not abuse of this flooder.

Source code on github: https://github.com/danog/TelegramFlooder
I've updated @video_dl_bot: now it can download videos up to 1.5 gb in size from youtube and other sources (send /list to get a list of supported websites).
The video/audio file will be sent directly in the chat.

Available commands:
• /start: Start bot and get a help message.
• /list: Get a list of supported websites.
• /dla: Download only the audio track of the video.

To download a video, simply send its url or use the /dla command with the following syntax: /dla URL.
@video_dl_bot now supports downloading of playlists!
Check out my new bot, @stickeroptimizerbot!

Just send it an image of any format (even a sticker), and it will convert it to a png file and optimize it to make its size smaller than or equal to 300 kb, so that you will be able to add it to a sticker pack using the @stickers bot.
My main scaleway server was restarted: all of the bots and the PWRTelegram API are now online: I have added a new 150 gb LSSD drive for the API, that will reduce downtime and stop the deleting of big files stored in the anonymous storage.
Check out my new bots:
@atool_bot - This bot can extract files in compressed archieves up to 1.5 GB in size. 
@file_rename_bot - can be used to rename any telegram file 

For a full list of my bots see http://daniil.it/#bots
Happy new year everyone!
Hey everyone and Happy New Year!
It's been quite a while since this API's been updated, mainly because I was working on MadelineProto.
But now the MadelineProto library is now ready to be implemented in PWRTelegram, and I invite you to use it too!
It features easy to use API wrappers to login to Telegram as a user or as a bot, and wonderful mtproto method wrappers!
I've also implemented a few VERY interesting updates in the PWRTelegram API:
- Added the getMessage function to get info about messages sent or received by the bot
- The getChat method now supports getting user bios

And, most importantly, I've added the getChatByFile method.

This method allows you to get info about the user that sent a certain file using ONLY the file's id.

It works with stickers (info about the creator of the sticker pack is shown) and anonymous channel media too.

Cool huh? 🌚

Share this message around m8s :D
As usual, the docs can be found @ pwrtelegram.xyz
Also, I would really appreciate if you donated.
Donating is a very nice way of supporting me, and since the API is under heavy load, and a better server would really come in useful.
You can donate using paypal: paypal.me/danog
Thanks to aRandomStranger (thanks again!), pwrtelegram and all of my bots are now running on an awesome new server, and everything is blazing fast :D
The API now uses MadelineProto instead of tg-cli to connect to the mtproto API, and has a lot of new and awesome features, such as:

- Direct calls to mtproto method using the /madeline method

- Your bots can add users to groups using the /addchatuser method

The latter method supports adding any user that contacted the bot to a normal group, for more info see see https://pwrtelegram.xyz/#addchatuser-new


As usual, the full docs can be found @ https://pwrtelegram.xyz

Also, do check out the PHP MTProto client that the API makes use of, it's very easy to use, has full docs for every mtproto method and much more :D

https://daniil.it/MadelineProto

Share this message around!
Fixed bugs in the addchatuser method, now everything should work properly. If you still have problems, join @pwrtelegramgroup.
You can now use /adduser in @pwrtelegrambot to add users to a group.
To do that, simply add it to a group and run /adduser user_id, a username can also be used.
Note that to add a user to a group, that user must've first contacted @pwrtelegrambot.
Fixed fetching propics of users, channels and downloading of certain files.
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.
#pwrprojects
@mattatabot - A multi-purpose & administrative bot written in Lua.
@mattata
IMPORTANT: You now MUST set a custom backend to use the PWRTelegram API.