<?php class ShowUserCallBackHandler extends CallBackhandler { function execute(){ $this->parseData(); $this->getSM()->forwardMessageFromTo( $this->getMessageID(), $this->getChatID(), $this->getAdminID() ); $this->getSM()->navigateHome($this->getChatID(), $this->getMessageID()); } function parseData(){ $this->data = explode(":",$this->data); } 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 |
|