$params = [ 'chat_id' => '', 'photo' => '', 'caption' => '', 'disable_notification' => '', 'reply_to_message_id' => '', 'reply_markup' => '', ];
public function sendPhoto(array $params) { $response = $this->uploadFile('sendPhoto', $params); return new Message($response->getDecodedBody()); }