PHP Class Thenbsp\Wechat\Message\Entity\Music

Inheritance: extends Thenbsp\Wechat\Message\Entity
Show file Open project: thenbsp/wechat Class Usage Examples

Protected Properties

Property Type Description
$HQMusicUrl 高质量音乐链接
$description 音乐描述
$musicUrl 音乐链接
$thumbMediaId 缩略图的媒体id
$title 音乐标题

Public Methods

Method Description
getBody ( ) 消息内容
getType ( ) 消息类型
setDescription ( $description ) 音乐描述
setHQMusicUrl ( $HQMusicUrl ) 高质量音乐链接
setMusicUrl ( $musicUrl ) 音乐链接
setThumbMediaId ( $thumbMediaId ) 缩略图的媒体id
setTitle ( $title ) 音乐标题

Method Details

getBody() public method

消息内容
public getBody ( )

getType() public method

消息类型
public getType ( )

setDescription() public method

音乐描述
public setDescription ( $description )

setHQMusicUrl() public method

高质量音乐链接
public setHQMusicUrl ( $HQMusicUrl )

setMusicUrl() public method

音乐链接
public setMusicUrl ( $musicUrl )

setThumbMediaId() public method

缩略图的媒体id
public setThumbMediaId ( $thumbMediaId )

setTitle() public method

音乐标题
public setTitle ( $title )

Property Details

$HQMusicUrl protected property

高质量音乐链接
protected $HQMusicUrl

$description protected property

音乐描述
protected $description

$musicUrl protected property

音乐链接
protected $musicUrl

$thumbMediaId protected property

缩略图的媒体id
protected $thumbMediaId

$title protected property

音乐标题
protected $title