add clear
This commit is contained in:
@@ -116,6 +116,26 @@ class Message extends Miniprogarampage
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param string $media_id
|
||||
* @param string $thumb_media_id
|
||||
* @param string $title
|
||||
* @param string $description
|
||||
* @return Result
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function sendVideoNews(string $media_id,string $thumb_media_id, string $title, string $description)
|
||||
{
|
||||
$this->msgData['msgtype'] = 'video';
|
||||
$this->msgData['video[media_id]'] = $media_id;
|
||||
$this->msgData['video[thumb_media_id]'] = $thumb_media_id;
|
||||
$this->msgData['video[title]'] = $title;
|
||||
$this->msgData['video[description]'] = $description;
|
||||
|
||||
return $this->sendKefuMsg();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param string $head_content
|
||||
* @param string $tail_content
|
||||
|
||||
Reference in New Issue
Block a user