| 1 | <?php |
||
| 21 | class AnswerCallbackQuery extends TelegramMethods |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Unique identifier for the query to be answered |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | public $callback_query_id = ''; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Optional. Text of the notification. If not specified, nothing will be shown to the user |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | public $text = ''; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Optional. If true, an alert will be shown by the client instead of a notification at the top of the chat screen. |
||
| 37 | * Defaults to false. |
||
| 38 | * @var boolean |
||
| 39 | */ |
||
| 40 | public $show_alert = false; |
||
| 41 | |||
| 42 | public static function bindToObject(TelegramRawData $data, LoggerInterface $logger): TelegramTypes |
||
| 46 | |||
| 47 | public function getMandatoryFields(): array |
||
| 53 | } |
||
| 54 |