Correct sendPhoto request
This commit is contained in:
1 parent
d72474e296
commit
5095f347a0
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user