Correct sendPhoto request
This commit is contained in:
@@ -25,7 +25,7 @@ abstract class MessageHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected function sendPhoto($chat, $file_id, $reply = null) {
|
protected function sendPhoto($chat, $file_id, $reply = null) {
|
||||||
return $this->makeRequest('sendSticker', array(
|
return $this->makeRequest('sendPhoto', array(
|
||||||
'chat_id' => $chat,
|
'chat_id' => $chat,
|
||||||
'photo' => $file_id,
|
'photo' => $file_id,
|
||||||
'reply_to_message_id' => $reply
|
'reply_to_message_id' => $reply
|
||||||
|
|||||||
Reference in New Issue
Block a user