<?php class DiwarAds extends Ads { public $imageLink; public $msgID; public $fromChatID; function setMessageID($msgID){ // $this->setType(Ads::$TypeImage); $this->msgID = $msgID; return $this; } function setFromChatID($fromChatID ){ // $this->setType(Ads::$TypeImage); $this->fromChatID = $fromChatID; return $this; } public function send(User $user){ $this->forwardTo($user); } public function forwardTo($user){ $this->TG->forwardMessageFromTo($this->msgID,$this->fromChatID, $user->chatId); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Ads.class.php | File | 4.23 KB | 0644 |
|
Damnoosh.class.php | File | 613 B | 0644 |
|
DiwarAds.class.php | File | 610 B | 0644 |
|
ForwardingAd.class.php | File | 865 B | 0644 |
|
HashemiAds.class.php | File | 428 B | 0644 |
|
ImageAds.class.php | File | 495 B | 0644 |
|
hashemi.jpg | File | 109.55 KB | 0644 |
|