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
Copy file name to clipboardExpand all lines: include/tgbot/types/InlineKeyboardButton.h
+4-4
Original file line number
Diff line number
Diff line change
@@ -47,14 +47,14 @@ class InlineKeyboardButton {
47
47
* The Web App will be able to send an arbitrary message on behalf of the user using the method Api::answerWebAppQuery.
48
48
* Available only in private chats between a user and the bot.
49
49
*/
50
-
OptionalPtr<WebAppInfo::Ptr> webApp;
50
+
OptionalNullPtr<WebAppInfo::Ptr> webApp;
51
51
52
52
/**
53
53
* @brief Optional. An HTTPS URL used to automatically authorize the user.
54
54
*
55
55
* Can be used as a replacement for the [Telegram Login Widget](https://core.telegram.org/widgets/login).
56
56
*/
57
-
OptionalPtr<LoginUrl::Ptr> loginUrl;
57
+
OptionalNullPtr<LoginUrl::Ptr> loginUrl;
58
58
59
59
/**
60
60
* @brief Optional. If set, pressing the button will prompt the user to select one of their chats, open that chat and insert the bot's username and the specified inline query in the input field.
@@ -74,14 +74,14 @@ class InlineKeyboardButton {
74
74
/**
75
75
* @brief Optional. If set, pressing the button will prompt the user to select one of their chats of the specified type, open that chat and insert the bot's username and the specified inline query in the input field
0 commit comments