Correct sendPhoto request

This commit is contained in:
2018-12-20 21:36:42 +00:00
parent d72474e296
commit 5095f347a0

View File

@@ -25,7 +25,7 @@ abstract class MessageHandler
}
protected function sendPhoto($chat, $file_id, $reply = null) {
return $this->makeRequest('sendSticker', array(
return $this->makeRequest('sendPhoto', array(
'chat_id' => $chat,
'photo' => $file_id,
'reply_to_message_id' => $reply