PWRTelegram API channel

@pwrtelegram Нравится 0
Это ваш канал? Подтвердите владение для дополнительных возможностей

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
Гео и язык канала
Иран, Фарси
Категория
не указана


Гео канала
Иран
Язык канала
Фарси
Категория
не указана
Добавлен в индекс
09.05.2017 23:31
реклама
Telegram Analytics
Подписывайся, чтобы быть в курсе новостей TGStat.
TGAlertsBot
Мониторинг упоминаний ключевых слов в каналах и чатах.
TGStat Bot
Бот для получения статистики каналов не выходя из Telegram
1 203
подписчиков
~518
охват 1 публикации
~43
дневной охват
~30
постов / месяц
43.1%
ERR %
1.05
индекс цитирования
Репосты и упоминания канала
10 упоминаний канала
2 упоминаний публикаций
26 репостов
MadelineProto | Official Channel
Telegram Android ID Channel
Telegram Android ID Channel
PHP bot Uz
UserBotUZ 🇺🇿
O₲ᎻᎪᏴ™
Telegram Beta Core
MtProxeiss
Private Chat Leaks
Daniil Gentili's news channel
MadelineProto | Official Channel
Daniil Gentili's news channel
MadelineProto | Official Channel
Crosser Live
Daniil Gentili's news channel
MadelineProto | Official Channel
CRUEL Project ™
mattata's Channel
mattata's Channel
MadelineProto | Official Channel
Daniil Gentili's news channel
MadelineProto | Official Channel
Daniil Gentili's news channel
Daniil Gentili's news channel
Daniil Gentili's news channel
Daniil Gentili's news channel
Daniil Gentili's news channel
Daniil Gentili's news channel
Daniil Gentili's news channel
Daniil Gentili's news channel
Daniil Gentili's news channel
Daniil Gentili's news channel
Daniil Gentili's news channel
🇮🇹 Group Help Channel
Daniil Gentili's news channel
Daniil Gentili's news channel
Каналы, которые цитирует @pwrtelegram
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
Telegram Contests
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
Daniil Gentili's news channel
MadelineProto | Official Channel
Daniil Gentili's news channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
MadelineProto | Official Channel
Последние публикации
Удалённые
С упоминаниями
Репосты
🦄
I wish you all a very happy new year!
❤️❤️❤️
PWRTelegram API channel 29 Dec 2019, 23:36
FREEBIES

Here's a fully parallelized file rename + URL download bot based on MadelineProto.

Max file size: 1.5GB

A working instance can be found here: @pwrtelegrambot
Attached file
PWRTelegram API channel 29 Dec 2019, 23:36
MadelineProto was updated to v5!

Introducing upload by URL, file renaming, parallelized downloads and uploads!

You can now use MadelineProto to rename Telegram files or upload them by URL: all uploads and downloads will be made 100% in parallel, 20 chunks at a time for maximum speed (value tweakable in the settings).
For more info, see the new file documentation.

Also introducing:
- Strictly typed, camelCase public API, now all methods can also be called in camelCase, with PHP type hinting for most parameters and return values.
- Full PHPDOC documentation for all the public API, for perfect documentation in your favorite IDE :)
- Several internal bugfixes, refactoring and general performance and stability improvements.
- Improved tests, to avoid backwards compatiblity issues with previous sessions when pushing.
- Clean composer dependencies, now you just have to require danog/madelineproto ^5.0 and nothing else in your composer.json!

Breaking changes:
- NONE :D; you don't have to change your code!
Читать полностью
PWRTelegram API channel 23 Dec 2019, 20:59
This is not all: there are still some very cool projects I've yet to finalize and release, eventually you'll see them.

I wish you all a Merry Christmas, and a very happy new year!

❤️❤️❤️
PWRTelegram API channel 23 Dec 2019, 20:41
Finally, feel free to take a look at my submission to the TON contest: https://github.com/danog/toncontest

The repository contains well-documented code for multiple TON smart contracts, a testing suite based on the official TON validator, and a build toolchain for TON.
PWRTelegram API channel 23 Dec 2019, 20:41
Instantiation

use danog\MadelineProto\TON\API;

$API = new API(
[
'logger' => [
'logger' => Logger::ECHO_LOGGER
]
]
);

Usage:

$API->async(true);
$API->loop(
function () use ($API) {
yield $API->connect(__DIR__.'/ton-lite-client-test1.config.json');
var_dump(yield $API->liteServer->getTime());
}
);

For a full overview of async in MadelineProtoTon, take a look at the MadelineProto async docs.

For a full list of methods that can be used, simply look at the PHPDOC suggestions in your favorite IDE, or take a look at the ---functions--- section of the lite TL scheme (HTML docs coming soon).

This API can be used to build web-facing HTTP APIs that query the TON blockchain (using the async http-server), off-chain elements for TON applications and so much more!

Since it's in PHP & integrated in MadelineProto, you can also use it in free webhosts (aka use the blockchain on 000webhost AAAAAAAAA ❤️❤️❤️❤️❤️)
Читать полностью
PWRTelegram API channel 23 Dec 2019, 20:41
Next, I am proud to announce support for the TON protocol in MadelineProto.

MadelineProto is now capable of integrating with the Telegram TON blockchain, thanks to a fully native implementation of ADNL and the lite-client protocol.

It allows async interaction with liteservers in the same manner as the official lite-client, only with way more abstractions and ease of use.
Читать полностью
PWRTelegram API channel 23 Dec 2019, 20:41
madelineTon.js is actually based on yet another project of mine, a pure JS Telegram MTProto client (madeline.js) which will be released soon ™️™️™️.
PWRTelegram API channel 23 Dec 2019, 20:41
This project provides an ADNL protocol lite-client, allowing to fetch blocks from the TON blockchain and send ext messages to the validators.

import Lite from 'madeline-ton';

const liteClient = new Lite()

liteClient.connect().then(async () => {
console.log("Connected!")

console.log(await liteClient.getVersion())
console.log(await liteClient.getTime())
console.log(await liteClient.methodCall('liteServer.getMasterchainInfo'))

await liteClient.last()
const state = await liteClient.methodCall('liteServer.getAccountState', {
account: 'EQAnoW6-IZHisrcCsiSFDewx79W4oYfocKveh3b44uNIIepe'
})
console.log(state)
console.log(liteClient.slice(state.state)) // Deserialize BOC
})

By default, the lite client will connect and authorize to the endpoints specified in the testnet config file, however you can provide your own config to the constructor (all fields are optional and will be filled automatically if missing):

const liteClient = new Lite({
config: liteConfig, // Contents of ton-lite-client-test1.config.json
wssProxies: { // Websocket proxy endpoints, per-IP
1137658550: 'wss://ton-ws.madelineproto.xyz/testnet'
},
schemes: {
1: schemeTON, // ton API TL scheme JSON file
2: schemeLite // lite API TL scheme JSON file
},
})
Читать полностью
PWRTelegram API channel 23 Dec 2019, 20:41
Installation:

yarn add madeline-ton
PWRTelegram API channel 23 Dec 2019, 20:41
First of all, madelineTon.js:

A pure JS client-side implementation of the Telegram TON blockchain protocol.

Interact directly with the TON blockchain with no middlemans, directly from your browser!

This is possible thanks to a client-side implementation of the ADNL P2P protocol (whitepaper).
Connection to the liteservers is made through a simple websocket proxy that simply acts as a TCP websocket proxy.

All cryptography is done exclusively in the browser, allowing fully secure interaction with the chosen TON node.

The client is fully asynchronous, making use of workers and/or browser webcrypto APIs for cryptography (curves & AES).

TL, ECC w/ TON ADNL, BOC deserialization is implemented.

Possible applications are entirely client-side off-chain components for a distributed TON project; API explorers; and much more!
Читать полностью
PWRTelegram API channel 23 Dec 2019, 20:41
I am extremely proud to announce the release of some projects I've been working on for the last three months, in the context of the Telegram Contests.
PWRTelegram API channel 4 Sep 2019, 15:52
The PWRTelegram app has been updated!

Features:
-
skip (private) messages download (add :f after token)

Fixes:
-
chat gallery
- scroll photos
- channels randomly disappear
- private chats with more than 100 messages do not load

Release Notes:
-
now is based on telegram 5.10
- some internal functions have been
rewrited to be more efficient with bots


source code: https://bit.ly/2lwO0um
apk: https://bit.ly/2kulsBB
Читать полностью
PWRTelegram API channel 29 Jun 2019, 17:08
The PWRTelegram app has been updated!

Features
:
- tabs
- fast history fetcher
(for groups and channels)

Fixes:
- edit / delete message now works
- high cpu usage in supergroups
- all native libraries are now compiled with llvm 8.0

Ps: the codebase of pwrtelegram is telegram-foss 5.4 because telegram releases new telegram android source code in a big undocumented commit, cherry picking patches from mainline is impossible, every update i spend a lot of time for reimplement all patches for new version

Download Now
Читать полностью
PWRTelegram API channel 19 Jun 2019, 18:40
Internal API improvements:
- I created a unique, reliable, fast and extremely simple update handling system based on MadelineProto's loop API, not present in any other MTProto client, not even tdlib.
- Brand new async Stream connection stack
- Unique async message handler stack
- Abstract TLCallback API
- File reference database
- DNS over HTTPS


With MadelineProto 4.0, each update is handled in parallel using a separate thread, and everything is done in parallel (even on restricted webhosts, perfect for creating file downloader bots!).

To learn more about parallel processing with async, see the following tutorials:
- Async basics
- Async HTTP (file_get_contents)
- Async helper functions (p. 1, 2)
- Async forking
- Async background loops
- Async libraries by AMPHP


I am really happy with how MadelineProto 4.0 turned out.

I had an absolute blast working on this update, and implementing async really opened a whole sea of possible innovations and features I can implement in MadelineProto now.

(this is just a TL;DR of the full changelog, see the original posts for the full feature list)
Читать полностью
PWRTelegram API channel 19 Jun 2019, 18:40
MadelineProto 4.0 was released!

100x speed improvement + parallel processing of each update, and much more!

You don't have to change your code to use the new version.
You don't have to define('MADELINE_BRANCH', ''); in your scripts to use the new version anymore, it will be loaded automatically!
By default, the latest stable release of MadelineProto 4.0 will be loaded: to load the latest alpha version, use define('MADELINE_BRANCH', ''); or define('MADELINE_BRANCH', 'master');.

MadelineProto 4.0 async does not support all webhosts, due to their highly modified PHP stacks (000webhost does not seem to work properly, altervista surprisingly works).

To load the deprecated v3 version on these webhosts, write define('MADELINE_BRANCH', 'deprecated'); before including madeline.php.
Note: I will not provide support for the deprecated version of MadelineProto: I will not fix bugs or write documentation for the old version.
The documentation will not contain info about API methods present in the old version, and eventually the old version may stop working: I invite you to switch to a better webhost using MadelineProto 4.0 to avoid these issues.

Breaking changes:
- Removed the old Serialization APIs: now serialization is done automatically by MadelineProto!

Deprecations:
- Deprecated get_updates: it's still working, but I recommend you switch to event handler for 100x speed improvements and parallel processing


Changes:
- Documented the MyTelegramOrgWrapper API, that can be used to login programmaticaly to the my.telegram.org management page and get the API ID of your app.
- Improved chat message splitting algorithm
- Removed all dependencies to curl: now all HTTP requests are made asynchronously using a custom version of artax
- Updated php-libtgvoip and introduced a common API for changing phone call settings
- Improved the madeline.php loader
- Increased the default flood wait limit to 10 minutes, since with async waiting for the flood wait isn't blocking anymore
- When running from web, MadelineProto will also automatically enable logging of PHP errors (not MadelineProto logs) to a MadelineProto.log file located in the same directory as the script that loaded MadelineProto.

New API features:
- Fully async logic!
- MTProxy and dynamic proxy support!
- Very important, I wrote documentation on what to do if your account gets banned.
- I commited a few crimes by bringing back support for PHP 5.6 and PHP 7.0 using a heavily modified version of 7to5 and 7to70 if you load MadelineProto using madeline.php: async is supported on PHP 5.6!
However, I do not recommend you use PHP 5 or 7.0: I did this only to support async logic on webhosts, if you're running on your own machine install PHP 7.3+ (PHP 7.1 isn't recommended due to some socket bugs).

- Shutdown API, for executing operations on shutdown
- Built-in locking, to prevent multiple instances of the bot from running together
- You can now use the @support username in sendMessage and other methods to send messages to the support user!
- Now MadelineProto will automatically try to get the access hash of users not present in the internal peer database (this should reduce errors)!
- If any file cannot be downloaded to due issues with the tg media server that is hosting it, it will be automatically sent to the @support user (settings).
- Added a resetUpdateState method to reset the update state and fetch ALL updates from the beginning
- Added a __magic_sleep substitute for __sleep in the CombinedEventHandler
- Added support for automatic file uploads by name in secret chats (as with normal chats); you can also now send secret chat messages using the sendMessage method as if it were a normal chat
- Rewritten the APIFactory, the abstraction layer that stands between you and MadelineProto when you do $MadelineProto->method(): it is now fully async, and MUCH faster thanks to a new cached method mapping system.
- The same cached method mapping system is also used for the event handler, which means that now the event handler is the fastest update management method.
MadelineProto | Official Channel
Writing MadelineProto async, I really enjoyed working with the AMPHP framework: it is very fast, has multiple packages to work asynchronously with HTTP requests, websockets, databases (MySQL, redis, postgres, DNS, sockets and much more)! I chose AMPHP instead of the more famous ReactPHP due to its speed, rich set of libraries and extreme ease of use. Working with its devs is also nice; I already contributed to the amphp's libraries with some improvements and bugfixes (I will soon also implement a DNS over HTTPS client for AMPHP, to implement in MadelineProto's artax), and I invite you to do the same! Even if you don't contribute to AMPHP, you can still use it: as I mentioned above, there are MANY libraries to work asynchronously with files, databases, DNS, HTTP; there's even an async windows registry client, used by the DNS client to fetch default DNS servers on windows! When you use MadelineProto async, you have to also use an amphp async database client, artax instead of curl and guzzle, and so on: otherwise…
Читать полностью
PWRTelegram API channel 6 Jun 2019, 00:22
About this project: PWRTelegram might come back very soon with PWRTelegram 2.0 (now asynchronous!), thanks to the help of a friend ❤️❤️❤️
PWRTelegram API channel 5 Jun 2019, 23:32
What do you want me to implement first?
Опрос
  • Automatic asyncification (for parallelism and maximum speed)
  • Async file upload by url (1.5gb)
  • Get direct download url of any file (1.5gb)
  • TON
  • Group calls
  • Video calls
  • Native calls
  • #MadelineProtoForNode async | lua async
  • Layer 100
  • #phase1 🇮🇷🇷🇺
777 голосов
PWRTelegram API channel 5 Jun 2019, 23:32
Not related to MadelineProto: I'm also working on a new solution to permanently bypass ISP blocks and stop telegram censorship.

This will probably interest our Russian and Iranian users)

Stay tuned on this channel for updates.

#phase1????