Also, here's an example call bot like @magnaluna, written in lua: http://gitlab.com/giuseppem99/lua-call-bot
Читать полностью…You can now install pwrtelegram via docker, thanks to houna!
https://hub.docker.com/r/houna/pwrt/
MadelineProto is now approved by telegram: telegram.org/apps
کتابخانه میدلاین (MadelineProto ) توسط تلگرام تایید شد و در سایت رسمی تلگرام قرار گرفت: telegram.org/apps
What is MadelineProto?
میدلاین چیست؟
It's a library (a much better version of tg-cli) that allows you to create bots, userbots, and webradios like @magnaluna
میدلاین یک لایبرری (کتابخانه ای بهتر از tg-cli) است که به شما اجازه میدهد که ربات بسازید، ربات هایی با اکانتهای معمولی تلگرام بسازید و یا حتی رادیو راه اندازی کنید! نمونه ربات: @magnaluna (با این اکانت تماس بگیرید و رادیو گوش دهید!)
It can login as a normal user, or as a bot, and it can:
این کتابخانه به شما اجازه میدهد که بصورت یک اکانت معمولی یا ربات تلگرام لاگین کنید و امکانات زیر را در اختیار شما قرار میدهد:
- handle secret chats
- مدیریت چت های امنیتی (Secret Chat)
- play audio files in voice calls
- پخش فایل صوتی دلخواه در تماس های ورودی.
- press inline/normal keyboard buttons
- ایجاد کیبورد با دکمه های اینلاین و معمولی
- upload/download files up to 1.5 gb
- آپلود و دانلود فایل تا حجم 1.5گیگ
- join groups
- ورود به گروه ها
- set/change the 2FA password
- مدیریت پسورد ورود دو مرحله ای اکانت
- make bot payments
- ساخت ربات با قابلیت پرداخت های تحت تلگرام
- change the background of chats
- تغییر پس زمینه چت
- report users
- گزارش تخلف کاربران، کانل و ربات ها (report)
- send messages to every user in the chat list
- ارسال پیام به کاربر دلخواه
- set bios/propics/names
- مدیرت بیوگرافی، عکس پروفایل و مشخصات اکانت خود
- create/delete groups/channels/supergroups
- ساخت و مدیرت گروه، سوپرگروه و کانال
- create telegram accounts
- ساخت اکانت تلگرام (ثبت نام شماره جدید)
- add users to groups
- افزودن و دعوت کاربران به گروه و کانال
- obtain instant view versions of web pages
- قابلیت پیش نمایش صفحات وب
- add/block contacts
- افزودن، مدیریت و یا بلاک کردن مخاطب
- download telegram translations directly from their servers
- دانلود مستقیم ترجمه های تلگرام از سرورهای تلگرام
- search users messages
- جستجوی پیام کاربران، مخاطبان
- obtain the full member list of groups/channels
- بدست آوردن لیست کامل کابران گروه و یا کانال
- set granular limitations for users in groups (disallow sending stickers or gif or media or games or links or using inline bots) and channels/supergroups (can send or modify or delete or pin messages, ban or invite users or admins or create invite links)
- مدیریت اعضای گروه، مانند ایجاد محدودیت در ارسال پیام، استیکر و... و یا پین کردن یک پیام در گروه، تغییر لینک دعوت گروه و همچنین مدیرت اعضای کانال های خود.
- do everything official bots can do
- و هر امکانی که ربات های رسمی میتوانند انجام دهند با میدلاین هم میتوانید انجام دهید.
- do everything official apps can do
- همچنین هر امکانی که نرم افزار تلگرام رسمی دارد، میدلاین نیز دارد.
It can be used in every modern programming language, including PHP, Lua, Python, Javascript, Java, Rust, C++, C#, VBS (xd), and is now approved by Telegram, as you can see by the official app list: telegram.org/apps
این کتابخانه قابل استفاده در اکثر زبان ها مانند PHP, Lua, Python, Javascript, Java, Rust, C++, C#, VBS (xd) است و هم اکنون توسط سایت رسمی تلگرام مورد تایید قرارگرفته است.
The documentation can be found @ docs.madelineproto.xyz and pwrtelegram.xyz
راهنمای کامل این کتابخانه را از لینک های زیر مطالعه کنید:
docs.madelineproto.xyz
pwrtelegram.xyz
Thanks to wecan for the translation
Madeline.py status:
(- = todo, + = done)
+ crypto module
+ TL module
+ message id handler module
- seqno handle module
- connection module
- message handler module
- auth key module
- peer handler module
- file handler module
- secret chat module
- call module
I've decided to make madeline.py free and open source.
But I will finish writing madeline.py only after receiving 50 donations bigger than 1$ to PayPal.me/danog
The reason for this is that I don't want to spend time on a software that no one will use and/or will be leaked as soon as I release it.
@magnaluna was deleted by telegram, you might want to recontact the new user with the same username.
Читать полностью…Pushed fixes to MagicalSerializer, run
composer update
ASAP, especially if you're using calls.
Also, added a setBitrate method to the \danog\MadelineProto\VoIP class that allows you to set the maximum outgoing bitrate, and, if
$voip->getOutputState() >= AUDIO_STATE_CREATED
, increase the bitrate of the call to the maximum outgoing bitrate (higher values increase the quality of the song).
Update php-libtgvoip (don't forget to update the libtgvoip submodule, too!) to make use of this new method.
Also, changed the OPUS signal type to music, to improve audio encoding of songs.
@magnaluna now uses a bitrate of 100kbps, for crystal-clear songs!
The bitrate will be automatically lowered, based on your network conditions.
OK, thanks! I found and fixed a small bug! Let's do that one more time, all together now!
Читать полностью…Try making a call, closing it, and the recalling, multiple times. I'm just doing some load testing :D
Читать полностью…Thanks to The Doctor, you can now use your tg-cli lua scripts with madeline!
http://github.com/giuseppem99/madeline_lua_shim
Just a note, @stickeroptimizerbot, @audiokeychainbot, @bluetextbot, @mkcounterbot are still turned on, no idea how did @stickeroptimizerbot's token end up in the bot turned off broadcasting list.
Читать полностью…And now, let's talk about the future of my projects: PWRTelegram is now superseeded by MadelineProto, please use that now.
madeline.py is coming soon, the first beta (only for those who donated) probably this month, the final release probably towards december.
Since this year is my final high school year, development of all of my projects will slow down, and probably stop towards summer.
So you shouldn't don't worry if I'm offline for more than a few days ❤️
However, I also have some other really cool non-programming projects coming up.
I'll be holding a Swing course at my family's dance school towards October, make sure to like the school's facebook page (https://www.facebook.com/fantasiadanzarovigo/) to get all of the latest updates, I'll post here a link to the Swing event when it'll be ready.
Please stop using PWRTelegram.
You may have noticed that PWRTelegram is having frequent and long periods of downtime lately.
That is due to the extremely heavy load it is under currently, so please stop using it.
PWRTelegram is just an HTTP wrapper for a free and open source telegram client library called MadelineProto (https://madelineproto.xyz).
You should all use directly MadelineProto, because it is SO much faster than PWRTelegram.
It can be used from PHP and Lua (a tg-cli wrapper is also available @ https://github.com/giuseppeM99/madeline_lua_shim), and you can easily write your own HTTP wrapper using PWRTelegram (github.com/pwrtelegram/pwrtelegram) as base.
It will be available in python in December, but PLEASE use the PHP version in the meantime, it is much faster than the python version, and much easier to use.
See docs.madelineproto.xyz for the method list and full instructions (you can also make telegram voice calls with MadelineProto!),
MadelineProto is now approved by telegram: telegram.org/apps
What is MadelineProto?
It's a library (a much better version of tg-cli) that allows you to create bots, userbots, and webradios like @magnaluna
It can login as a normal user, or as a bot, and it can:
- handle secret chats
- play audio files in voice calls
- press inline/normal keyboard buttons
- upload/download files up to 1.5 gb
- join groups
- set/change the 2FA password
- make bot payments
- change the background of chats
- report users
- send messages to every user in the chat list
- set bios/propics/names
- create/delete groups/channels/supergroups
- create telegram accounts
- add users to groups
- obtain instant view versions of web pages
- add/block contacts
- download telegram translations directly from their servers
- search users messages
- obtain the full member list of groups/channels
- set granular limitations for users in groups (disallow sending stickers or gif or media or games or links or using inline bots) and channels/supergroups (can send or modify or delete or pin messages, ban or invite users or admins or create invite links)
- do everything official bots can do
- do everything official apps can do
It can be used in every modern programming language, including PHP, Lua, Python, Javascript, Java, Rust, C++, C#, VBS (xd), and is now approved by Telegram, as you can see by the official app list: telegram.org/apps
The documentation can be found @ docs.madelineproto.xyz and pwrtelegram.xyz
Update php-libtgvoip to add getSignalBarsCount.
You can now run $controller->getSignalBarsCount() to get an integer representing a signal bar (0-4).
How? Read docs.MadelineProto.xyz, docs.MadelineProto.xyz/API_docs (lua/php), pwrtelegram.xyz, http://docs.MadelineProto.xyz/API_docs (python/bash/c#/c++/any other language).
Читать полностью…Did you know that MadelineProto can handle secret chats, obtain the full member list of groups/channels, set granular limitations for users in groups (disallow sending stickers or gif or media or games or links or using inline bots) and channels (can send or modify or delete or pin messages, ban or invite users or admins or create invite links), login as a user, play audio files in voice calls, upload/download files up to 1.5 gb, join groups, set/change the 2FA password, make bot payments, change the background of chats, report users, send messages to every user in the chat list, set bios (even long ones), create/delete groups/channels/supergroups, create telegram accounts, press inline/normal keyboard buttons, add users, add users to groups, obtain instant view versions of web pages, add/block contacts, change your propic/name, download telegram translations directly from their servers, search users messages, and generally do everything bots and official apps do, from lua/php/python/bash/c#/c++/rust scripts?
Читать полностью…Fixed bugs with messages.editInlineBotMessage, messages.getInlineGameHighScores and messages.setInlineGameScore
Читать полностью…