Closed
Description
Required Information
- Operating system: Debian
- PHP version: 7.1
- PHP Telegram Bot version: 0.49
- Using MySQL database: yes
- MySQL version:
- Update Method: Webhook
- Self-signed certificate: yes
- RAW update (if available):
Expected behaviour
Request::sendToActiveChats('sendPhoto', ['photo' => Request::encodeFile('path/to/photo')])
Actual behaviour
Exception: Method "sendPhoto" not found in class Request
Steps to reproduce
Extra details
None of "send file" methods except sendMessage exists in class Request
It uses __callStatic to execute those methods
Metadata
Metadata
Assignees
Labels
No labels