def sendVoice(self, chat_id, voice,
                  caption=None,
                  parse_mode=None,
                  duration=None,
                  disable_notification=None,
                  reply_to_message_id=None,
                  reply_markup=None):
        """
        See: https://core.telegram.org/bots/api#sendvoice

        :param voice: Same as ``photo`` in :meth:`telepot.Bot.sendPhoto`
        """
        p = _strip(locals(), more=['voice'])
        return self._api_request_with_file('sendVoice', _rectify(p), 'voice', voice)
def sendVoice ( self , chat_id , voice , caption = None , parse_mode = None , duration = None , disable_notification = None , reply_to_message_id = None , reply_markup = None ) : p = _strip ( locals ( ) , more = [ 'voice' ] ) return self . _api_request_with_file ( 'sendVoice' , _rectify ( p ) , 'voice' , voice )
See: https://core.telegram.org/bots/api#sendvoice

        :param voice: Same as ``photo`` in :meth:`telepot.Bot.sendPhoto`