madeline_farsi | Unsorted

Telegram-канал madeline_farsi - MadelineProto | Persian Channel

385

کانال تلگرامی MadelineProto Farsi ! مرجع آموزش و آپدیت های مدلین به زبان فارسی! 👥 Persian Group: https://t.me/joinchat/DtxwN0RlsQoKyN-lpSuOEw 👥 English Group: https://t.me/joinchat/Bgrajz6K-aJS2Dc5HJ7dsA 📢 English Channel: @MadelineProto

Subscribe to a channel

MadelineProto | Persian Channel

MadelineProto 8.11.10
https://github.com/danog/MadelineProto/releases/tag/8.11.10
Phar: /channel/madelineprotophar/292

What's Changed
Fixes
• Catch warnings instead of suppressing them with @ by @danog in https://github.com/danog/MadelineProto/pull/1876
• Don't pass the descriptors of the starting process to IPC workers by @danog in https://github.com/danog/MadelineProto/pull/1867

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

MadelineProto | Persian Channel

MadelineProto 8.11.8
https://github.com/danog/MadelineProto/releases/tag/8.11.8
Phar: /channel/madelineprotophar/290

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

MadelineProto | Persian Channel

MadelineProto 8.11.6
https://github.com/danog/MadelineProto/releases/tag/8.11.6
Phar: /channel/madelineprotophar/288

What's Changed
Fixes
• Fix the IPC self-request flood: reconnect to the live server, back off, bounded workers, CLI-only signals by @danog in https://github.com/danog/MadelineProto/pull/1862

Full Changelog: https://github.com/danog/MadelineProto/compare/8.11.5...8.11.6

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

MadelineProto | Persian Channel

MadelineProto 8.11.4
https://github.com/danog/MadelineProto/releases/tag/8.11.4
Phar: /channel/madelineprotophar/286

What's Changed
Fixes
• Docker image: PIE instead of pecl, latest only for releases, non-root user by @danog in https://github.com/danog/MadelineProto/pull/1861
• Log the flood waits of the stream channels at ULTRA_VERBOSE by @danog in https://github.com/danog/MadelineProto/pull/1859
• Stop reconnecting to an RTMP ingest that drops an idle publisher by @danog in https://github.com/danog/MadelineProto/pull/1860

Full Changelog: https://github.com/danog/MadelineProto/compare/8.11.3...8.11.4

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

MadelineProto | Persian Channel

MadelineProto Layer 232
https://github.com/danog/MadelineProto/releases/tag/8.11.2
Phar: /channel/madelineprotophar/284

What's Changed
Layer
• Automatic build (layer 232) by @madelineproto-autobuild[bot] in https://github.com/danog/MadelineProto/pull/1851
Fixes
• Fix the order info of payments, whose fields are all optional (#1652) by @danog in https://github.com/danog/MadelineProto/pull/1789
• Copy the authorization to other DCs only once a request needs it by @danog in https://github.com/danog/MadelineProto/pull/1842
• Stories bot pagination, phar sync of IPC clients, uncacheable download script check by @danog in https://github.com/danog/MadelineProto/pull/1845
• Copy the authorization to other DCs eagerly again by @danog in https://github.com/danog/MadelineProto/pull/1848
• Poll the stream channels of a livestream at the pace the server allows by @danog in https://github.com/danog/MadelineProto/pull/1844
• Convert link previews, locations, venues and contacts to InputMedia by @danog in https://github.com/danog/MadelineProto/pull/1846
Other changes
• Tests: the phar smoke test passes the numeric user id by @danog in https://github.com/danog/MadelineProto/pull/1853

Full Changelog: https://github.com/danog/MadelineProto/compare/8.11.1...8.11.2

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

MadelineProto | Persian Channel

Introducing MadelineProto 8.8.8, with video calls, group calls, livestreams and end-to-end encrypted conference calls, all in pure PHP, absolutely NO ffmpeg or extensions: all group/conference call and video call functionality works on webhosts, too!

Example:

<?php

if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
include 'madeline.php';

$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$MadelineProto->requestCall('@username', video: true)->play(new RemoteUrl('https://paste.daniil.it/oncall.webm'));
$MadelineProto->joinGroupCall('@mygroup')->play(new RemoteUrl('https://paste.daniil.it/oncall.webm'));



See examples/bot.php for a full example!

See the call documentation » for more info, and try the open-source magnaluna video webradio », which plays a video (including youtube videos WITHOUT ffmpeg/yt-dlp, 100% webhost support) in one-to-one calls, in the video chats and conference calls whose links you send it, and in the video chats of all its groups!

Test the new features live with magnaluna on Telegram: @magicalcrazypony! Call it, send it /call, or send it the link of a group call or conference call to join, or use the /join command in a group to create or join a group call.

Features:
- Video calls: play WebM/MKV files with VP8, VP9, H.264, H.265 (or AV1, in one-to-one calls) video and OPUS audio into any call: frames are demuxed in pure PHP and sent as-is, with no transcoding. Start a video call with requestCall($user, video: true).
- Screen sharing: play a video as a screen share alongside the camera stream with MediaDestination::Presentation.
- Group calls (video chats and livestreams): create (also scheduled and RTMP livestreams), join (also as a channel or via an invite link), stream audio and video, share the screen, record, and manage them: title, invites and invite links, muting, volume, raised hands, server-side recording, kicking participants, in-call messages and reactions.
- Livestreams: record stream mode livestreams (including RTMP ones), using the new pure PHP Mp4 demuxer, and publish RTMP livestreams with getGroupCallStreamRtmpUrl.
- Live stories: start a live story with startLive, stream into it, comment, and handle Telegram Stars donations.
- End-to-end encrypted conference calls: create them, join them via link or invitation, invite users, verify the key emojis, send end-to-end encrypted in-call messages and remove participants (rekeying the call), or upgrade a one-to-one call with migrateCallToConference.
- Call recording: setOutput records a participant's microphone, camera and screen share into a Matroska (or OGG OPUS) file with a fixed set of tracks, and setOutputFolder records every participant into a directory, starting a new file whenever their streams change. Recordings are written in pure PHP, without decoding anything.
- New CallStreams update, emitted whenever the streams a participant sends (or their codecs) change, and whenever a recording ends.
- All call types now implement the common Call interface (and the multi-party ones MultiCall), with the same playlist, mute, screen sharing and recording controls: PrivateCall (with VoIP kept as an alias), GroupCall, LiveStory and ConferenceCall.
- New GroupCall, GroupCallParticipants, GroupCallMessage, GroupCallMessagesDeleted, LiveStory, LiveStoryMessage and ConferenceCallMessage updates.
- Messages have new getCall, canRequestCall, requestCall and getCallDenialReason methods, to start (or get) the call of a private chat, or the video chat of a group or channel; CallNotAllowedException explains why a call can't be started. $message->requestCall()->join() works in every chat, since joining an outgoing one-to-one call does nothing.
- Calls survive restarts: playlists (continuing the current WebM/OGG file where it left off), hold files (which now loop) and recordings are saved in the session.
- Resumable uploads: interrupted uploads of files, URLs, Telegram files and resumable streams (encrypted ones included) are resumed after a restart, without uploading the already uploaded parts again.
- Resumable method calls: interrupted method calls and send* calls uploading such files are resumed after a restart, until their upload completes (can be disabled with the new resumeInterruptedCalls file setting).
- Resumable download streams: downloadToReturnedStream and Media::getStream now return a ResumableDownloadStream, which can be serialized, and resumes downloading from where it left off.
- Through IPC, calls without callbacks are sent again when the IPC server restarts.
- Added support for communities.
- Any OGG OPUS file (mono or stereo, with any frame size) can now be played into calls as-is, not only the ones created by MadelineProto: no more need to pre-convert them with @libtgvoip_bot or Ogg::convert.
- Update to layer 231.

Fixes:
- Fix downloads without a size not closing the connection
- Fix getInputClientProxy on null
- Fix inline query button conversion in keyboard buttons
- Fix sending media with a TTL
- Upgrade to phpseclib 4, keeping sessions created with phpseclib 3 loadable
- File reference improvements
- Fix updates received while the event handler is starting being handled again in an endless loop, using all the memory, if the event handler failed to start
- Fix uploads with a cancellation through IPC, and IPC cancellations no longer block the event loop
- Fix encrypted downloads starting from a non-zero offset
- Cancelled uploads no longer throw errors into the event loop

The latest official MadelineProto phars are now downloadable through @madelineprotophar as well.

Full TL changelog: https://github.com/danog/MadelineProto/releases/tag/8.8.8

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

MadelineProto | Persian Channel

And here's a small preview of the dashboard!

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

MadelineProto | Persian Channel

MadelineProto was updated!

8.0.0 is the first stable release of MadelineProto v8!

For the full changelog, see the messages on the official MadelineProto channel, starting from here!

Here are the main highlights:
- Amp v3 & revolt (fibers) support!
- A new simplified, stable and object-oriented event handler API based on filters and plugins!
- New sendVideo, sendAudio, sendDocument, etc methods with automatic metadata extraction via ffmpeg.
- A new getDownloadLink method for files up to 4gb!
- A new broadcast API, that can be used to asynchronously broadcast messages to all users of a bot or userbot in the background, automatically fetching all users of the bot!
- A pure PHP async VoIP implementation to make Telegram voice calls even on limited webhosts!
- An official docker image!
- Built-in static analysis of event handler code!
- Major performance and stability improvements!
- Many other new features and UX improvements, see all messages starting from /channel/MadelineProto/591 for more info!

Major parts of the MadelineProto core were split into standalone libraries that can be used without requiring all of MadelineProto:
- https://github.com/danog/AsyncOrm - Async ORM based on AMPHP v3 and fibers.
- https://github.com/danog/telegram-entities - A library to work with Telegram UTF-16 styled text entities.
- https://github.com/danog/tg-file-decoder - A library to work with Telegram bot API file IDs (recently updated).


The next releases will focus on even more features and performance improvements, such as prometheus and grafana statistics, a static TL parser and much, much more!

Cheers!

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

MadelineProto | Persian Channel

#update #beta151

متود های جدید:
- stories.getPeerStories
- stories.getAllReadPeerStories
- stories.getPeerMaxIDs
- stories.getChatsToSend
- stories.togglePeerStoriesHidden
- stories.getBoostsStatus
- stories.getBoostersList
- stories.canApplyBoost
- stories.applyBoost
- کلاس های جدید
- updateNewAuthorization
- mediaAreaSuggestedReaction
- peerStories
- stories.peerStories
- stories.boostsStatus
- stories.canApplyBoostOk
- stories.canApplyBoostReplace
- booster
- stories.boostersList
تغییرات :
- پارامتر های اضافه شده

date -> updateReadMessagesContents
confirmed -> account.changeAuthorizationSettings

start_param ,
from_side_menu -> messages.requestSimpleWebView

recurring_terms_url -> invoice ❌ (حذف شده)
terms_url ->
invoice
unconfirmed -> authorization

stories ,
stories_pinned_available -> channelFull

stories_hidden ,
stories_max_id ,
stories_hidden_min ,
stories_unavailable -> channel

post_stories ,
edit_stories ,
delete_stories -> chatAdminRights

show_in_side_menu ,
show_in_attach_menu ,
side_menu_disclaimer_needed -> attachMenuBot

- اضافه شدن پارامتر peer :
stories.canSendStory
stories.sendStory
stories.editStory
stories.deleteStories
stories.togglePinned
stories.getStoriesArchive
stories.getStoryViewsList
stories.getStoriesViews

- و همچنین حذف شدن پارامتر user_id و جایگزین شدن پارامتر peer با آن :
stories.getPinnedStories
stories.getStoriesByID
stories.readStories
stories.incrementStoryViews
stories.exportStoryLink
stories.report
stories.sendReaction
inputMediaStory
messageMediaStory
updateStory
updateReadStories
updateSentStoryReaction
webPageAttributeStory

باگ ها :
- بهبود متود getId
- حل باگ فیلترهای FromAdminOrOutgoing و DialogTopicEdited
- آپدیت و حل مشکلات تبدیل سشن پایروگرام و تلتون و ...

درصورت تمایل کانال رو بوست کنید :
/channel/MadeLine_Farsi?boost

📕 کانال رسمی مدلین فارسی رو به دوستان خود معرفی کنید.
@Madeline_Farsi

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

MadelineProto | Persian Channel

- تمام شدن ریفکتور کد های مربوط به کانکشن ها :
- افزایش سرعت ۶۰-۸۰ درصدی در شروع handshakes
- دیگر نیازی به باز کردن سوکت برای dc های استفاده نشده نیست .
- دیسکانکت شدن اتوماتیک از سوکت های مربوط به مدیاهای غیرفعال
- دوباره کانکت شدن در صورت به وجود آمدن مشکلات شبکه ( فیکس ارور Request Timeout )
- بهینه سازی کلی
- اضافه شدن استنشن pcntl به ایمیج داکر
- مارک کردن تمام پارامتر های اپشنال متود ها به صورت اپشنال در API.
- حل مشکل مصرف پارامتر بولین در account.changeAuthorizationSettings, messages.editExportedChatInvite, channels.editForumTopic, phone.toggleGroupCallSettings, phone.toggleGroupCallRecord, phone.editGroupCallParticipant
- حل مشکل پیجینیشن در messages.getChatInviteImporters با در نظر گرفتن offset_date به صورت پارامتر اجباری در صورتی که پارامتر offset_user مقدار داشته باشد.
- حل مشکلات سکرت چت ها
- حل مشکل متود fileGetContents و http-client
- حل مشکل اپلود دوباره مدیا توسط ابجکت های آن
- حل مشکل pending count در broadcasts
- جلوگیری از گیر افتادن در حلقه بینهایت هنگام لاگین
- جلوگیری از سریزشدن بافر توسط integer ها در ماژول های مربوط به VoIP
- حل مشکل setBindTo
- حل مشکلات کانکشن ها
- جلوگیری از باگ GC
- بهبود لاجیک مدیاها در DC
- حل مشکل متود های sendDocument/sendPhoto در IPC
- حل مشکل آپلود عکس های بدون content-length
- حل مشکل مصرف در استریم ها و فایل کالبک ها در IPC
- باز کردن متود fopen در صورت استفاده از php://memory در SimpleEventHandler
- بهبود لاجیک در آپلود استریم ها
- هندل ارور MSG_WAIT_FAILED
- بهبود صف در calls
- بهبود تست ها
- فیکس شدن TL ها
- جلوگیری از کانفیلیکت های مربوط به ext-psr
- فیکس باگ های ربات @libtgvoipbot

باگ فیک ها توسط @xtrime :
- حل مشکل استریم ویدیو ها در مرورگر safari

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

MadelineProto | Persian Channel

#update #beta138

فیچر ها :

- اضافه شدن فیلتر های Outgoing, FilterOutgoing, Running, FilterRunning, Ended, FilterEnded و همچنین SimpleFilter های مربوط به آن برای چک کردن وضعیت کال
- اصافه شدن ۳ متود VoIP::pause/VoIP::resume/VoIP::isPaused به ترتیب برا pause یا resume کردن اهنگ در حال پلی روی کال و چک کردن آیا اهنگ pause است یا خیر
- اضافه شدن متود getStream به کلاس AbstractMessage
- اضافه شدن سورس کد ربات @libtgvoipbot
- اضافه شدن متود های VoIP::getAllCalls() , VoIP::getCurrent() به ترتیب برای گرفتن لیست کل کال های در جریان و گرفتن فایل در حال پلی در کال
- اضافه شدن یک فیلتر برای broadcast progress update
- اضافه شدن متود های Ogg::validateOgg , Tools::getStreamPipe
- اضافه شدن ساپورت از کانکشن های Tcp در کال ها
- اضافه شدن کتاب خانه ffmpeg به docker image

فیکس باگ ها :

- فیکس شدن باگ متود های VoIP::skip() , markdownUrlEscape
- فیکس شدن ارور " getIdFromUsername(): Return value must be of type ?int, string returned" که هنگام استفاده از دیتابیس MYSQL رخ میداد
- فیکس شدن یسری باگ های ریز در VoIP

پ . ن : مدلین نسخه ۷ به طور کامل از دیپیریکت شده و بخاطر یسری تغییرات تلگرام از سمت سرور ها نمیشه از نسخه ۷ استفاده کرد لزا لازم هستش سورس های خودتون به 8 ارتقا بدین

- دنیل یه پیج راهنما برای این که چطور ربات هاتون از ورژن ۷ ببرین روی ۸ زده !

📕 کانال رسمی مدلین فارسی رو به دوستان خود معرفی کنید.
@Madeline_Farsi

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

MadelineProto | Persian Channel

مشکل تماس های VOIP در مدلین حل شد!!!
- در آپدیت بعدی بتا شاهد این خواهیم بود تا بطور کامل بشه از قابلیت های VOIP در تماس ها استفاده کنیم

- ربات (magna luna(@magicalcrazypony هم بزودی آنلاین میشود مثل قبل!
- این قابلیت به طور کامل توسط php پیاده شده این سری!! پس میتونید حتی در هاست هم استفاده کنید(نیازی به سرور نیست برا استفاده ازش)
اطلاعات تکمیلی در آپدیت بعدی ؛)

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

MadelineProto | Persian Channel

#update #beta128
حل مشکل جیسون انکد شدن آپدیت ها

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

MadelineProto | Persian Channel

بر اساس این اسکریپت نوشته شده
میتونید بدون پیش نیاز استفاده کنید

و البته نکته مثبتش اینه که مسیج های به صورت گروپ مدیا هم خودکار ساپورت میشن.

با تشکر از اعضای گروه LabChat 🍀🌺

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

MadelineProto | Persian Channel

#update #beta126

- اضافه شدن باند متود های مسیج : addReaction, delReaction, getOurReactions, pin, unpin توسط @J_A_V_A

- از این پس شما میتوانید از traits, interfaces در پلاگین ها استفاده کنید

- حل مشکل ساخت سشن

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

MadelineProto | Persian Channel

MadelineProto 8.11.9
https://github.com/danog/MadelineProto/releases/tag/8.11.9
Phar: /channel/madelineprotophar/291

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

MadelineProto | Persian Channel

MadelineProto Bump PHP docker image
https://github.com/danog/MadelineProto/releases/tag/8.11.7
Phar: /channel/madelineprotophar/289

Bumps PHP docker image to fix multiple upstream vulns.

What's Changed
Fixes
• Compare settings objects by value when merging by @danog in https://github.com/danog/MadelineProto/pull/1866

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

MadelineProto | Persian Channel

MadelineProto 8.11.5
https://github.com/danog/MadelineProto/releases/tag/8.11.5
Phar: /channel/madelineprotophar/287

What's Changed
Fixes
• Retry failed group call rejoins; log leaves, discards and forgotten calls with their chat by @danog in https://github.com/danog/MadelineProto/pull/1863

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

MadelineProto | Persian Channel

MadelineProto 8.11.3
https://github.com/danog/MadelineProto/releases/tag/8.11.3
Phar: /channel/madelineprotophar/285

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

MadelineProto | Persian Channel

MadelineProto 8.11.1
https://github.com/danog/MadelineProto/releases/tag/8.11.1
Phar: /channel/madelineprotophar/283

What's Changed
Fixes
• Ship the web UI templates and assets in the phar by @danog in https://github.com/danog/MadelineProto/pull/1840

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

MadelineProto | Persian Channel

MadelineProto was updated (8.1.1)!

See here for the changelog: https://github.com/danog/MadelineProto/releases/tag/8.1.1

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

MadelineProto | Persian Channel

MadelineProto was updated!

MadelineProto 8.1.0 introduces an official Grafana dashboard for MadelineProto, powered by danog/better-prometheus!

See here for more info on how to configure the Prometheus metrics endpoint and Grafana dashboard!

Features:
- Official grafana dashboard, powered by danog/better-prometheus!
- Extract bot API dialog ID handling logic into a separate library, danog/tg-dialog-id!
- Add a previously missing $deleteHistory flag to discardSecretChat!
- Add messages.getEmojiStickerGroups method!

Fixes:
- Fix a possible bug in sendVideo
- Fix a possible bug in parseMode parsing
- Fix SecretMessage::delete
- Fix passing of seekable streams to IPC methods
- Other minor bugfixes
- Performance improvements

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

MadelineProto | Persian Channel

🔠🔠🔠 (#beta153)
🔠🔠🔠🅰️🔠🔠


• فیچر های اضافه شده توسط
👉 @danogentili 🌙

- آپدیت به لایر 165
- ریفکتور کردن سکرت چت به طور کامل حل مشکلات آن و اضافه شدن آپدیت updateNewOutgoingEncryptedMessage
- افزایش پرفورمنس و پایداری به میزان قابل توجه(آپدیت به این نسخه بسیار پیشنهاد میشود!)
- ‌اضافه شدن ساپورت سکرت چت از متود های sendDocument/sendPhoto/sendMessage
- کاهش مقدار مصرف رم سکرت چت به این صورت که سیو اپدیت ها در دیتابیس در صورت فعال بودن دیتابیس بکند
- اضافه کردن قابلیت کنسلیشن به دانلود ها(Mtproto Cancelation اضافه نشده پس هنگام کنسل کردن یه مقدار کمی از فایل دانلود میشه ولی قابل استفاده نیست)

• فیچر های اضافه شده توسط
👉 @J_A_V_A 😮

- اضافه کردن ساپورت کامل کلاس SimpleEventHandler از سکرت مسیج ها توسط کلاس SecretMessage آپدیت ها فیلتر ها و متود های آن(اضافه شدن متود های باند به زودی ...)
- اضافه شدن ساپورت سکرت چت از اپدیت های DialogSetTTL/DialogScreenshotTaken/DialogHistoryCleared/SecretUserTyping
- اضافه شدن ساپورت سکرت چت از اپدیت های DialogDeleteMessages, DialogReadMessages (اضافه شدن ساپورت چت های عادی از این ۲ کلاس به زودی ...)

• فیچر های اضافه شده توسط
👉 @madbyte 👾

- اضافه شدن ساپورت از استوری در چنل ها به کلاس SimpleEventHandler
- اضافه شدن متود های باند enableAutoTranslate, disableAutoTranslate, replyOrEdit به کل کلاس های مسیج
- اضافه شدن متود های باند enableProtection, disableProtection به کلاس چنل مسیج

- اضافه شدن متود های باند enableSlowMode, disableSlowMode, enableJoinToComment, disableJoinToComment به کلاس مسیج مربوط به سوپر گروه
- اضافه شدن کلاس های DialogSetChatWallPaper/DialogBotAllowed/ChatUserTyping updates and BotApp/Wallpaper/WallpaperSettings
- اضافه شدن فیلتر های IsEdited/IsNotEdited مربوط به مسیج
- فیکس باگ های فراوان در کلاس SimpleEventHandler

• فیچر های اضافه شده توسط
👉 @YinYang 👨‍🎓

- اضافه شدن ساپورت از متود onStop در کلاس EventHandler

کانال رسمی مدلین فارسی
ما را به دوستان خود معرفی کنید ❤️‍🔥

همچنین ممنون میشیم
برای باز شدن قابلیت استوری چنل
کانال ما رو یدونه boost مهمون کنید 🙂

📚 @Madeline_Farsi

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

MadelineProto | Persian Channel

#update #beta150

متود های جدید:
- bots.canSendMessage
- bots.allowSendMessage
- bots.invokeWebViewCustomMethod
- stories.canSendStory

- اضافه شدن پارامتر from_request به متود messageActionBotAllowed
- اضافه شدن پارامتر has_viewers به storyViews
- اضافه شدن پارامتر های verified , scam , fake به chatInvite
- حل مشکلات مربوط به فایل ها

📕 کانال رسمی مدلین فارسی رو به دوستان خود معرفی کنید.
@Madeline_Farsi

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

MadelineProto | Persian Channel

#update #beta148

تشکر فراوان از @J_A_V_A,@madbyte بخاطر کمک فراوان و contribute شدن در پروژه تغییرات اساسی در زیر امده است :

فیچر های اضافه شده توسط @madbyte :
- اضافه شدن InlineQuery به SimpleEventHandler وکلاس های مربوط به آن
- اضافه شدن باند متود های block, unblock, read, enableTTL, disableTTL, getStories, setAction, enableTTL, disableTTL به کلاس Message
- اضافه شدن کلاس های مربوط به آپدیت Story, StoryReaction, ChannelUserTyping, UserTyping, Blocked, BotStopped, Phone, Status, Username, Privacy در SimpleEventHandler
- اضافه شدن باند متود های save, unsave به کلاس Gif
- اضافه شدن باند متود های disableSignatures, enableSignatures, getMember , hideHistory, unhideHistory به کلاس ChannelMessage
- اضافه شدن باند متود های getMember, hideMembers, unhideMembers, hideHistory, unhideHistory, deleteUserMessages, toSuperGroup, enableAntiSpam, disableAntiSpam, enableTopics, disableTopics, createTopic, editTopic, openTopic, closeTopic, deleteTopic به کلاس GroupMessage
- اضافه شدن کلاس های Participant, AdminRights, BannedRights
- اضافه شدن باند متود screeshot به کلاس PrivateMessage
- اضافه شدن کلاس های DialogChannelCreated, DialogChannelMigrateFrom, DialogChatJoinedByLink, DialogChatMigrateTo, DialogContactSignUp, DialogGameScore, DialogGeoProximityReached, DialogGiftPremium, GroupCall, GroupCallInvited, GroupCallScheduled, DialogHistoryCleared, DialogMemberJoinedByRequest, DialogPeerRequested, DialogPhoneCall, DialogScreenshotTaken, DialogSetChatTheme, DialogSetTTL, DialogSuggestProfilePhoto, DialogTopicCreated, DialogTopicEdited, DialogWebView برای هندل سرویس مسیج ها در SimpleEventHandler
- اضافه شدن کلاس های مربوط به Privacy
- هندل sendMessageGamePlayAction

فیچر های اضافه شده توسط @J_A_V_A :
- اضافه شدن ساپورت از entities به کلاس Message به صورت کاملا شیگرا ( OOP )
- اضافه شدن آپدیت های مربوط به ButtonQuery
- اضافه شدن باند متود های downloadToDir, downloadToFile به کلاس Media و آبجکت های مربوط به آن
- اضافه شدن باند متود های report, saveContact, removeContact, inviteToChannel, read مربوط به کلاس Message و آبجکت های مربوط به آن
- اضافه شدن باند متود view به کلاس ChannelMessage
- اضافه شدن باند متود های ban, unban, kick, deleteAll به کلاس GroupMessage
- شروع کار روی کلاس های مربوط به secret chat در SimpleEventHandler

فیچر های اضافه شده توسط @danogentili :
- اضافه شدن ساپورت از secret chat id در bot API
- شروع کار روی اضافه شدن قابلیت های group call , video call
- اضافه شدن پراپرتی های view/forward/author به forward messages
- افزایش پرفورمنس به وسیله buffered logging
- اضافه شدن متود isBot برا چک کردن که آیا مسیج از طرف بات ارسال شده یا خیر
- اضافه شدن فیلتر های FilterFromBot, FilterSenders

باگ فیکس ها توسط @danogentili :

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

MadelineProto | Persian Channel

#update #beta131
- تماس های VoIP
- با متود play هر آهنگ با هر فرمتی بصورت فایل ، لینک پخش کنید.
همچنین برای هاست میتونید با ربات libtgvoip_bot از این متود استفاده کنید.

- اضافه شدن متود downloadToReturnedStream
- آپدیت شدن به layer 161

- متود های جدید:
- contacts.setBlocked
- stories.activateStealthMode
- stories.sendReaction

- متود های تغییر یافته:
اضافه شدن پارامتر my_stories_from به متودهای زیر:
contacts.block
contacts.unblock
contacts.getBlocked
اضافه شدن پارامتر media_areas به متودهای زیر:
stories.sendStory
stories.editStory

اضافه شدن پارامتر ها به متود stories.getStoryViewsList :
q
offset
just_contacts
reactions_first

حذف شدن پارامتر های زیر از متود stories.getStoryViewsList :

offset_date, offset_id

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

MadelineProto | Persian Channel

#update #beta129

اضافه شدن کلاس های
CallbackQuery, ButtonQuery, ChatButtonQuery, InlineButtonQuery, GameQuery, ChatGameQuery, InlineGameQuery

برای هندل آپدیت ها توسط Filter ها.

لیست پراپرتی ها و متودها:
- $query->queryId
آیدی کوئری

- $query->userId
آیدی کاربری که روی دکمه کلیک کرده

- $query->chatInstance
شناسه چت که برای High Score بیشتر استفاده میشه

- $query->data
دیتای دکمه ای که کلیک شده

- $query->matches
ر.ک FilterRegex

- $query->chatId
برای کلاس های Chat*Query - جایی که کیبورد اینلاین ارسال شده است.

- $query->messageId
برای کلاس های Chat*Query - آیدی مسیج

- $query->gameShortName
برای کلاس GameQuery - اسم کوتاه بازی

- $query->inlineMessageId
برای کلاس های Inline*Query آیدی اینلاین مسیج

- $query->editText(...)
برای کلاس های Chat*Query - ادیت متن پیام

- $query->answer(
string $message,
bool $alert = false,
?string $url = null,
int $cacheTime = 5 * 60
)
ر.ک Answer an inline query

اضافه شدن متودهای translate و editText به کلاس Message
اضافه شدن فیلتر FilterButtonQueryData برای کلاس ButtonQuery
سازگاری فیلتر های FilterFromAdmin و FilterRegex با کلاس ButtonQuery
اضافه شدن فیلتر FromAdminOrOutgoing
اضافه شدن متود markdownUrlEscape برای اسکیپ یک لینک هنگام پارس مود markdown

حل مشکل inputMediaPhotoExternal , inputMediaDocumentExternal هنگام ارسال رسانه
حل مشکل فیلتر IsReplyToSelf
حل مشکل رسانه CustomEmoji
حل مشکلات تبدیلات mtproto to bot api
بهبود متود markdownCodeblockEscape

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

MadelineProto | Persian Channel

#update #beta127
- حل بیسیاری از مشکلات ( از جمله لود نشدن کلاس ها در پوشه پلاگین ) و ارتقا ارور هندلر در پلاگین ها

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

MadelineProto | Persian Channel

✅ پلاگین جدید
❗️برای ورژن پلاگینی مدلین (beta126)

> قابلیت کپی کردن هر پیامی
> در پوشه Plugins آپلود کنید
> دستور copy + ریپلای روی پیام

*️⃣

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

MadelineProto | Persian Channel

#update #beta125
- اضافه شدن StaticSticker, AnimatedSticker, VideoSticker به مدیا ها.
- فیکس شدن ارور های داخلی
- اضافه شدن FilterFromSender ( نسخه تکی FilterFromSenders )
- عوض شدن استراکچر IPC در داخل API داخلی و بهبود آن
- فیکس شدن باگ IPC

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