-
Notifications
You must be signed in to change notification settings - Fork 676
Open
Labels
Description
PHP version
7.4
irazasyed/telegram-bot-sdk version
3.9
Laravel version (if any)
No response
Code To Reproduce the bug
$telegram = new Telegram\Bot\Api(api_key);
$telegram
->setAsyncRequest(true)
->sendMediaGroup(['chat_id' => channel_id, 'media' => json_encode([
['type'=>'video' ,'media' => 'https://i.imgur.com/qAxrsIG.mp4', 'caption' => "Album caption"],
['type' => 'video' ,'media' => 'https://i.imgur.com/qAxrsIG.mp4']
])]);
发送多个视频的时候报错,但是多个图片的时候正常, 看了下调用的medis的url,都在正常的,浏览器都能正常打开视频
Error stacktrace (if any)
Bad Request: failed to send message #1 with the error message "Wrong file identifier/HTTP URL specified"
Reactions are currently unavailable