public function __construct($to_user, $from_user, $title = null, $description = null, $pic_url = null, $url = null) { parent::__construct($to_user, $from_user); $this->replace['Title'] = $title; $this->replace['Description'] = $description; $this->replace['PicUrl'] = $pic_url; $this->replace['Url'] = $url; }
public function __construct($to_user, $from_user, $thumb_media_id, $title = null, $description = null, $music_url = null, $hq_music_url = null) { parent::__construct($to_user, $from_user); $this->replace['Title'] = $title; $this->replace['Description'] = $description; $this->replace['MusicUrl'] = $music_url; $this->replace['HQMusicUrl'] = $hq_music_url; $this->replace['ThumbMediaId'] = $thumb_media_id; }
public function __construct($to_user, $from_user, $media_id) { parent::__construct($to_user, $from_user); $this->replace['MediaId'] = $media_id; }
public function __construct($to_user, $from_user, $content) { parent::__construct($to_user, $from_user); $this->replace['Content'] = $content; }
public function __construct($to_user, $from_user, $items) { parent::__construct($to_user, $from_user); $this->items = $items; }