<?php class CustomAnswerCallbackHandler extends CallBackhandler { public static $key= "csAns"; function execute(){ $this->getSM()->navigateHome($this->getChatID(), $this->getMessageID()); $this->getSM()->sendMessage("userid:".$this->getChatID(), $this->adminId); } function getMessageID(){ return $this->data[0]; } function getChatID(){ return $this->userID; } function getAdminID(){ return $this->getSM()->chat_id; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
CustomAnswerCallbackHandler.class.php | File | 499 B | 0755 |
|
DeleteMessageCallbackHandler.class.php | File | 470 B | 0755 |
|
ShowButtonsCallBackHandler.class.php | File | 3.8 KB | 0755 |
|
ShowUserCallBackHandler.class.php | File | 627 B | 0755 |
|
TextAnswerCallbackHandler.class.php | File | 1.64 KB | 0755 |
|