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