Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 public function __construct($to_user, $from_user, $media_id)
 {
     parent::__construct($to_user, $from_user);
     $this->replace['MediaId'] = $media_id;
 }
Exemplo n.º 4
0
 public function __construct($to_user, $from_user, $content)
 {
     parent::__construct($to_user, $from_user);
     $this->replace['Content'] = $content;
 }
Exemplo n.º 5
0
 public function __construct($to_user, $from_user, $items)
 {
     parent::__construct($to_user, $from_user);
     $this->items = $items;
 }