src/Api/User.php
public function sendAudio(string $audioContents, int $audioLengthSeconds) : ?Message
    {
        $thread = $this->messageGroup();
        
        if ($thread === null) return null;

        return $thread->sendAudio($audioContents, $audioLengthSeconds);
    }
public function sendAudio(string $audioContents, int $audioLengthSeconds) : ?Message
    {
        $thread = $this->messageGroup();
        
        if ($thread === null) return null;

        return $thread->sendAudio($audioContents, $audioLengthSeconds);
    }
public function sendAudio ( string $ audioContents , int $ audioLengthSeconds ) : ? Message { $ thread = $ this -> messageGroup ( ) ; if ( $ thread === null ) return null ; return $ thread -> sendAudio ( $ audioContents , $ audioLengthSeconds ) ; }
Send an audio Message to the User.

@param string $audioContents Raw bytes of the audio.
@param integer $audioLengthSeconds Length of audio file (in seconds).
@return Message|null
Send an audio Message to the User .