| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function answer( |
||
| 15 | ?string $text = null, |
||
| 16 | ?bool $showAlert = null, |
||
| 17 | ?string $url = null, |
||
| 18 | ?int $cacheTime = null |
||
| 19 | ): PromiseInterface { |
||
| 20 | return $this->api->answerCallbackQuery( |
||
| 21 | callbackQueryId: $this->id, |
||
| 22 | text: $text, |
||
| 23 | showAlert: $showAlert, |
||
| 24 | url: $url, |
||
| 25 | cacheTime: $cacheTime |
||
| 26 | ); |
||
| 29 | } |