| 1 | <?php |
||
| 5 | class SlashCommandListener extends AbstractBaseListener |
||
| 6 | { |
||
| 7 | const VERIFICATION_TOKEN = 'verificationToken'; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @return mixed |
||
| 11 | */ |
||
| 12 | 8 | public function extractRequest() |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @throws \Exception |
||
| 26 | * |
||
| 27 | * @return array |
||
| 28 | */ |
||
| 29 | 5 | public function verifyOrigin() |
|
| 58 | |||
| 59 | /** |
||
| 60 | * @throws \Exception |
||
| 61 | * |
||
| 62 | * @return bool |
||
| 63 | */ |
||
| 64 | 11 | public function isThisBot() |
|
| 71 | } |
||
| 72 |