Closed LadyB0y closed 3 weeks ago
I checked the code of this method and it seems that it just assumes that the last field of $message['media'] will contain the actual media object:
$media = $message['media'][array_key_last($message['media'])];
But this is not true and most of the time it fails.
Thanks. This is because recently telegram changed api to support different quality of video. Added fix in this commit, please update.
I checked the code of this method and it seems that it just assumes that the last field of $message['media'] will contain the actual media object:
$media = $message['media'][array_key_last($message['media'])];
But this is not true and most of the time it fails.