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
I'm working on some awesome pwrtelegram improvements for instant views! :DD
Forwarded from MadelineProto | Official Channel
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!
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!
docs.madelineproto.xyz
Async PHP client API for the telegram MTProto protocol
Forwarded from MadelineProto | Official Channel
#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 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
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
MadelineProtoDocs
updateNewMessage
New message.
Forwarded from MadelineProto | Official Channel
MadelineProto was updated!
It is now EVEN faster, and has lots of nice method wrappers!
See https://daniil.it/MadelineProto for more info!
It is now EVEN faster, and has lots of nice method wrappers!
See https://daniil.it/MadelineProto for more info!
docs.madelineproto.xyz
Async PHP client API for the telegram MTProto protocol
Forwarded from MadelineProto | Official Channel
To speed up MadelineProto even more, enable the gmp extension and compile the PrimeModule extension: https://github.com/danog/PrimeModule-ext
GitHub
GitHub - danog/PrimeModule-ext: C++ header-only library, binary and FFI library for factorizing huge 64-bit numbers.
C++ header-only library, binary and FFI library for factorizing huge 64-bit numbers. - danog/PrimeModule-ext
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.
Sorry about that.
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.
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 MadelineProto | Official Channel
MadelineProto can now be proxied! See daniil.it/MadelineProto for more info.
docs.madelineproto.xyz
Async PHP client API for the telegram MTProto protocol
Forwarded from Daniil Gentili
Coming soon, madeline.py: a python version of MadelineProto, available for only 49,99$!
Forwarded from MadelineProto | Official Channel
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
https://github.com/danog/MadelineProto
GitHub
GitHub - danog/MadelineProto: Async PHP client API for the telegram MTProto protocol
Async PHP client API for the telegram MTProto protocol - danog/MadelineProto
Forwarded from MadelineProto | Official Channel
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.
- 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.
Forwarded from MadelineProto | Official Channel
Fixed CTR encryption, and fixed downloading of CDN files.
Forwarded from MadelineProto | Official Channel
Fixes were made to the Lua module of MadelineProto.
To use MadelineProto in lua, read daniil.it/MadelineProto
To use MadelineProto in lua, read daniil.it/MadelineProto
docs.madelineproto.xyz
Async PHP client API for the telegram MTProto protocol
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.
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.
GitHub
GitHub - pwrtelegram/pwrtelegram: Repository for the pwrtelegram bot API.
Repository for the pwrtelegram bot API. Contribute to pwrtelegram/pwrtelegram development by creating an account on GitHub.
Forwarded from MadelineProto | Official Channel
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.
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.
docs.madelineproto.xyz
Methods
What do you want to do?
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.
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)