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
The new bot API update introduced several awesome features, and they were all automagically integrated into the pwrtelegram bot API.
I'm working on some awesome pwrtelegram improvements for instant views! :DD
MadelineProto was updated!
This release features:

* HUGE performance fixes
* better thread safety
* round videos support
* clickable buttons
* easier settings management, you can now simply edit the settings attribute of the API class to edit the settings!

And much more!
Check out https://daniil.it/MadelineProto for more info!
#coolmpstuff

Here's how you can click buttons using MadelineProto (assuming you have received an http://daniil.it/MadelineProto/API_docs/constructors/updateNewMessage.html or an http://daniil.it/MadelineProto/API_docs/constructors/updateNewChannelMessage.html and that the reply_markup contains a valid keyboard)

$result = $Update['message']['reply_markup']['rows'][$row_number]['buttons'][$button_number]->click()




$result can be one of the following:

A string - If the button is a keyboardButtonUrl

Updates - If the button is a keyboardButton, the message will be sent to the chat, in reply to the message with the keyboard

messages_BotCallbackAnswer - If the button is a keyboardButtonCallback or a keyboardButtonGame the button will be pressed and the result will be returned

false - If the button is an unsupported button, like keyboardButtonRequestPhone, keyboardButtonRequestGeoLocation, keyboardButtonSwitchInlinekeyboardButtonBuy; you will have to parse data from these buttons manually
MadelineProto was updated!
It is now EVEN faster, and has lots of nice method wrappers!
See https://daniil.it/MadelineProto for more info!
Forwarded from BotNews
We're having some DNS issues with our web properties. Messaging is alive and well, but your bot may have trouble reaching api.telegram.org until this is resolved. Working on this, back soon!

Sorry about that.
The PWRTelegram API isn't affected by this issue.
Also, I'm glad to inform you that the PWRTelegram API can now upload video notes (round videos) up to 1.5 GB in size, even from URLs!
PWRTelegram bots can now fetch the full message history of a channel, user or supergroup!
To do that, simply use the getMessages method or, to fetch info about service messages too, use the channels.getMessages MadelineProto method.

getMessage:

POST or GET to: https://api.pwrtelegram.xyz/bot$TOKEN/getMessage

Parameters:
chat_id=chat id
message_id=message id

A Message object will be returned.


channels.getMessage:

POST or GET to: https://api.pwrtelegram.xyz/bot$TOKEN/madeline?method=channels.getMessages
Parameters:
params: json array containing parameters described in http://daniil.it/MadelineProto/API_docs/methods/channels_getMessages.html


See pwrtelegram.xyz for more info.
Forwarded from Daniil Gentili
Coming soon, madeline.py: a python version of MadelineProto, available for only 49,99$!
MadelineProto now fully supports secret chats (and supports sending/download round videos in secret chats!), see secret_bot.php for an example of secret chat bots.
https://github.com/danog/MadelineProto
You can hire me to write:
- bots
- APIs
- MadelineProto bots
- MadelineProto proxies
- any PHP program

My rate 60$/hour.

I can write anything you request, as long it's not anything shady or illegal, like:
- botnets
- spamming tools
- programs to distribute copyrighted content

Contact me @danogentili.
Fixed CTR encryption, and fixed downloading of CDN files.
Fixed PWRTelegram userbot webhooks.
Fixes were made to the Lua module of MadelineProto.
To use MadelineProto in lua, read daniil.it/MadelineProto
The hosted version of the PWRTelegram API cannot upload/download files bigger than 50 MB anymore, because the amount of Full HD 1080p movies uploaded with it was killing the server.
You can install the API on your own server to upload files up to 1.5 gb, simply by cloning the repo (https://github.com/pwrtelegram/pwrtelegram) and creating the needed directory structure.
I can also provide you with a simplified installation script, just donate 10$ to paypal.me/danog, while specifying the username to which I should send the script (contact me first please).
You can also directly use daniil.it/MadelineProto (the API is just a wrapper for MadelineProto) for better performance.
MadelineProto was updated to layer 68!
It now supports the new group management features, and you can now use it to create, delete and edit stickerpacks, without the @stickers bot: https://daniil.it/MadelineProto/API_docs/methods/#stickers_addStickerToSet

See daniil.it/MadelineProto for more info.
PWRTelegram API channel
The hosted version of the PWRTelegram API cannot upload/download files bigger than 50 MB anymore, because the amount of Full HD 1080p movies uploaded with it was killing the server. You can install the API on your own server to upload files up to 1.5 gb, simply…
Note: the API may ask you to set a custom backend to use it.
In this case, we're talking about a user backend, required to fetch user info.
You can set it simply by calling a method.
user backend !== installation script for the backend
The API is, as usual, free to use.
(But really, you could've just read pwrtelegram.xyz, it contains all of the info you need)