-
-
Notifications
You must be signed in to change notification settings - Fork 965
Closed
Description
Required Information
- Operating system: Linux
- PHP version: 7.1.22 (64bit)
- PHP Telegram Bot version: 0.54.0
- Using MySQL database: yes
- MySQL version: 10.1.29-MariaDB
- Update Method: Webhook
- Self-signed certificate: no
Expected behaviour
Photo is sent.
Actual behaviour
Method "sendPhoto" not found in class Request.
Steps to reproduce
Longman\TelegramBot\Request::sendToActiveChats(
'sendPhoto',
['photo' => Longman\TelegramBot\Request::encodeFile($row['path'])],
[
true, // Send to chats (group chat)
true, // Send to chats (super group chat)
true, // Send to users (single chat)
null, // 'yyyy-mm-dd hh:mm:ss' date range from
null // 'yyyy-mm-dd hh:mm:ss' date range to
]
);Extra details
Fix for #666 didn't fix this
Metadata
Metadata
Assignees
Labels
No labels