pwrtelegram | Personal Development

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

Subscribe to a channel

PWRTelegram API channel

Hello!
I have created another fork of the telegram app that allows you to access the deep telegram!
The deep telegram is like a second unexplored telegram hosted on secondary testing servers.
As I and my friends proceed to explore the dark side of telegram, I will post updates on this channel and on the @daniilgentili channel on deep telegram. On that channel you will find two links to join an english and an italian deep telegram chat. Join them and the channel, we are testing how many users can join in a channel/group.
The app will soon be available on the play store, in the mean time I will send the apks.

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

PWRTelegram API channel

The app will be uploaded on the play store soon.

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

PWRTelegram API channel

Check out my news channel @daniilgentili for updates about all of my projects!

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

PWRTelegram API channel

Hello.
I just wanted you to know that I am developing a PHP client for the telegram MTProto protocol.
I have managed to implement TL serialization/deserialization, tcp abridged/full connections and partial support for tcp intermediate connections.
I have also successfully implemented a method_call function that can be used to call mtproto methods, a prime generation module based on Python or wolfram alpha and I am currently trying to make the generation of the authorization key to work.
Once I finish writing it I will be able to implement it into the PWRTelegram API.

But since this is a very big project, I would really appreciate your help with it: if we all collaborate MadelineProto will be completed a lot sooner and the PWRTelegram API will have a lot more features.

To contribute, check out the TODO list in the readme of the repo: https://github.com/danog/MadelineProto
Choose an objective from the todo list, fork the repo, make the needed changes and submit a pull request.
I will accept it as fast as possible.
If you want to discuss about the code you can also open an issue.

I'm eagerly awaiting contributors :)

Share this message around to all of your groups and channels and to people that might want to help, please.

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

PWRTelegram API channel

Hello.
Please reset the webhooks of all of your bots, because they were all reset by the telegram bot API.
This request applies both to bots that use the official bot API and bots that use the PWRTelegram bot API. You do not need to reset the webhook if you are using long polling (getUpdates).
The webhooks were probably reset because Telegram's making some server side changes or simply messed up the webhook database.

Share this message around to all of your groups and channels, please.

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

PWRTelegram API channel

Hey guys!
I want you to know that I'm sorry for the recent problems with the API, everything should work now.
I also want to let you know that I'm working on an enormous update for the API that will speed it up and simplify a lot of tasks!

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

PWRTelegram API channel

🔨 1 new commits to pwrtelegram:master:

c48a564: Cleaned up and optimized code, made getchat work even if user has never contacted the bot or if the user in question is a bot. by Daniil Gentili

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

PWRTelegram API channel

I recommend using webhooks instead of long polling with the PWRTelegram API.
Long polling requests tend to overload my servers 😁

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

PWRTelegram API channel

P.S. Thanks for 132 members! :)

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

PWRTelegram API channel

If you encounter problems while installing or using the API don't hesitate and write to @pwrtelegramgroup!

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

PWRTelegram API channel

I've set up load balancing on the main API endpoint (api.pwrtelegram.xyz).
This should speed up requests.

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

PWRTelegram API channel

Today the biggest update of the @pwrtelegram bot API is released!

Here are the features of the PWRTelegram API:
- All of the official telegram bot API features 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!

This API is written and maintained by danog (@danogentili on telegram) with the help of the folks over @BotDevelopment, especially itskenny0 (@shitposting on telegram) and Rondoozle (@POTUS on Telegram).

It is hosted and promoted by the awesome Bothosting.

The new PWRTelegram logo was created by @BayernPars.

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

All clients are supported, not just python clients.

Visit https://pwrtelegram.xyz for the full documentation!

There are lots of new features cooking such as the joining of groups using invite links (or in certain cases even the username of the group), the resolving of any username to user ids and much more!

You can help by doing the following things:
- Suggesting new features or reporting bugs by opening a new issue or contributing directly with pull requests @ the repos of the pwrtelegram github organization.
- Peer reviewing the source code of the API.
- Subscribing to the official pwrtelegram channel.
- Subscribing to the @BotHosting channel.
- Joining the official pwrtelegram development group.
- Following the official pwrtelegram twitter account
- Starring the repos of the pwrtelegram github organization.
- Sharing this message with all of your friends, your groups and forwarding it to your channels!

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

PWRTelegram API channel

I've also added some features to the API (see https://github.com/pwrtelegram/pwrtelegram).

As usual feel free to suggest new features by writing to @pwrtelegramgroup and debug existing ones using the main (api.pwrtelegram.xyz) or the beta (beta.pwrtelegram.xyz) API endpoints or the official @pwrtelegrambot.
If you find a bug create an issue in the github repository (or even better submit a pull request with a fix) or write to @pwrtelegramgroup or to @danogentili (in case of security issues).

P.S. Thanks to @spteit for linking to this channel.

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

PWRTelegram API channel

Working on some new features for inline queries...

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

PWRTelegram API channel

🔨 1 new commits to pwrtelegram:master:

8387650: Download files directly to the PWRTelegram storage server even if the store on pwrtelegram parameter isn't provided by Pwrtelegram

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

PWRTelegram API channel

Just wanted you to know that there's a typo in that message: the real support group is @pwrtelegramgroup, not @pwrtelegamgroup.

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

PWRTelegram API channel

Today, the first beta version of the PWRTelegram app is relased.

The PWRTelegram app is a fork of the official Telegram messenger app that can login as a bot.
You just need to provide the bot token and you will be able to receive all of the messages your bot receives or sends to its groups or users.
The app will login to the MTProto API, just like normal telegram clients. This way you will still be able to receive updates from your bot.
Once you login you won’t get a dialog list, but when a user sends you a message it will be received and the chat will be created.

This app is still in beta state, if you notice any bug report it to the official PWRTelegram group (/channel/pwrtelegamgroup) by sending an accurate description of the problem with the logs (settings->send logs).

Download links:
Universal: https://github.com/pwrtelegram/pwrtelegram-app/raw/master/TMessagesProj/TMessagesProj-fat-release.apk
ARMV7: https://github.com/pwrtelegram/pwrtelegram-app/raw/master/TMessagesProj/TMessagesProj-armv7-release.apk
ARM: https://github.com/pwrtelegram/pwrtelegram-app/raw/master/TMessagesProj/TMessagesProj-arm-release.apk
X86: https://github.com/pwrtelegram/pwrtelegram-app/raw/master/TMessagesProj/TMessagesProj-x86-release.apk

Also do check out the PWRTelegram bot API: a boosted version of telegram's bot API that can upload/download files up to 1.5 GB, supports anonymous downloads and much more! (https://pwrtelegram.xyz).

This repo with the official source code for the PWRTelegram App for Android can be found @ https://github.com/pwrtelegram/pwrtelegram-app.

This app was modified by Daniil Gentili (https://daniil.it).

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

PWRTelegram API channel

I've successfully implemented authorization and support for tcp full/intermediate/abridged connections in MadelineProto.
Hopefully, soon I will be able to implement it in the PWRTelegram API.
Check out the repo: https://github.com/danog/MadelineProto

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

PWRTelegram API channel

Hello.
The PWRTelegram API is now hosted on a shiny new vps with blazing fast network connection and high end specs.
Enjoy the speed.

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

PWRTelegram API channel

Here are some news regarding the upcoming update of the API:
I've just finished writing a PHP implementation of python's struct module (https://docs.python.org/3/library/struct.html) called PHPStruct: https://github.com/danog/PHPStruct
This library can be used to pack/unpack strings, ints, floats, chars and bools into bytes.
It has lots of advantages over PHP's native implementation of pack and unpack, such as:
- Custom byte endianness.
- Lots of useful formats that aren't present in the native implementation.
- The syntax of the format string of pack and unpack is the same as in python's struct module.
- The result of unpack is normal numerically indexed array that starts from 0 like it should.
- The result of unpack has type casted values (int for integer formats, bool for boolean formats, float for float formats and string for all of the other formats).
- Pack is more strict about the type of input formats.
- The calcsize function is implemented.

For more info visit the official github repo of the library: https://github.com/danog/PHPStruct (do not forget to star it!).
And the documentation of the struct module: https://docs.python.org/3/library/struct.html

This library will be used in a PHP implementation of mtproto that I will integrate into the API: https://github.com/danog/MadelineProto

Share this message with your friends!

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

PWRTelegram API channel

Hey guys! If you feel that some features are missing feel free to create feature requests @ https://github.com/pwrtelegram/pwrtelegram/issues

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

PWRTelegram API channel

I've just implemented the resolving of usernames in the @pwrtelegram API.
Thanks to this feature you will be able to use not only usernames of channels and groups, but also usernames of bots and normal users in the chat_id parameter.
This also means that you will be able to get info about any user or bot using the getChat method.

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

PWRTelegram API channel

If you are encountering problems while sending big files trough the API please note that this API won't be able to send big files if getUpdate or webhook requests aren't proxied through it. This is because when the API uploads these files using tg-cli it must then obtain a file_id using the official bot API, and that can be done only by intercepting the incoming update with the file.

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

PWRTelegram API channel

A tutti gli italiani che sono iscritti a questo canale: vi invito a iscrivervi e a condividere la versione italiana di questo canale, @pwrtelegramita, e a unirvi al gruppo di supporto italiano, @pwrtelegramgroupita.
To all the italians in this channel: please subscribe and share the italian version of this channel, @pwrtelegramita, and join the italian support group, @pwrtelegramgroupita.

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

PWRTelegram API channel

I've seen a lot of people intrested in my API, but most were reluctant to implement it in their bots because they were afraid of it stealing or leaking their token.

Well, I got good news for you: the @pwrtelegram API never stores your bot's token in any database or file, neither in plain text nor as a hash.
There is no way I can see your bot's token.

If you're still worried about security breaches or if you're just being paranoid (good for you), you can take a look at the source code of the API (https://github.com/pwrtelegram) to confirm my words or even install it on your own server with https://github.com/pwrtelegram-backend

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

PWRTelegram API channel

Thanks for nearly 120 members!
To help even more bot developers share this channel on your groups, channels and bots!
:)

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

PWRTelegram API channel

Thanks to @bothosting for hosting the PWRTelegram API and for featuring us on their channel!

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

PWRTelegram API channel

I've finished writing the pwrtelegram installation script.
This script can be used to install the PWRTelegram API on your server.
I've used it to install pwrtelegram on the shiny new (and blazing fast) vps provided by @BotHosting. :)

If you find a bug don't hesitate and write to @pwrtelegramgroup, or open an issue or a pull request in the repository of the script: https://github.com/pwrtelegram/pwrtelegram-backend

Visit the above page to view the installation instructions.

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

PWRTelegram API channel

Damn, the PWRTelegram storage server is fast, thanks to CloudFlare's Caching feature.
Another thing I like is that Cloudflare does the hosting for me (once a file is downloaded at least once I can delete it from the storage server and it still remains available for download, even if it's a 1GB file). :)

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

PWRTelegram API channel

🔨 1 new commits to pwrtelegram:master:

1817db4: Improve upload, download and file info functions and fix bug in file name setting (via upload) by Pwrtelegram

Читать полностью…
Subscribe to a channel