You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, True is returned.
13
+
*
14
+
* --RU--
15
+
* Метод для ответа на callbackQuery, поступающий при нажатии на кнопку InlineKeyboard
* Text of the notification. If not specified, nothing will be shown to the user, 0-200 characters
38
+
*
39
+
* @param string $value
40
+
* @return TAnswerCallbackQuery
41
+
*/
42
+
publicfunctiontext(string$value){
43
+
return$this->put(__FUNCTION__, $value);
44
+
}
45
+
46
+
/**
47
+
* --EN--
48
+
* URL that will be opened by the user's client.
49
+
*
50
+
* @param string $value
51
+
* @return TAnswerCallbackQuery
52
+
*/
53
+
publicfunctionurl(string$value){
54
+
return$this->put(__FUNCTION__, $value);
55
+
}
56
+
57
+
/**
58
+
* --EN--
59
+
* If true, an alert will be shown by the client instead of a notification at the top of the chat screen. Defaults to false.
60
+
*
61
+
* @param string $value
62
+
* @return TAnswerCallbackQuery
63
+
*/
64
+
publicfunctionshow_alert(bool$value){
65
+
return$this->put(__FUNCTION__, $value);
66
+
}
67
+
68
+
/**
69
+
* --EN--
70
+
* The maximum amount of time in seconds that the result of the callback query may be cached client-side. Telegram apps will support caching starting in version 3.14. Defaults to 0.
0 commit comments