mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 10:54:43 +01:00
Fixup
This commit is contained in:
parent
e60c58615f
commit
dc56b08771
@ -110,7 +110,7 @@ trait FileServer
|
|||||||
$messageMedia['mime'] ??= $mime;
|
$messageMedia['mime'] ??= $mime;
|
||||||
$messageMedia['name'] ??= $name;
|
$messageMedia['name'] ??= $name;
|
||||||
|
|
||||||
$f = is_string($f) ? $f : $this->extractBotAPIFile($this->MTProtoToBotAPI($media))['file_id'];
|
$f = is_string($media) ? $media : ($this->extractBotAPIFile($this->MTProtoToBotAPI($media))['file_id']);
|
||||||
[
|
[
|
||||||
'name' => $name,
|
'name' => $name,
|
||||||
'ext' => $ext,
|
'ext' => $ext,
|
||||||
|
Loading…
Reference in New Issue
Block a user