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
/// <summary>Add a button to the last row</summary>
260
305
/// <param name="button">The button to add</param>
@@ -297,6 +342,19 @@ public InlineKeyboardMarkup AddNewRow(params InlineKeyboardButton[] buttons)
297
342
298
343
publicpartialclassInlineKeyboardButton
299
344
{
345
+
/// <summary>Creates an inline keyboard button for external URL or for data to be sent in a <see cref="CallbackQuery">callback query</see> to the bot when the button is pressed, 1-64 bytes</summary>
346
+
/// <param name="text">Label text on the button</param>
347
+
/// <param name="callbackDataOrUrl">URL (starting with http:// or https://) to be opened, or data (1-64 characters) to be sent in a <see cref="CallbackQuery">callback query</see> to the bot, when the button is pressed</param>
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Requests/Available methods/AnswerCallbackQueryRequest.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
// GENERATED FILE - DO NOT MODIFY MANUALLY
1
2
namespaceTelegram.Bot.Requests;
2
3
3
4
/// <summary>Use this method to send answers to callback queries sent from <a href="https://core.telegram.org/bots/features#inline-keyboards">inline keyboards</a>. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert<para>Returns: </para></summary>
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Requests/Available methods/Commands/DeleteMyCommandsRequest.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
// GENERATED FILE - DO NOT MODIFY MANUALLY
1
2
namespaceTelegram.Bot.Requests;
2
3
3
4
/// <summary>Use this method to delete the list of the bot's commands for the given scope and user language. After deletion, <a href="https://core.telegram.org/bots/api#determining-list-of-commands">higher level commands</a> will be shown to affected users.<para>Returns: </para></summary>
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Requests/Available methods/Commands/GetMyCommandsRequest.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
// GENERATED FILE - DO NOT MODIFY MANUALLY
1
2
namespaceTelegram.Bot.Requests;
2
3
3
4
/// <summary>Use this method to get the current list of the bot's commands for the given scope and user language.<para>Returns: An Array of <see cref="BotCommand"/> objects. If commands aren't set, an empty list is returned.</para></summary>
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Requests/Available methods/Commands/SetMyCommandsRequest.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
// GENERATED FILE - DO NOT MODIFY MANUALLY
1
2
namespaceTelegram.Bot.Requests;
2
3
3
4
/// <summary>Use this method to change the list of the bot's commands. See <a href="https://core.telegram.org/bots/features#commands">this manual</a> for more details about bot commands.<para>Returns: </para></summary>
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Requests/Available methods/CreateChatSubscriptionInviteLinkRequest.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
// GENERATED FILE - DO NOT MODIFY MANUALLY
1
2
namespaceTelegram.Bot.Requests;
2
3
3
4
/// <summary>Use this method to create a <a href="https://telegram.org/blog/superchannels-star-reactions-subscriptions#star-subscriptions">subscription invite link</a> for a channel chat. The bot must have the <em>CanInviteUsers</em> administrator rights. The link can be edited using the method <see cref="TelegramBotClientExtensions.EditChatSubscriptionInviteLink">EditChatSubscriptionInviteLink</see> or revoked using the method <see cref="TelegramBotClientExtensions.RevokeChatInviteLink">RevokeChatInviteLink</see>.<para>Returns: The new invite link as a <see cref="ChatInviteLink"/> object.</para></summary>
0 commit comments