1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 07:18:57 +01:00

IPC improvement

This commit is contained in:
Daniil Gentili 2024-04-08 21:07:40 +02:00
parent b5535e62b6
commit 47410fb46c

View File

@ -241,6 +241,7 @@ final class Client extends ClientAbstract
$method === 'messages.editInlineBotMessage' ||
$method === 'messages.uploadMedia' ||
$method === 'messages.sendMedia' ||
$method === 'stories.sendStory' ||
$method === 'messages.editMessage'
) && isset($args['media']) && \is_array($args['media'])) {
$this->processMedia($args['media'], $args['cancellation'] ?? null, true);