pwrtelegram | Саморазвитие

Telegram-канал pwrtelegram - PWRTelegram API channel

885

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

Подписаться на канал

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 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.

Читать полностью…

PWRTelegram API channel

Fixed PWRTelegram userbot webhooks.

Читать полностью…

PWRTelegram API 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.

Читать полностью…

PWRTelegram API channel

Coming soon, madeline.py: a python version of MadelineProto, available for only 49,99$!

Читать полностью…

PWRTelegram API channel

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.

Читать полностью…

PWRTelegram API channel

The PWRTelegram API isn't affected by this issue.

Читать полностью…

PWRTelegram API channel

To speed up MadelineProto even more, enable the gmp extension and compile the PrimeModule extension: https://github.com/danog/PrimeModule-ext

Читать полностью…

PWRTelegram API 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 = $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

Читать полностью…

PWRTelegram API channel

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

Читать полностью…

PWRTelegram API channel

You can now delete service messages with the deleteMessages method!

Читать полностью…

PWRTelegram API channel

Check out my PHP prime factorization extension, https://github.com/danog/PrimeModule-ext
It can factorize semiprimes up to 2^63-1, even on 32 bit systems, at incredible speeds.
You can use it together with its OOP wrapper, https://github.com/danog/PrimeModule

Читать полностью…

PWRTelegram API channel

I forgot to say that the API is extremely fast now :DDDDDDDDDDDDD

Читать полностью…

PWRTelegram API channel

#coolpwrstuff
To send mentions by user id, even for users that do not have a username, use the following syntax:
https://api.pwrtelegram.xyz/botTOKEN/sendmessage

Parameters:

chat_id=id
text=<a href="mention:101374607">HEY YOU</a>
parse_mode=HTML
mtproto=true

Читать полностью…

PWRTelegram API channel

The PWRTelegram API now runs on a powerful new server with 64 gb of ram, as usual generously offered by flo :3 ❤️❤️❤️

Читать полностью…

PWRTelegram API channel

Farsi users may now join the official farsi group: https://t.me/joinchat/AAAAAERlsQpmK-BGZlGZ9A
We also have an international group: @pwrtelegramgroup
An italian group: @pwrtelegramgroupita
And a russian group: @pwrtelegramgrouprus

Читать полностью…

PWRTelegram API channel

Fixes were made to the Lua module of MadelineProto.
To use MadelineProto in lua, read daniil.it/MadelineProto

Читать полностью…

PWRTelegram API channel

Fixed CTR encryption, and fixed downloading of CDN files.

Читать полностью…

PWRTelegram API 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

Читать полностью…

PWRTelegram API channel

MadelineProto can now be proxied! See daniil.it/MadelineProto for more info.

Читать полностью…

PWRTelegram API channel

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 API channel

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.

Читать полностью…

PWRTelegram API channel

MadelineProto was updated!
It is now EVEN faster, and has lots of nice method wrappers!
See https://daniil.it/MadelineProto for more info!

Читать полностью…

PWRTelegram API 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!

Читать полностью…

PWRTelegram API channel

MadelineProto is always a step ahead of the bot API, for example, it can already call the payment methods:
http://daniil.it/MadelineProto/API_docs/methods/payments_clearSavedInfo.html
http://daniil.it/MadelineProto/API_docs/methods/payments_getPaymentForm.html
http://daniil.it/MadelineProto/API_docs/methods/payments_getPaymentReceipt.html
http://daniil.it/MadelineProto/API_docs/methods/payments_getSavedInfo.html
http://daniil.it/MadelineProto/API_docs/methods/payments_sendPaymentForm.html
http://daniil.it/MadelineProto/API_docs/methods/payments_validateRequestedInfo.html

There are lots of other methods that are not enabled in any official client yet, for the full list see https://daniil.it/MadelineProto/API_docs/methods
Some of these methods may not work on the main servers, but will work on the testing servers, use the config found in .env.calls to access them.

Читать полностью…

PWRTelegram API channel

Check out https://github.com/danog/MagicalSerializer
It's an awesome library that allows you to easily serialize built-in PHP classes (like Threaded, Volatile, PDO, and so on) or classes that extend them!

Читать полностью…

PWRTelegram API channel

Bugs I found in PHP so far:
https://bugs.php.net/bug.php?id=74545
https://bugs.php.net/bug.php?id=74586

The last bug is also a very serious memory leak :D:

Читать полностью…

PWRTelegram API channel

It's been more than a year since I created pwrtelegram, and the above can still be said :D
During this year of activity pwrtelegram has evolved to become s fully fledged telegram client, based on https://Github.com/danog/MadelineProto?v=new
It can now execute mtproto methods (the ones all official clients use to interact with telegram), either as a user, or as a bot (see pwrtelegram.xyz for info on how to do that, and Daniil.it/MadelineProto/API_docs/methods/ for the full method list).
It is being used by a LOT of users, directly through the API or indirectly through the bots using the API.
I'm amazed by the success of this single-dev project.
Thank you all again, for everything.
P.S. I see telegram is testing the deleteMessage method (yet again, copycats xd), but since it isn't working for all bots, I suggest you use the much faster deleteMessages method of the pwrtelegram API, since it can delete up to a billion messages with a single API call (and no, it is not running a foreach loop internally: the mtproto methods used to delete messages already accept an array of message ids, the official bot API is simply, as usual, limiting the power of the MTProto API).

Читать полностью…

PWRTelegram API channel

#coolpwrstuff
To obtain the member list of any group/supergroup/channel as a bot, simply run the getChat method as a bot: the parameters are the exactly the ones you must use in the official bot API, for the result see daniil.it/MadelineProto/Chat.html

Читать полностью…

PWRTelegram API channel

گروه برای کابران فارسی ساخته شد
عضو شوید
https://t.me/joinchat/AAAAAERlsQpmK-BGZlGZ9A

گروه عمومی @pwrtelegramgroup

An italian group: @pwrtelegramgroupita
And a russian group: @pwrtelegramgrouprus

Читать полностью…

PWRTelegram API channel

You can now delete messages from supergroups/channels again!

Читать полностью…
Подписаться на канал