PHP Class Thenbsp\Wechat\Message\Entity\Video

Inheritance: extends Thenbsp\Wechat\Message\Entity
显示文件 Open project: thenbsp/wechat Class Usage Examples

Protected Properties

Property Type Description
$description 视频消息的描述
$mediaId 通过上传多媒体文件,得到的id
$title 视频消息的标题

Public Methods

Method Description
getBody ( ) 消息内容
getType ( ) 消息类型
setDescription ( $description ) 视频消息的描述
setMediaId ( $mediaId ) 通过上传多媒体文件,得到的id
setTitle ( $title ) 视频消息的标题

Method Details

getBody() public method

消息内容
public getBody ( )

getType() public method

消息类型
public getType ( )

setDescription() public method

视频消息的描述
public setDescription ( $description )

setMediaId() public method

通过上传多媒体文件,得到的id
public setMediaId ( $mediaId )

setTitle() public method

视频消息的标题
public setTitle ( $title )

Property Details

$description protected_oe property

视频消息的描述
protected $description

$mediaId protected_oe property

通过上传多媒体文件,得到的id
protected $mediaId

$title protected_oe property

视频消息的标题
protected $title