public function sendMusic (Type\Music $musicMessage)
    {
        $this->sendReply(
            $this->buildMessage(
                [
                    'MsgType' => $musicMessage->getType(),
                    ucfirst($musicMessage->getType()) => [
                        'Title' => $musicMessage->getTitle(),
                        'Description' => $musicMessage->getDescription(),
                        'MusicUrl' => $musicMessage->getSourceURL(),
                        'HQMusicUrl' => $musicMessage->getHighQualitySourceURL(),
                        'ThumbMediaId' => $musicMessage->getThumbnailID(),
                    ]
                ]
            )
        );
    }
public function sendMusic (Type\Music $musicMessage)
    {
        $this->sendReply(
            $this->buildMessage(
                [
                    'MsgType' => $musicMessage->getType(),
                    ucfirst($musicMessage->getType()) => [
                        'Title' => $musicMessage->getTitle(),
                        'Description' => $musicMessage->getDescription(),
                        'MusicUrl' => $musicMessage->getSourceURL(),
                        'HQMusicUrl' => $musicMessage->getHighQualitySourceURL(),
                        'ThumbMediaId' => $musicMessage->getThumbnailID(),
                    ]
                ]
            )
        );
    }
public function sendMusic ( Type \ Music $ musicMessage ) { $ this -> sendReply ( $ this -> buildMessage ( [ 'MsgType' => $ musicMessage -> getType ( ) , ucfirst ( $ musicMessage -> getType ( ) ) => [ 'Title' => $ musicMessage -> getTitle ( ) , 'Description' => $ musicMessage -> getDescription ( ) , 'MusicUrl' => $ musicMessage -> getSourceURL ( ) , 'HQMusicUrl' => $ musicMessage -> getHighQualitySourceURL ( ) , 'ThumbMediaId' => $ musicMessage -> getThumbnailID ( ) , ] ] ) ) ; }
Sends a music reply.

@param Type\Music $musicMessage

@throws Exception\AlreadySentException
Sends a music reply .