1 | <?php |
||
36 | class CallbackQuery implements \ArrayAccess |
||
37 | { |
||
38 | |||
39 | /** @} */ |
||
40 | |||
41 | use EntityAccess; |
||
42 | |||
43 | /** |
||
44 | * \brief Get data parameter if it is set. |
||
45 | * @return string $data if set or empty string otherwise. |
||
46 | */ |
||
47 | public function getData() : string |
||
51 | |||
52 | /** |
||
53 | * \brief Get chat ID of the chat where the message comes from. |
||
54 | * @return $chat_id Chat ID. |
||
|
|||
55 | */ |
||
56 | public function getChatID() |
||
60 | |||
61 | /** |
||
62 | * \brief Get message attached to this callback. |
||
63 | * @return Message $message Message object attached to this callback. |
||
64 | */ |
||
65 | public function getMessage() |
||
74 | |||
75 | /** |
||
76 | * \brief (<i>Internal</i>) Get parameter to set to the bot. |
||
77 | * \details Each time the bot receive a callback query the parameter _callback_query_id |
||
78 | * will be set to the ID of this callback. |
||
79 | * @return array Array with the parameter name as "var" index, and the id in "id" index. |
||
80 | */ |
||
81 | public function getBotParameter() : array |
||
86 | |||
87 | /** |
||
88 | * \brief Get ID of this callback query. |
||
89 | * @return int $id ID of the callback. |
||
90 | */ |
||
91 | public function getID() : int |
||
96 | } |
||
97 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.