diff --git a/src/library/Telegram.BotAPI/AvailableMethods/Args/GetBusinessAccountGiftsArgs.cs b/src/library/Telegram.BotAPI/AvailableMethods/Args/GetBusinessAccountGiftsArgs.cs
index dd39c720..dcc0ba58 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/Args/GetBusinessAccountGiftsArgs.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/Args/GetBusinessAccountGiftsArgs.cs
@@ -75,7 +75,7 @@ public GetBusinessAccountGiftsArgs(string businessConnectionId)
public bool? SortByPrice { get; set; }
///
- /// Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
+ /// Offset of the first entry to return as received from the previous request; use an empty string to get the first chunk of results
///
[JsonPropertyName(PropertyNames.Offset)]
public string? Offset { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/Args/PromoteChatMemberArgs.cs b/src/library/Telegram.BotAPI/AvailableMethods/Args/PromoteChatMemberArgs.cs
index efd9ea7c..844bc907 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/Args/PromoteChatMemberArgs.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/Args/PromoteChatMemberArgs.cs
@@ -80,7 +80,7 @@ public PromoteChatMemberArgs(string chatId, long userId)
public bool? CanPromoteMembers { get; set; }
///
- /// Pass True if the administrator can change chat title, photo and other settings
+ /// Pass True if the administrator can change the chat title, photo and other settings
///
[JsonPropertyName(PropertyNames.CanChangeInfo)]
public bool? CanChangeInfo { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/Args/RestrictChatMemberArgs.cs b/src/library/Telegram.BotAPI/AvailableMethods/Args/RestrictChatMemberArgs.cs
index 853afa46..b75bb6e9 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/Args/RestrictChatMemberArgs.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/Args/RestrictChatMemberArgs.cs
@@ -62,7 +62,7 @@ public RestrictChatMemberArgs(string chatId, long userId, ChatPermissions permis
public bool? UseIndependentChatPermissions { get; set; }
///
- /// Date when restrictions will be lifted for the user; Unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever.
+ /// Date when restrictions will be lifted for the user; Unix time. If the user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever.
///
[JsonPropertyName(PropertyNames.UntilDate)]
public int? UntilDate { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendAnimationArgs.cs b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendAnimationArgs.cs
index a7ee4a56..98285f7e 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendAnimationArgs.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendAnimationArgs.cs
@@ -84,13 +84,13 @@ public SendAnimationArgs(string animation)
public int? Height { get; set; }
///
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
///
[JsonPropertyName(PropertyNames.Thumbnail)]
public object? Thumbnail { get; set; }
///
- /// Animation caption (may also be used when resending animation by file_id), 0-1024 characters after entities parsing
+ /// Animation caption (may also be used when resending animations by file_id), 0-1024 characters after entities parsing
///
[JsonPropertyName(PropertyNames.Caption)]
public string? Caption { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendAudioArgs.cs b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendAudioArgs.cs
index 8c47b909..3b40e19d 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendAudioArgs.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendAudioArgs.cs
@@ -102,7 +102,7 @@ public SendAudioArgs(string audio)
public string? Title { get; set; }
///
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
///
[JsonPropertyName(PropertyNames.Thumbnail)]
public object? Thumbnail { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendDocumentArgs.cs b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendDocumentArgs.cs
index 644f00ba..0d20a1b1 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendDocumentArgs.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendDocumentArgs.cs
@@ -66,7 +66,7 @@ public SendDocumentArgs(string document)
public object Document { get; set; }
///
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
///
[JsonPropertyName(PropertyNames.Thumbnail)]
public object? Thumbnail { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendLivePhotoArgs.cs b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendLivePhotoArgs.cs
index e3127dd4..7a59ecb7 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendLivePhotoArgs.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendLivePhotoArgs.cs
@@ -15,7 +15,7 @@ public class SendLivePhotoArgs : AttachedFilesArgsBase
/// Initializes a new instance of the class.
///
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
public SendLivePhotoArgs(InputFile livePhoto, InputFile photo)
{
this.LivePhoto = livePhoto ?? throw new ArgumentNullException(nameof(livePhoto));
@@ -26,7 +26,7 @@ public SendLivePhotoArgs(InputFile livePhoto, InputFile photo)
/// Initializes a new instance of the class.
///
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
public SendLivePhotoArgs(InputFile livePhoto, string photo)
{
this.LivePhoto = livePhoto ?? throw new ArgumentNullException(nameof(livePhoto));
@@ -37,7 +37,7 @@ public SendLivePhotoArgs(InputFile livePhoto, string photo)
/// Initializes a new instance of the class.
///
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
public SendLivePhotoArgs(string livePhoto, InputFile photo)
{
this.LivePhoto = livePhoto ?? throw new ArgumentNullException(nameof(livePhoto));
@@ -48,7 +48,7 @@ public SendLivePhotoArgs(string livePhoto, InputFile photo)
/// Initializes a new instance of the class.
///
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
public SendLivePhotoArgs(string livePhoto, string photo)
{
this.LivePhoto = livePhoto ?? throw new ArgumentNullException(nameof(livePhoto));
@@ -92,19 +92,19 @@ public SendLivePhotoArgs(string livePhoto, string photo)
public object LivePhoto { get; set; }
///
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
///
[JsonPropertyName(PropertyNames.Photo)]
public object Photo { get; set; }
///
- /// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
+ /// Live photo caption (may also be used when resending live photos by file_id), 0-1024 characters after entities parsing
///
[JsonPropertyName(PropertyNames.Caption)]
public string? Caption { get; set; }
///
- /// Mode for parsing entities in the video caption. See formatting options for more details.
+ /// Mode for parsing entities in the live photo caption. See formatting options for more details.
///
[JsonPropertyName(PropertyNames.ParseMode)]
public string? ParseMode { get; set; }
@@ -122,7 +122,7 @@ public SendLivePhotoArgs(string livePhoto, string photo)
public bool? ShowCaptionAboveMedia { get; set; }
///
- /// Pass True if the video needs to be covered with a spoiler animation
+ /// Pass True if the live photo needs to be covered with a spoiler animation
///
[JsonPropertyName(PropertyNames.HasSpoiler)]
public bool? HasSpoiler { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendPaidMediaArgs.cs b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendPaidMediaArgs.cs
index 21336549..cb6a1ef0 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendPaidMediaArgs.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendPaidMediaArgs.cs
@@ -74,7 +74,7 @@ public SendPaidMediaArgs(string chatId, int starCount, IEnumerable Media { get; set; }
///
- /// Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user; use it for your internal processes.
///
[JsonPropertyName(PropertyNames.Payload)]
public string? Payload { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendPollArgs.cs b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendPollArgs.cs
index 7b8bf6cd..e35b2e65 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendPollArgs.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendPollArgs.cs
@@ -99,7 +99,7 @@ public SendPollArgs(string chatId, string question, IEnumerable
public bool? AllowsMultipleAnswers { get; set; }
///
- /// Pass True if the poll allows to change chosen answer options, defaults to False for quizzes and to True for regular polls
+ /// Pass True if the poll allows changing the chosen answer options, defaults to False for quizzes and to True for regular polls
///
[JsonPropertyName(PropertyNames.AllowsRevoting)]
public bool? AllowsRevoting { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoArgs.cs b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoArgs.cs
index c40690f0..76a211b4 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoArgs.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoArgs.cs
@@ -84,7 +84,7 @@ public SendVideoArgs(string video)
public int? Height { get; set; }
///
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
///
[JsonPropertyName(PropertyNames.Thumbnail)]
public object? Thumbnail { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoNoteArgs.cs b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoNoteArgs.cs
index 4643b13e..494516bb 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoNoteArgs.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/Args/SendVideoNoteArgs.cs
@@ -78,7 +78,7 @@ public SendVideoNoteArgs(string videoNote)
public int? Length { get; set; }
///
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
///
[JsonPropertyName(PropertyNames.Thumbnail)]
public object? Thumbnail { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/banChatMember.cs b/src/library/Telegram.BotAPI/AvailableMethods/banChatMember.cs
index 265a88cb..01b9536f 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/banChatMember.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/banChatMember.cs
@@ -15,7 +15,7 @@ public static partial class AvailableMethodsExtensions
/// The instance.
/// Unique identifier for the target group or username of the target supergroup or channel in the format @username
/// Unique identifier of the target user
- /// Date when the user will be unbanned; Unix time. If user is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever. Applied for supergroups and channels only.
+ /// Date when the user will be unbanned; Unix time. If the user is banned for more than 366 days or less than 30 seconds from the current time, they are considered to be banned forever. Applied for supergroups and channels only.
/// Pass True to delete all messages from the chat for the user that is being removed. If False, the user will be able to see messages in the group that were sent before the user was removed. Always True for supergroups and channels.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -29,7 +29,7 @@ public static bool BanChatMember(this ITelegramBotClient client, long chatId, lo
/// The instance.
/// Unique identifier for the target group or username of the target supergroup or channel in the format @username
/// Unique identifier of the target user
- /// Date when the user will be unbanned; Unix time. If user is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever. Applied for supergroups and channels only.
+ /// Date when the user will be unbanned; Unix time. If the user is banned for more than 366 days or less than 30 seconds from the current time, they are considered to be banned forever. Applied for supergroups and channels only.
/// Pass True to delete all messages from the chat for the user that is being removed. If False, the user will be able to see messages in the group that were sent before the user was removed. Always True for supergroups and channels.
/// The cancellation token to cancel operation.
/// Thrown if is null.
@@ -65,7 +65,7 @@ public static Task BanChatMemberAsync(this ITelegramBotClient client, long
/// The instance.
/// Unique identifier for the target group or username of the target supergroup or channel in the format @username
/// Unique identifier of the target user
- /// Date when the user will be unbanned; Unix time. If user is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever. Applied for supergroups and channels only.
+ /// Date when the user will be unbanned; Unix time. If the user is banned for more than 366 days or less than 30 seconds from the current time, they are considered to be banned forever. Applied for supergroups and channels only.
/// Pass True to delete all messages from the chat for the user that is being removed. If False, the user will be able to see messages in the group that were sent before the user was removed. Always True for supergroups and channels.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -79,7 +79,7 @@ public static bool BanChatMember(this ITelegramBotClient client, string chatId,
/// The instance.
/// Unique identifier for the target group or username of the target supergroup or channel in the format @username
/// Unique identifier of the target user
- /// Date when the user will be unbanned; Unix time. If user is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever. Applied for supergroups and channels only.
+ /// Date when the user will be unbanned; Unix time. If the user is banned for more than 366 days or less than 30 seconds from the current time, they are considered to be banned forever. Applied for supergroups and channels only.
/// Pass True to delete all messages from the chat for the user that is being removed. If False, the user will be able to see messages in the group that were sent before the user was removed. Always True for supergroups and channels.
/// The cancellation token to cancel operation.
/// Thrown if is null.
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/closeForumTopic.cs b/src/library/Telegram.BotAPI/AvailableMethods/closeForumTopic.cs
index 702001cf..197c6d67 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/closeForumTopic.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/closeForumTopic.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -22,7 +22,7 @@ public static bool CloseForumTopic(this ITelegramBotClient client, long chatId,
client.CloseForumTopicAsync(chatId, messageThreadId).GetAwaiter().GetResult();
///
- /// Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -48,7 +48,7 @@ public static Task CloseForumTopicAsync(this ITelegramBotClient client, lo
}
///
- /// Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -60,7 +60,7 @@ public static bool CloseForumTopic(this ITelegramBotClient client, string chatId
client.CloseForumTopicAsync(chatId, messageThreadId).GetAwaiter().GetResult();
///
- /// Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/closeGeneralForumTopic.cs b/src/library/Telegram.BotAPI/AvailableMethods/closeGeneralForumTopic.cs
index 7073ad26..5a29cf26 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/closeGeneralForumTopic.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/closeGeneralForumTopic.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -21,7 +21,7 @@ public static bool CloseGeneralForumTopic(this ITelegramBotClient client, long c
client.CloseGeneralForumTopicAsync(chatId).GetAwaiter().GetResult();
///
- /// Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -45,7 +45,7 @@ public static Task CloseGeneralForumTopicAsync(this ITelegramBotClient cli
}
///
- /// Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -56,7 +56,7 @@ public static bool CloseGeneralForumTopic(this ITelegramBotClient client, string
client.CloseGeneralForumTopicAsync(chatId).GetAwaiter().GetResult();
///
- /// Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/createChatInviteLink.cs b/src/library/Telegram.BotAPI/AvailableMethods/createChatInviteLink.cs
index 19eb59b1..02223fd0 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/createChatInviteLink.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/createChatInviteLink.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as object.
+ /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
///
/// The instance.
/// The arguments for the "CreateChatInviteLink" method.
@@ -23,7 +23,7 @@ public static ChatInviteLink CreateChatInviteLink(this ITelegramBotClient client
client.CreateChatInviteLinkAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as object.
+ /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
///
/// The instance.
/// The arguments for the "CreateChatInviteLink" method.
@@ -42,7 +42,7 @@ public static Task CreateChatInviteLinkAsync(this ITelegramBotCl
}
///
- /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as object.
+ /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
///
/// The instance.
/// Unique identifier for the target chat or username of the target channel in the format @username
@@ -57,7 +57,7 @@ public static ChatInviteLink CreateChatInviteLink(this ITelegramBotClient client
client.CreateChatInviteLinkAsync(chatId, name, expireDate, memberLimit, createsJoinRequest).GetAwaiter().GetResult();
///
- /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as object.
+ /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
///
/// The instance.
/// Unique identifier for the target chat or username of the target channel in the format @username
@@ -101,7 +101,7 @@ public static Task CreateChatInviteLinkAsync(this ITelegramBotCl
}
///
- /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as object.
+ /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
///
/// The instance.
/// Unique identifier for the target chat or username of the target channel in the format @username
@@ -116,7 +116,7 @@ public static ChatInviteLink CreateChatInviteLink(this ITelegramBotClient client
client.CreateChatInviteLinkAsync(chatId, name, expireDate, memberLimit, createsJoinRequest).GetAwaiter().GetResult();
///
- /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as object.
+ /// Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
///
/// The instance.
/// Unique identifier for the target chat or username of the target channel in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/createChatSubscriptionInviteLink.cs b/src/library/Telegram.BotAPI/AvailableMethods/createChatSubscriptionInviteLink.cs
index a02fda52..6b653940 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/createChatSubscriptionInviteLink.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/createChatSubscriptionInviteLink.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to create a subscription invite link for a channel chat. The bot must have the can_invite_users administrator rights. The link can be edited using the method editChatSubscriptionInviteLink or revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
+ /// Use this method to create a subscription invite link for a channel chat. The bot must have the can_invite_users administrator right. The link can be edited using the method editChatSubscriptionInviteLink or revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
///
/// The instance.
/// Unique identifier for the target channel chat or username of the target channel in the format @username
@@ -26,7 +26,7 @@ public static ChatInviteLink CreateChatSubscriptionInviteLink(this ITelegramBotC
client.CreateChatSubscriptionInviteLinkAsync(chatId, subscriptionPeriod, subscriptionPrice, name).GetAwaiter().GetResult();
///
- /// Use this method to create a subscription invite link for a channel chat. The bot must have the can_invite_users administrator rights. The link can be edited using the method editChatSubscriptionInviteLink or revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
+ /// Use this method to create a subscription invite link for a channel chat. The bot must have the can_invite_users administrator right. The link can be edited using the method editChatSubscriptionInviteLink or revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
///
/// The instance.
/// Unique identifier for the target channel chat or username of the target channel in the format @username
@@ -59,7 +59,7 @@ public static Task CreateChatSubscriptionInviteLinkAsync(this IT
}
///
- /// Use this method to create a subscription invite link for a channel chat. The bot must have the can_invite_users administrator rights. The link can be edited using the method editChatSubscriptionInviteLink or revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
+ /// Use this method to create a subscription invite link for a channel chat. The bot must have the can_invite_users administrator right. The link can be edited using the method editChatSubscriptionInviteLink or revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
///
/// The instance.
/// Unique identifier for the target channel chat or username of the target channel in the format @username
@@ -73,7 +73,7 @@ public static ChatInviteLink CreateChatSubscriptionInviteLink(this ITelegramBotC
client.CreateChatSubscriptionInviteLinkAsync(chatId, subscriptionPeriod, subscriptionPrice, name).GetAwaiter().GetResult();
///
- /// Use this method to create a subscription invite link for a channel chat. The bot must have the can_invite_users administrator rights. The link can be edited using the method editChatSubscriptionInviteLink or revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
+ /// Use this method to create a subscription invite link for a channel chat. The bot must have the can_invite_users administrator right. The link can be edited using the method editChatSubscriptionInviteLink or revoked using the method revokeChatInviteLink. Returns the new invite link as a object.
///
/// The instance.
/// Unique identifier for the target channel chat or username of the target channel in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/deleteBusinessMessages.cs b/src/library/Telegram.BotAPI/AvailableMethods/deleteBusinessMessages.cs
index 77a8d461..4aa31c33 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/deleteBusinessMessages.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/deleteBusinessMessages.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Delete messages on behalf of a business account. Requires the can_delete_sent_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success.
+ /// Deletes messages on behalf of a business account. Requires the can_delete_sent_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success.
///
/// The instance.
/// The arguments for the "DeleteBusinessMessages" method.
@@ -21,7 +21,7 @@ public static bool DeleteBusinessMessages(this ITelegramBotClient client, Delete
client.DeleteBusinessMessagesAsync(args).GetAwaiter().GetResult();
///
- /// Delete messages on behalf of a business account. Requires the can_delete_sent_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success.
+ /// Deletes messages on behalf of a business account. Requires the can_delete_sent_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success.
///
/// The instance.
/// The arguments for the "DeleteBusinessMessages" method.
@@ -40,7 +40,7 @@ public static Task DeleteBusinessMessagesAsync(this ITelegramBotClient cli
}
///
- /// Delete messages on behalf of a business account. Requires the can_delete_sent_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success.
+ /// Deletes messages on behalf of a business account. Requires the can_delete_sent_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection on behalf of which to delete the messages
@@ -52,7 +52,7 @@ public static bool DeleteBusinessMessages(this ITelegramBotClient client, string
client.DeleteBusinessMessagesAsync(businessConnectionId, messageIds).GetAwaiter().GetResult();
///
- /// Delete messages on behalf of a business account. Requires the can_delete_sent_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success.
+ /// Deletes messages on behalf of a business account. Requires the can_delete_sent_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection on behalf of which to delete the messages
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/deleteForumTopic.cs b/src/library/Telegram.BotAPI/AvailableMethods/deleteForumTopic.cs
index 61ba0d93..651c33d9 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/deleteForumTopic.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/deleteForumTopic.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.
+ /// Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -22,7 +22,7 @@ public static bool DeleteForumTopic(this ITelegramBotClient client, long chatId,
client.DeleteForumTopicAsync(chatId, messageThreadId).GetAwaiter().GetResult();
///
- /// Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.
+ /// Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -48,7 +48,7 @@ public static Task DeleteForumTopicAsync(this ITelegramBotClient client, l
}
///
- /// Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.
+ /// Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -60,7 +60,7 @@ public static bool DeleteForumTopic(this ITelegramBotClient client, string chatI
client.DeleteForumTopicAsync(chatId, messageThreadId).GetAwaiter().GetResult();
///
- /// Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success.
+ /// Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/editChatSubscriptionInviteLink.cs b/src/library/Telegram.BotAPI/AvailableMethods/editChatSubscriptionInviteLink.cs
index c89905df..afeb029f 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/editChatSubscriptionInviteLink.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/editChatSubscriptionInviteLink.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator rights. Returns the edited invite link as a object.
+ /// Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator right. Returns the edited invite link as a object.
///
/// The instance.
/// Unique identifier for the target chat or username of the target channel in the format @username
@@ -25,7 +25,7 @@ public static ChatInviteLink EditChatSubscriptionInviteLink(this ITelegramBotCli
client.EditChatSubscriptionInviteLinkAsync(chatId, inviteLink, name).GetAwaiter().GetResult();
///
- /// Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator rights. Returns the edited invite link as a object.
+ /// Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator right. Returns the edited invite link as a object.
///
/// The instance.
/// Unique identifier for the target chat or username of the target channel in the format @username
@@ -56,7 +56,7 @@ public static Task EditChatSubscriptionInviteLinkAsync(this ITel
}
///
- /// Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator rights. Returns the edited invite link as a object.
+ /// Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator right. Returns the edited invite link as a object.
///
/// The instance.
/// Unique identifier for the target chat or username of the target channel in the format @username
@@ -69,7 +69,7 @@ public static ChatInviteLink EditChatSubscriptionInviteLink(this ITelegramBotCli
client.EditChatSubscriptionInviteLinkAsync(chatId, inviteLink, name).GetAwaiter().GetResult();
///
- /// Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator rights. Returns the edited invite link as a object.
+ /// Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator right. Returns the edited invite link as a object.
///
/// The instance.
/// Unique identifier for the target chat or username of the target channel in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/editForumTopic.cs b/src/library/Telegram.BotAPI/AvailableMethods/editForumTopic.cs
index 104b4f31..76d57aed 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/editForumTopic.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/editForumTopic.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to edit name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to edit the name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -24,7 +24,7 @@ public static bool EditForumTopic(this ITelegramBotClient client, long chatId, i
client.EditForumTopicAsync(chatId, messageThreadId, name, iconCustomEmojiId).GetAwaiter().GetResult();
///
- /// Use this method to edit name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to edit the name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -60,7 +60,7 @@ public static Task EditForumTopicAsync(this ITelegramBotClient client, lon
}
///
- /// Use this method to edit name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to edit the name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -74,7 +74,7 @@ public static bool EditForumTopic(this ITelegramBotClient client, string chatId,
client.EditForumTopicAsync(chatId, messageThreadId, name, iconCustomEmojiId).GetAwaiter().GetResult();
///
- /// Use this method to edit name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to edit the name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/editGeneralForumTopic.cs b/src/library/Telegram.BotAPI/AvailableMethods/editGeneralForumTopic.cs
index 2a81ff09..bb212cbd 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/editGeneralForumTopic.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/editGeneralForumTopic.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -22,7 +22,7 @@ public static bool EditGeneralForumTopic(this ITelegramBotClient client, long ch
client.EditGeneralForumTopicAsync(chatId, name).GetAwaiter().GetResult();
///
- /// Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -48,7 +48,7 @@ public static Task EditGeneralForumTopicAsync(this ITelegramBotClient clie
}
///
- /// Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -60,7 +60,7 @@ public static bool EditGeneralForumTopic(this ITelegramBotClient client, string
client.EditGeneralForumTopicAsync(chatId, name).GetAwaiter().GetResult();
///
- /// Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/getBusinessAccountGifts.cs b/src/library/Telegram.BotAPI/AvailableMethods/getBusinessAccountGifts.cs
index 40b84924..3e6e0e6b 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/getBusinessAccountGifts.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/getBusinessAccountGifts.cs
@@ -54,7 +54,7 @@ public static Task GetBusinessAccountGiftsAsync(this ITelegramBotCli
/// Pass True to exclude unique gifts
/// Pass True to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram
/// Pass True to sort results by gift price instead of send date. Sorting is applied before pagination.
- /// Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
+ /// Offset of the first entry to return as received from the previous request; use an empty string to get the first chunk of results
/// The maximum number of gifts to be returned; 1-100. Defaults to 100.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -75,7 +75,7 @@ public static OwnedGifts GetBusinessAccountGifts(this ITelegramBotClient client,
/// Pass True to exclude unique gifts
/// Pass True to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram
/// Pass True to sort results by gift price instead of send date. Sorting is applied before pagination.
- /// Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
+ /// Offset of the first entry to return as received from the previous request; use an empty string to get the first chunk of results
/// The maximum number of gifts to be returned; 1-100. Defaults to 100.
/// The cancellation token to cancel operation.
/// Thrown if is null.
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/getMe.cs b/src/library/Telegram.BotAPI/AvailableMethods/getMe.cs
index ce6e9d6f..808ddd78 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/getMe.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/getMe.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// A simple method for testing your bot's authentication token. Requires no parameters. Returns information about the bot in form of a object.
+ /// A simple method for testing your bot's authentication token. Requires no parameters. Returns information about the bot in the form of a object.
///
/// The instance.
/// Thrown if is null.
@@ -22,7 +22,7 @@ public static BotFullInfo GetMe(this ITelegramBotClient client) =>
client.GetMeAsync().GetAwaiter().GetResult();
///
- /// A simple method for testing your bot's authentication token. Requires no parameters. Returns information about the bot in form of a object.
+ /// A simple method for testing your bot's authentication token. Requires no parameters. Returns information about the bot in the form of a object.
///
/// The instance.
/// The cancellation token to cancel operation.
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/getMyDefaultAdministratorRights.cs b/src/library/Telegram.BotAPI/AvailableMethods/getMyDefaultAdministratorRights.cs
index d73c62ff..d24c6fe9 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/getMyDefaultAdministratorRights.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/getMyDefaultAdministratorRights.cs
@@ -15,7 +15,7 @@ public static partial class AvailableMethodsExtensions
/// Use this method to get the current default administrator rights of the bot. Returns on success.
///
/// The instance.
- /// Pass True to get default administrator rights of the bot in channels. Otherwise, default administrator rights of the bot for groups and supergroups will be returned.
+ /// Pass True to get the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups will be returned.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
///
@@ -26,7 +26,7 @@ public static ChatAdministratorRights GetMyDefaultAdministratorRights(this ITele
/// Use this method to get the current default administrator rights of the bot. Returns on success.
///
/// The instance.
- /// Pass True to get default administrator rights of the bot in channels. Otherwise, default administrator rights of the bot for groups and supergroups will be returned.
+ /// Pass True to get the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups will be returned.
/// The cancellation token to cancel operation.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/hideGeneralForumTopic.cs b/src/library/Telegram.BotAPI/AvailableMethods/hideGeneralForumTopic.cs
index fbffde4e..ffab5480 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/hideGeneralForumTopic.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/hideGeneralForumTopic.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically closed if it was open. Returns True on success.
+ /// Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. The topic will be automatically closed if it was open. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -21,7 +21,7 @@ public static bool HideGeneralForumTopic(this ITelegramBotClient client, long ch
client.HideGeneralForumTopicAsync(chatId).GetAwaiter().GetResult();
///
- /// Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically closed if it was open. Returns True on success.
+ /// Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. The topic will be automatically closed if it was open. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -45,7 +45,7 @@ public static Task HideGeneralForumTopicAsync(this ITelegramBotClient clie
}
///
- /// Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically closed if it was open. Returns True on success.
+ /// Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. The topic will be automatically closed if it was open. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -56,7 +56,7 @@ public static bool HideGeneralForumTopic(this ITelegramBotClient client, string
client.HideGeneralForumTopicAsync(chatId).GetAwaiter().GetResult();
///
- /// Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically closed if it was open. Returns True on success.
+ /// Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. The topic will be automatically closed if it was open. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/logOut.cs b/src/library/Telegram.BotAPI/AvailableMethods/logOut.cs
index f0227557..5e4380b0 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/logOut.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/logOut.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to log out from the cloud Bot API server before launching the bot locally. You must log out the bot before running it locally, otherwise there is no guarantee that the bot will receive updates. After a successful call, you can immediately log in on a local server, but will not be able to log in back to the cloud Bot API server for 10 minutes. Returns True on success. Requires no parameters.
+ /// Use this method to log out from the cloud Bot API server before launching the bot locally. You must log out the bot before running it locally; otherwise, there is no guarantee that the bot will receive updates. After a successful call, you can immediately log in on a local server, but will not be able to log back in to the cloud Bot API server for 10 minutes. Returns True on success. Requires no parameters.
///
/// The instance.
/// Thrown if is null.
@@ -20,7 +20,7 @@ public static bool LogOut(this ITelegramBotClient client) =>
client.LogOutAsync().GetAwaiter().GetResult();
///
- /// Use this method to log out from the cloud Bot API server before launching the bot locally. You must log out the bot before running it locally, otherwise there is no guarantee that the bot will receive updates. After a successful call, you can immediately log in on a local server, but will not be able to log in back to the cloud Bot API server for 10 minutes. Returns True on success. Requires no parameters.
+ /// Use this method to log out from the cloud Bot API server before launching the bot locally. You must log out the bot before running it locally; otherwise, there is no guarantee that the bot will receive updates. After a successful call, you can immediately log in on a local server, but will not be able to log back in to the cloud Bot API server for 10 minutes. Returns True on success. Requires no parameters.
///
/// The instance.
/// The cancellation token to cancel operation.
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/promoteChatMember.cs b/src/library/Telegram.BotAPI/AvailableMethods/promoteChatMember.cs
index d6894c6a..088436a5 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/promoteChatMember.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/promoteChatMember.cs
@@ -51,7 +51,7 @@ public static Task PromoteChatMemberAsync(this ITelegramBotClient client,
/// Pass True if the administrator can manage video chats
/// Pass True if the administrator can restrict, ban or unban chat members, or access supergroup statistics. For backward compatibility, defaults to True for promotions of channel administrators.
/// Pass True if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)
- /// Pass True if the administrator can change chat title, photo and other settings
+ /// Pass True if the administrator can change the chat title, photo and other settings
/// Pass True if the administrator can invite new users to the chat
/// Pass True if the administrator can post stories to the chat
/// Pass True if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive
@@ -81,7 +81,7 @@ public static bool PromoteChatMember(this ITelegramBotClient client, long chatId
/// Pass True if the administrator can manage video chats
/// Pass True if the administrator can restrict, ban or unban chat members, or access supergroup statistics. For backward compatibility, defaults to True for promotions of channel administrators.
/// Pass True if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)
- /// Pass True if the administrator can change chat title, photo and other settings
+ /// Pass True if the administrator can change the chat title, photo and other settings
/// Pass True if the administrator can invite new users to the chat
/// Pass True if the administrator can post stories to the chat
/// Pass True if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive
@@ -197,7 +197,7 @@ public static Task PromoteChatMemberAsync(this ITelegramBotClient client,
/// Pass True if the administrator can manage video chats
/// Pass True if the administrator can restrict, ban or unban chat members, or access supergroup statistics. For backward compatibility, defaults to True for promotions of channel administrators.
/// Pass True if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)
- /// Pass True if the administrator can change chat title, photo and other settings
+ /// Pass True if the administrator can change the chat title, photo and other settings
/// Pass True if the administrator can invite new users to the chat
/// Pass True if the administrator can post stories to the chat
/// Pass True if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive
@@ -227,7 +227,7 @@ public static bool PromoteChatMember(this ITelegramBotClient client, string chat
/// Pass True if the administrator can manage video chats
/// Pass True if the administrator can restrict, ban or unban chat members, or access supergroup statistics. For backward compatibility, defaults to True for promotions of channel administrators.
/// Pass True if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)
- /// Pass True if the administrator can change chat title, photo and other settings
+ /// Pass True if the administrator can change the chat title, photo and other settings
/// Pass True if the administrator can invite new users to the chat
/// Pass True if the administrator can post stories to the chat
/// Pass True if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/readBusinessMessage.cs b/src/library/Telegram.BotAPI/AvailableMethods/readBusinessMessage.cs
index ea4b8a29..e613aeff 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/readBusinessMessage.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/readBusinessMessage.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Marks incoming message as read on behalf of a business account. Requires the can_read_messages business bot right. Returns True on success.
+ /// Marks an incoming message as read on behalf of a business account. Requires the can_read_messages business bot right. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection on behalf of which to read the message
@@ -23,7 +23,7 @@ public static bool ReadBusinessMessage(this ITelegramBotClient client, string bu
client.ReadBusinessMessageAsync(businessConnectionId, chatId, messageId).GetAwaiter().GetResult();
///
- /// Marks incoming message as read on behalf of a business account. Requires the can_read_messages business bot right. Returns True on success.
+ /// Marks an incoming message as read on behalf of a business account. Requires the can_read_messages business bot right. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection on behalf of which to read the message
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/removeChatVerification.cs b/src/library/Telegram.BotAPI/AvailableMethods/removeChatVerification.cs
index de314073..9edddcb5 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/removeChatVerification.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/removeChatVerification.cs
@@ -13,7 +13,7 @@ public static partial class AvailableMethodsExtensions
/// Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns True on success.
///
/// The instance.
- /// Unique identifier for the target chat or username of the target bot or channel in the format @username
+ /// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
///
@@ -24,7 +24,7 @@ public static bool RemoveChatVerification(this ITelegramBotClient client, long c
/// Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns True on success.
///
/// The instance.
- /// Unique identifier for the target chat or username of the target bot or channel in the format @username
+ /// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
/// The cancellation token to cancel operation.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -48,7 +48,7 @@ public static Task RemoveChatVerificationAsync(this ITelegramBotClient cli
/// Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns True on success.
///
/// The instance.
- /// Unique identifier for the target chat or username of the target bot or channel in the format @username
+ /// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
///
@@ -59,7 +59,7 @@ public static bool RemoveChatVerification(this ITelegramBotClient client, string
/// Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns True on success.
///
/// The instance.
- /// Unique identifier for the target chat or username of the target bot or channel in the format @username
+ /// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
/// The cancellation token to cancel operation.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/reopenForumTopic.cs b/src/library/Telegram.BotAPI/AvailableMethods/reopenForumTopic.cs
index 0c46342e..ad9bf148 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/reopenForumTopic.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/reopenForumTopic.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -22,7 +22,7 @@ public static bool ReopenForumTopic(this ITelegramBotClient client, long chatId,
client.ReopenForumTopicAsync(chatId, messageThreadId).GetAwaiter().GetResult();
///
- /// Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -48,7 +48,7 @@ public static Task ReopenForumTopicAsync(this ITelegramBotClient client, l
}
///
- /// Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -60,7 +60,7 @@ public static bool ReopenForumTopic(this ITelegramBotClient client, string chatI
client.ReopenForumTopicAsync(chatId, messageThreadId).GetAwaiter().GetResult();
///
- /// Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success.
+ /// Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right, unless it is the creator of the topic. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/reopenGeneralForumTopic.cs b/src/library/Telegram.BotAPI/AvailableMethods/reopenGeneralForumTopic.cs
index 2394478a..ecd3f93a 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/reopenGeneralForumTopic.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/reopenGeneralForumTopic.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically unhidden if it was hidden. Returns True on success.
+ /// Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. The topic will be automatically unhidden if it was hidden. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -21,7 +21,7 @@ public static bool ReopenGeneralForumTopic(this ITelegramBotClient client, long
client.ReopenGeneralForumTopicAsync(chatId).GetAwaiter().GetResult();
///
- /// Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically unhidden if it was hidden. Returns True on success.
+ /// Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. The topic will be automatically unhidden if it was hidden. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -45,7 +45,7 @@ public static Task ReopenGeneralForumTopicAsync(this ITelegramBotClient cl
}
///
- /// Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically unhidden if it was hidden. Returns True on success.
+ /// Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. The topic will be automatically unhidden if it was hidden. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -56,7 +56,7 @@ public static bool ReopenGeneralForumTopic(this ITelegramBotClient client, strin
client.ReopenGeneralForumTopicAsync(chatId).GetAwaiter().GetResult();
///
- /// Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically unhidden if it was hidden. Returns True on success.
+ /// Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. The topic will be automatically unhidden if it was hidden. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/restrictChatMember.cs b/src/library/Telegram.BotAPI/AvailableMethods/restrictChatMember.cs
index 8cfddc6d..e43412b5 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/restrictChatMember.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/restrictChatMember.cs
@@ -49,7 +49,7 @@ public static Task RestrictChatMemberAsync(this ITelegramBotClient client,
/// Unique identifier of the target user
/// A JSON-serialized object for new user permissions
/// Pass True if chat permissions are set independently. Otherwise, the can_send_other_messages and can_add_web_page_previews permissions will imply the can_send_messages, can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes permissions; the can_send_polls permission will imply the can_send_messages permission.
- /// Date when restrictions will be lifted for the user; Unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever.
+ /// Date when restrictions will be lifted for the user; Unix time. If the user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
///
@@ -64,7 +64,7 @@ public static bool RestrictChatMember(this ITelegramBotClient client, long chatI
/// Unique identifier of the target user
/// A JSON-serialized object for new user permissions
/// Pass True if chat permissions are set independently. Otherwise, the can_send_other_messages and can_add_web_page_previews permissions will imply the can_send_messages, can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes permissions; the can_send_polls permission will imply the can_send_messages permission.
- /// Date when restrictions will be lifted for the user; Unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever.
+ /// Date when restrictions will be lifted for the user; Unix time. If the user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever.
/// The cancellation token to cancel operation.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -102,7 +102,7 @@ public static Task RestrictChatMemberAsync(this ITelegramBotClient client,
/// Unique identifier of the target user
/// A JSON-serialized object for new user permissions
/// Pass True if chat permissions are set independently. Otherwise, the can_send_other_messages and can_add_web_page_previews permissions will imply the can_send_messages, can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes permissions; the can_send_polls permission will imply the can_send_messages permission.
- /// Date when restrictions will be lifted for the user; Unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever.
+ /// Date when restrictions will be lifted for the user; Unix time. If the user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
///
@@ -117,7 +117,7 @@ public static bool RestrictChatMember(this ITelegramBotClient client, string cha
/// Unique identifier of the target user
/// A JSON-serialized object for new user permissions
/// Pass True if chat permissions are set independently. Otherwise, the can_send_other_messages and can_add_web_page_previews permissions will imply the can_send_messages, can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes permissions; the can_send_polls permission will imply the can_send_messages permission.
- /// Date when restrictions will be lifted for the user; Unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever.
+ /// Date when restrictions will be lifted for the user; Unix time. If the user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever.
/// The cancellation token to cancel operation.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/revokeChatInviteLink.cs b/src/library/Telegram.BotAPI/AvailableMethods/revokeChatInviteLink.cs
index da70d1cd..5729264b 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/revokeChatInviteLink.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/revokeChatInviteLink.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as object.
+ /// Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as a object.
///
/// The instance.
/// Unique identifier of the target chat or username of the target channel in the format @username
@@ -24,7 +24,7 @@ public static ChatInviteLink RevokeChatInviteLink(this ITelegramBotClient client
client.RevokeChatInviteLinkAsync(chatId, inviteLink).GetAwaiter().GetResult();
///
- /// Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as object.
+ /// Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as a object.
///
/// The instance.
/// Unique identifier of the target chat or username of the target channel in the format @username
@@ -50,7 +50,7 @@ public static Task RevokeChatInviteLinkAsync(this ITelegramBotCl
}
///
- /// Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as object.
+ /// Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as a object.
///
/// The instance.
/// Unique identifier of the target chat or username of the target channel in the format @username
@@ -62,7 +62,7 @@ public static ChatInviteLink RevokeChatInviteLink(this ITelegramBotClient client
client.RevokeChatInviteLinkAsync(chatId, inviteLink).GetAwaiter().GetResult();
///
- /// Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as object.
+ /// Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as a object.
///
/// The instance.
/// Unique identifier of the target chat or username of the target channel in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendAnimation.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendAnimation.cs
index 95736736..421f604a 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendAnimation.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendAnimation.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// The arguments for the "SendAnimation" method.
@@ -23,7 +23,7 @@ public static Message SendAnimation(this ITelegramBotClient client, SendAnimatio
client.SendAnimationAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// The arguments for the "SendAnimation" method.
@@ -42,7 +42,7 @@ public static Task SendAnimationAsync(this ITelegramBotClient client, S
}
///
- /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Animation to send. Pass a file_id as String to send an animation that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get an animation from the Internet, or upload a new animation using multipart/form-data. More information on Sending Files »
@@ -54,8 +54,8 @@ public static Task SendAnimationAsync(this ITelegramBotClient client, S
/// Duration of sent animation in seconds
/// Animation width
/// Animation height
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
- /// Animation caption (may also be used when resending animation by file_id), 0-1024 characters after entities parsing
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Animation caption (may also be used when resending animations by file_id), 0-1024 characters after entities parsing
/// Mode for parsing entities in the animation caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
@@ -74,7 +74,7 @@ public static Message SendAnimation(this ITelegramBotClient client, InputFile an
client.SendAnimationAsync(animation, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Animation to send. Pass a file_id as String to send an animation that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get an animation from the Internet, or upload a new animation using multipart/form-data. More information on Sending Files »
@@ -86,8 +86,8 @@ public static Message SendAnimation(this ITelegramBotClient client, InputFile an
/// Duration of sent animation in seconds
/// Animation width
/// Animation height
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
- /// Animation caption (may also be used when resending animation by file_id), 0-1024 characters after entities parsing
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Animation caption (may also be used when resending animations by file_id), 0-1024 characters after entities parsing
/// Mode for parsing entities in the animation caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
@@ -203,7 +203,7 @@ public static Task SendAnimationAsync(this ITelegramBotClient client, I
}
///
- /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Animation to send. Pass a file_id as String to send an animation that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get an animation from the Internet, or upload a new animation using multipart/form-data. More information on Sending Files »
@@ -215,8 +215,8 @@ public static Task SendAnimationAsync(this ITelegramBotClient client, I
/// Duration of sent animation in seconds
/// Animation width
/// Animation height
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
- /// Animation caption (may also be used when resending animation by file_id), 0-1024 characters after entities parsing
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Animation caption (may also be used when resending animations by file_id), 0-1024 characters after entities parsing
/// Mode for parsing entities in the animation caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
@@ -236,7 +236,7 @@ public static Message SendAnimation(this ITelegramBotClient client, string anima
client.SendAnimationAsync(animation, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup, files).GetAwaiter().GetResult();
///
- /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent is returned. Bots can currently send animation files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Animation to send. Pass a file_id as String to send an animation that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get an animation from the Internet, or upload a new animation using multipart/form-data. More information on Sending Files »
@@ -248,8 +248,8 @@ public static Message SendAnimation(this ITelegramBotClient client, string anima
/// Duration of sent animation in seconds
/// Animation width
/// Animation height
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
- /// Animation caption (may also be used when resending animation by file_id), 0-1024 characters after entities parsing
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Animation caption (may also be used when resending animations by file_id), 0-1024 characters after entities parsing
/// Mode for parsing entities in the animation caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendAudio.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendAudio.cs
index babffe02..032d73b2 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendAudio.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendAudio.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size; this limit may be changed in the future.
/// For sending voice messages, use the sendVoice method instead.
///
/// The instance.
@@ -24,7 +24,7 @@ public static Message SendAudio(this ITelegramBotClient client, SendAudioArgs ar
client.SendAudioAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size; this limit may be changed in the future.
/// For sending voice messages, use the sendVoice method instead.
///
/// The instance.
@@ -44,7 +44,7 @@ public static Task SendAudioAsync(this ITelegramBotClient client, SendA
}
///
- /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size; this limit may be changed in the future.
/// For sending voice messages, use the sendVoice method instead.
///
/// The instance.
@@ -60,7 +60,7 @@ public static Task SendAudioAsync(this ITelegramBotClient client, SendA
/// Duration of the audio in seconds
/// Performer
/// Track name
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -75,7 +75,7 @@ public static Message SendAudio(this ITelegramBotClient client, InputFile audio,
client.SendAudioAsync(audio, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, caption, parseMode, captionEntities, duration, performer, title, thumbnail, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size; this limit may be changed in the future.
/// For sending voice messages, use the sendVoice method instead.
///
/// The instance.
@@ -91,7 +91,7 @@ public static Message SendAudio(this ITelegramBotClient client, InputFile audio,
/// Duration of the audio in seconds
/// Performer
/// Track name
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -195,7 +195,7 @@ public static Task SendAudioAsync(this ITelegramBotClient client, Input
}
///
- /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size; this limit may be changed in the future.
/// For sending voice messages, use the sendVoice method instead.
///
/// The instance.
@@ -211,7 +211,7 @@ public static Task SendAudioAsync(this ITelegramBotClient client, Input
/// Duration of the audio in seconds
/// Performer
/// Track name
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -227,7 +227,7 @@ public static Message SendAudio(this ITelegramBotClient client, string audio, st
client.SendAudioAsync(audio, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, caption, parseMode, captionEntities, duration, performer, title, thumbnail, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup, files).GetAwaiter().GetResult();
///
- /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent is returned. Bots can currently send audio files of up to 50 MB in size; this limit may be changed in the future.
/// For sending voice messages, use the sendVoice method instead.
///
/// The instance.
@@ -243,7 +243,7 @@ public static Message SendAudio(this ITelegramBotClient client, string audio, st
/// Duration of the audio in seconds
/// Performer
/// Track name
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendDocument.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendDocument.cs
index 76c999d2..658f194f 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendDocument.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendDocument.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// The arguments for the "SendDocument" method.
@@ -23,7 +23,7 @@ public static Message SendDocument(this ITelegramBotClient client, SendDocumentA
client.SendDocumentAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// The arguments for the "SendDocument" method.
@@ -42,7 +42,7 @@ public static Task SendDocumentAsync(this ITelegramBotClient client, Se
}
///
- /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// File to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files »
@@ -51,7 +51,7 @@ public static Task SendDocumentAsync(this ITelegramBotClient client, Se
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Document caption (may also be used when resending documents by file_id), 0-1024 characters after entities parsing
/// Mode for parsing entities in the document caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
@@ -70,7 +70,7 @@ public static Message SendDocument(this ITelegramBotClient client, InputFile doc
client.SendDocumentAsync(document, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, thumbnail, caption, parseMode, captionEntities, disableContentTypeDetection, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// File to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files »
@@ -79,7 +79,7 @@ public static Message SendDocument(this ITelegramBotClient client, InputFile doc
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Document caption (may also be used when resending documents by file_id), 0-1024 characters after entities parsing
/// Mode for parsing entities in the document caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
@@ -179,7 +179,7 @@ public static Task SendDocumentAsync(this ITelegramBotClient client, In
}
///
- /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// File to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files »
@@ -188,7 +188,7 @@ public static Task SendDocumentAsync(this ITelegramBotClient client, In
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Document caption (may also be used when resending documents by file_id), 0-1024 characters after entities parsing
/// Mode for parsing entities in the document caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
@@ -208,7 +208,7 @@ public static Message SendDocument(this ITelegramBotClient client, string docume
client.SendDocumentAsync(document, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, thumbnail, caption, parseMode, captionEntities, disableContentTypeDetection, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup, files).GetAwaiter().GetResult();
///
- /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send general files. On success, the sent is returned. Bots can currently send files of any type of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// File to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files »
@@ -217,7 +217,7 @@ public static Message SendDocument(this ITelegramBotClient client, string docume
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Document caption (may also be used when resending documents by file_id), 0-1024 characters after entities parsing
/// Mode for parsing entities in the document caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendLivePhoto.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendLivePhoto.cs
index 5398cbc2..82ac6a2b 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendLivePhoto.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendLivePhoto.cs
@@ -46,17 +46,17 @@ public static Task SendLivePhotoAsync(this ITelegramBotClient client, S
///
/// The instance.
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username; required unless the message is sent as an ephemeral reply to a callback query
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
- /// Mode for parsing entities in the video caption. See formatting options for more details.
+ /// Live photo caption (may also be used when resending live photos by file_id), 0-1024 characters after entities parsing
+ /// Mode for parsing entities in the live photo caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
- /// Pass True if the video needs to be covered with a spoiler animation
+ /// Pass True if the live photo needs to be covered with a spoiler animation
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -75,17 +75,17 @@ public static Message SendLivePhoto(this ITelegramBotClient client, InputFile li
///
/// The instance.
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username; required unless the message is sent as an ephemeral reply to a callback query
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
- /// Mode for parsing entities in the video caption. See formatting options for more details.
+ /// Live photo caption (may also be used when resending live photos by file_id), 0-1024 characters after entities parsing
+ /// Mode for parsing entities in the live photo caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
- /// Pass True if the video needs to be covered with a spoiler animation
+ /// Pass True if the live photo needs to be covered with a spoiler animation
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -186,17 +186,17 @@ public static Task SendLivePhotoAsync(this ITelegramBotClient client, I
///
/// The instance.
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username; required unless the message is sent as an ephemeral reply to a callback query
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
- /// Mode for parsing entities in the video caption. See formatting options for more details.
+ /// Live photo caption (may also be used when resending live photos by file_id), 0-1024 characters after entities parsing
+ /// Mode for parsing entities in the live photo caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
- /// Pass True if the video needs to be covered with a spoiler animation
+ /// Pass True if the live photo needs to be covered with a spoiler animation
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -215,17 +215,17 @@ public static Message SendLivePhoto(this ITelegramBotClient client, InputFile li
///
/// The instance.
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username; required unless the message is sent as an ephemeral reply to a callback query
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
- /// Mode for parsing entities in the video caption. See formatting options for more details.
+ /// Live photo caption (may also be used when resending live photos by file_id), 0-1024 characters after entities parsing
+ /// Mode for parsing entities in the live photo caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
- /// Pass True if the video needs to be covered with a spoiler animation
+ /// Pass True if the live photo needs to be covered with a spoiler animation
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -326,17 +326,17 @@ public static Task SendLivePhotoAsync(this ITelegramBotClient client, I
///
/// The instance.
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username; required unless the message is sent as an ephemeral reply to a callback query
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
- /// Mode for parsing entities in the video caption. See formatting options for more details.
+ /// Live photo caption (may also be used when resending live photos by file_id), 0-1024 characters after entities parsing
+ /// Mode for parsing entities in the live photo caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
- /// Pass True if the video needs to be covered with a spoiler animation
+ /// Pass True if the live photo needs to be covered with a spoiler animation
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -355,17 +355,17 @@ public static Message SendLivePhoto(this ITelegramBotClient client, string liveP
///
/// The instance.
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username; required unless the message is sent as an ephemeral reply to a callback query
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
- /// Mode for parsing entities in the video caption. See formatting options for more details.
+ /// Live photo caption (may also be used when resending live photos by file_id), 0-1024 characters after entities parsing
+ /// Mode for parsing entities in the live photo caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
- /// Pass True if the video needs to be covered with a spoiler animation
+ /// Pass True if the live photo needs to be covered with a spoiler animation
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -466,17 +466,17 @@ public static Task SendLivePhotoAsync(this ITelegramBotClient client, s
///
/// The instance.
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username; required unless the message is sent as an ephemeral reply to a callback query
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
- /// Mode for parsing entities in the video caption. See formatting options for more details.
+ /// Live photo caption (may also be used when resending live photos by file_id), 0-1024 characters after entities parsing
+ /// Mode for parsing entities in the live photo caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
- /// Pass True if the video needs to be covered with a spoiler animation
+ /// Pass True if the live photo needs to be covered with a spoiler animation
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -495,17 +495,17 @@ public static Message SendLivePhoto(this ITelegramBotClient client, string liveP
///
/// The instance.
/// Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
- /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
+ /// The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new photo using multipart/form-data. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username; required unless the message is sent as an ephemeral reply to a callback query
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// A JSON-serialized object containing the parameters of the ephemeral message to send
- /// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
- /// Mode for parsing entities in the video caption. See formatting options for more details.
+ /// Live photo caption (may also be used when resending live photos by file_id), 0-1024 characters after entities parsing
+ /// Mode for parsing entities in the live photo caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
/// Pass True if the caption must be shown above the message media
- /// Pass True if the video needs to be covered with a spoiler animation
+ /// Pass True if the live photo needs to be covered with a spoiler animation
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendLocation.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendLocation.cs
index 0f538e1c..abf200d6 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendLocation.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendLocation.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to send point on the map. On success, the sent is returned.
+ /// Use this method to send a point on the map. On success, the sent is returned.
///
/// The instance.
/// The arguments for the "SendLocation" method.
@@ -23,7 +23,7 @@ public static Message SendLocation(this ITelegramBotClient client, SendLocationA
client.SendLocationAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to send point on the map. On success, the sent is returned.
+ /// Use this method to send a point on the map. On success, the sent is returned.
///
/// The instance.
/// The arguments for the "SendLocation" method.
@@ -42,7 +42,7 @@ public static Task SendLocationAsync(this ITelegramBotClient client, Se
}
///
- /// Use this method to send point on the map. On success, the sent is returned.
+ /// Use this method to send a point on the map. On success, the sent is returned.
///
/// The instance.
/// Latitude of the location
@@ -70,7 +70,7 @@ public static Message SendLocation(this ITelegramBotClient client, float latitud
client.SendLocationAsync(latitude, longitude, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, horizontalAccuracy, livePeriod, heading, proximityAlertRadius, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to send point on the map. On success, the sent is returned.
+ /// Use this method to send a point on the map. On success, the sent is returned.
///
/// The instance.
/// Latitude of the location
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendMediaGroup.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendMediaGroup.cs
index 3028707a..58e555a8 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendMediaGroup.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendMediaGroup.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
+ /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can only be grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
///
/// The instance.
/// The arguments for the "SendMediaGroup" method.
@@ -23,7 +23,7 @@ public static IEnumerable SendMediaGroup(this ITelegramBotClient client
client.SendMediaGroupAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
+ /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can only be grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
///
/// The instance.
/// The arguments for the "SendMediaGroup" method.
@@ -42,7 +42,7 @@ public static Task> SendMediaGroupAsync(this ITelegramBotCl
}
///
- /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
+ /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can only be grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
///
/// The instance.
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
@@ -62,7 +62,7 @@ public static IEnumerable SendMediaGroup(this ITelegramBotClient client
client.SendMediaGroupAsync(chatId, media, businessConnectionId, messageThreadId, directMessagesTopicId, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, replyParameters).GetAwaiter().GetResult();
///
- /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
+ /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can only be grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
///
/// The instance.
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
@@ -128,7 +128,7 @@ public static Task> SendMediaGroupAsync(this ITelegramBotCl
}
///
- /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
+ /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can only be grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
///
/// The instance.
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
@@ -148,7 +148,7 @@ public static IEnumerable SendMediaGroup(this ITelegramBotClient client
client.SendMediaGroupAsync(chatId, media, businessConnectionId, messageThreadId, directMessagesTopicId, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, replyParameters).GetAwaiter().GetResult();
///
- /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
+ /// Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can only be grouped in an album with messages of the same type. On success, an Array of objects that were sent is returned.
///
/// The instance.
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendPaidMedia.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendPaidMedia.cs
index 33404822..018de5de 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendPaidMedia.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendPaidMedia.cs
@@ -51,7 +51,7 @@ public static Task SendPaidMediaAsync(this ITelegramBotClient client, S
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
- /// Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Media caption, 0-1024 characters after entities parsing
/// Mode for parsing entities in the media caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
@@ -78,7 +78,7 @@ public static Message SendPaidMedia(this ITelegramBotClient client, long chatId,
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
- /// Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Media caption, 0-1024 characters after entities parsing
/// Mode for parsing entities in the media caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
@@ -176,7 +176,7 @@ public static Task SendPaidMediaAsync(this ITelegramBotClient client, l
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
- /// Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Media caption, 0-1024 characters after entities parsing
/// Mode for parsing entities in the media caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
@@ -203,7 +203,7 @@ public static Message SendPaidMedia(this ITelegramBotClient client, string chatI
/// Unique identifier of the business connection on behalf of which the message will be sent
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
- /// Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Media caption, 0-1024 characters after entities parsing
/// Mode for parsing entities in the media caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendPoll.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendPoll.cs
index 5642cd40..4534e29e 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendPoll.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendPoll.cs
@@ -60,7 +60,7 @@ public static Task SendPollAsync(
/// True, if the poll needs to be anonymous, defaults to True
/// Poll type, “quiz” or “regular”, defaults to “regular”
/// Pass True if the poll allows multiple answers, defaults to False
- /// Pass True if the poll allows to change chosen answer options, defaults to False for quizzes and to True for regular polls
+ /// Pass True if the poll allows changing the chosen answer options, defaults to False for quizzes and to True for regular polls
/// Pass True if the poll options must be shown in random order
/// Pass True if answer options can be added to the poll after creation; not supported for anonymous polls and quizzes
/// Pass True if poll results must be shown only after the poll closes
@@ -178,7 +178,7 @@ public static Message SendPoll(
/// True, if the poll needs to be anonymous, defaults to True
/// Poll type, “quiz” or “regular”, defaults to “regular”
/// Pass True if the poll allows multiple answers, defaults to False
- /// Pass True if the poll allows to change chosen answer options, defaults to False for quizzes and to True for regular polls
+ /// Pass True if the poll allows changing the chosen answer options, defaults to False for quizzes and to True for regular polls
/// Pass True if the poll options must be shown in random order
/// Pass True if answer options can be added to the poll after creation; not supported for anonymous polls and quizzes
/// Pass True if poll results must be shown only after the poll closes
@@ -401,7 +401,7 @@ public static Task SendPollAsync(
/// True, if the poll needs to be anonymous, defaults to True
/// Poll type, “quiz” or “regular”, defaults to “regular”
/// Pass True if the poll allows multiple answers, defaults to False
- /// Pass True if the poll allows to change chosen answer options, defaults to False for quizzes and to True for regular polls
+ /// Pass True if the poll allows changing the chosen answer options, defaults to False for quizzes and to True for regular polls
/// Pass True if the poll options must be shown in random order
/// Pass True if answer options can be added to the poll after creation; not supported for anonymous polls and quizzes
/// Pass True if poll results must be shown only after the poll closes
@@ -519,7 +519,7 @@ public static Message SendPoll(
/// True, if the poll needs to be anonymous, defaults to True
/// Poll type, “quiz” or “regular”, defaults to “regular”
/// Pass True if the poll allows multiple answers, defaults to False
- /// Pass True if the poll allows to change chosen answer options, defaults to False for quizzes and to True for regular polls
+ /// Pass True if the poll allows changing the chosen answer options, defaults to False for quizzes and to True for regular polls
/// Pass True if the poll options must be shown in random order
/// Pass True if answer options can be added to the poll after creation; not supported for anonymous polls and quizzes
/// Pass True if poll results must be shown only after the poll closes
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendSharedWidget.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendSharedWidget.cs
index 70bfb257..acf4885e 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendSharedWidget.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendSharedWidget.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to send again a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
+ /// Use this method to resend a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
///
/// The instance.
/// The arguments for the "SendSharedWidget" method.
@@ -23,7 +23,7 @@ public static Message SendSharedWidget(this ITelegramBotClient client, SendShare
client.SendSharedWidgetAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to send again a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
+ /// Use this method to resend a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
///
/// The instance.
/// The arguments for the "SendSharedWidget" method.
@@ -42,7 +42,7 @@ public static Task SendSharedWidgetAsync(this ITelegramBotClient client
}
///
- /// Use this method to send again a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
+ /// Use this method to resend a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -66,7 +66,7 @@ public static Message SendSharedWidget(this ITelegramBotClient client, long chat
client.SendSharedWidgetAsync(chatId, widgetId, messageThreadId, chatData, caption, parseMode, captionEntities, showCaptionAboveMedia, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, replyParameters, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to send again a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
+ /// Use this method to resend a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -152,7 +152,7 @@ public static Task SendSharedWidgetAsync(this ITelegramBotClient client
}
///
- /// Use this method to send again a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
+ /// Use this method to resend a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -176,7 +176,7 @@ public static Message SendSharedWidget(this ITelegramBotClient client, string ch
client.SendSharedWidgetAsync(chatId, widgetId, messageThreadId, chatData, caption, parseMode, captionEntities, showCaptionAboveMedia, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, replyParameters, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to send again a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
+ /// Use this method to resend a shared widget created by the bot. Currently, in the production environment, widgets can be sent only to private chats, and sent widgets automatically have protected content and therefore can't be forwarded. On success, the sent is returned.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendVideo.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendVideo.cs
index ff5bfd94..ca2d82fd 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendVideo.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendVideo.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send video files; Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// The arguments for the "SendVideo" method.
@@ -23,7 +23,7 @@ public static Message SendVideo(this ITelegramBotClient client, SendVideoArgs ar
client.SendVideoAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send video files; Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// The arguments for the "SendVideo" method.
@@ -42,7 +42,7 @@ public static Task SendVideoAsync(this ITelegramBotClient client, SendV
}
///
- /// Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send video files; Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Video to send. Pass a file_id as String to send a video that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a video from the Internet, or upload a new video using multipart/form-data. More information on Sending Files »
@@ -54,7 +54,7 @@ public static Task SendVideoAsync(this ITelegramBotClient client, SendV
/// Duration of sent video in seconds
/// Video width
/// Video height
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »
/// Start timestamp for the video in the message
/// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
@@ -77,7 +77,7 @@ public static Message SendVideo(this ITelegramBotClient client, InputFile video,
client.SendVideoAsync(video, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, duration, width, height, thumbnail, cover, startTimestamp, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, supportsStreaming, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send video files; Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Video to send. Pass a file_id as String to send a video that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a video from the Internet, or upload a new video using multipart/form-data. More information on Sending Files »
@@ -89,7 +89,7 @@ public static Message SendVideo(this ITelegramBotClient client, InputFile video,
/// Duration of sent video in seconds
/// Video width
/// Video height
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »
/// Start timestamp for the video in the message
/// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
@@ -221,7 +221,7 @@ public static Task SendVideoAsync(this ITelegramBotClient client, Input
}
///
- /// Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send video files; Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Video to send. Pass a file_id as String to send a video that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a video from the Internet, or upload a new video using multipart/form-data. More information on Sending Files »
@@ -233,7 +233,7 @@ public static Task SendVideoAsync(this ITelegramBotClient client, Input
/// Duration of sent video in seconds
/// Video width
/// Video height
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »
/// Start timestamp for the video in the message
/// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
@@ -257,7 +257,7 @@ public static Message SendVideo(this ITelegramBotClient client, string video, st
client.SendVideoAsync(video, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, duration, width, height, thumbnail, cover, startTimestamp, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, supportsStreaming, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup, files).GetAwaiter().GetResult();
///
- /// Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send video files; Telegram clients support MPEG4 videos (other formats may be sent as ). On success, the sent is returned. Bots can currently send video files of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Video to send. Pass a file_id as String to send a video that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a video from the Internet, or upload a new video using multipart/form-data. More information on Sending Files »
@@ -269,7 +269,7 @@ public static Message SendVideo(this ITelegramBotClient client, string video, st
/// Duration of sent video in seconds
/// Video width
/// Video height
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »
/// Start timestamp for the video in the message
/// Video caption (may also be used when resending videos by file_id), 0-1024 characters after entities parsing
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendVideoNote.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendVideoNote.cs
index a8afcc03..5130db7b 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendVideoNote.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendVideoNote.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to send a rounded square MPEG4 video of up to 1 minute long. On success, the sent is returned.
+ /// Use this method to send a rounded square MPEG4 video up to 1 minute long. On success, the sent is returned.
///
/// The instance.
/// The arguments for the "SendVideoNote" method.
@@ -23,7 +23,7 @@ public static Message SendVideoNote(this ITelegramBotClient client, SendVideoNot
client.SendVideoNoteAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to send a rounded square MPEG4 video of up to 1 minute long. On success, the sent is returned.
+ /// Use this method to send a rounded square MPEG4 video up to 1 minute long. On success, the sent is returned.
///
/// The instance.
/// The arguments for the "SendVideoNote" method.
@@ -42,7 +42,7 @@ public static Task SendVideoNoteAsync(this ITelegramBotClient client, S
}
///
- /// Use this method to send a rounded square MPEG4 video of up to 1 minute long. On success, the sent is returned.
+ /// Use this method to send a rounded square MPEG4 video up to 1 minute long. On success, the sent is returned.
///
/// The instance.
/// Video note to send. Pass a file_id as String to send a video note that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending video notes by a URL is currently unsupported.
@@ -53,7 +53,7 @@ public static Task SendVideoNoteAsync(this ITelegramBotClient client, S
/// A JSON-serialized object containing the parameters of the ephemeral message to send
/// Duration of sent video in seconds
/// Video width and height, i.e. diameter of the video message
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -68,7 +68,7 @@ public static Message SendVideoNote(this ITelegramBotClient client, InputFile vi
client.SendVideoNoteAsync(videoNote, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, duration, length, thumbnail, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to send a rounded square MPEG4 video of up to 1 minute long. On success, the sent is returned.
+ /// Use this method to send a rounded square MPEG4 video up to 1 minute long. On success, the sent is returned.
///
/// The instance.
/// Video note to send. Pass a file_id as String to send a video note that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending video notes by a URL is currently unsupported.
@@ -79,7 +79,7 @@ public static Message SendVideoNote(this ITelegramBotClient client, InputFile vi
/// A JSON-serialized object containing the parameters of the ephemeral message to send
/// Duration of sent video in seconds
/// Video width and height, i.e. diameter of the video message
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -167,7 +167,7 @@ public static Task SendVideoNoteAsync(this ITelegramBotClient client, I
}
///
- /// Use this method to send a rounded square MPEG4 video of up to 1 minute long. On success, the sent is returned.
+ /// Use this method to send a rounded square MPEG4 video up to 1 minute long. On success, the sent is returned.
///
/// The instance.
/// Video note to send. Pass a file_id as String to send a video note that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending video notes by a URL is currently unsupported.
@@ -178,7 +178,7 @@ public static Task SendVideoNoteAsync(this ITelegramBotClient client, I
/// A JSON-serialized object containing the parameters of the ephemeral message to send
/// Duration of sent video in seconds
/// Video width and height, i.e. diameter of the video message
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
@@ -194,7 +194,7 @@ public static Message SendVideoNote(this ITelegramBotClient client, string video
client.SendVideoNoteAsync(videoNote, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, duration, length, thumbnail, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup, files).GetAwaiter().GetResult();
///
- /// Use this method to send a rounded square MPEG4 video of up to 1 minute long. On success, the sent is returned.
+ /// Use this method to send a rounded square MPEG4 video up to 1 minute long. On success, the sent is returned.
///
/// The instance.
/// Video note to send. Pass a file_id as String to send a video note that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. More information on Sending Files ». Sending video notes by a URL is currently unsupported.
@@ -205,7 +205,7 @@ public static Message SendVideoNote(this ITelegramBotClient client, string video
/// A JSON-serialized object containing the parameters of the ephemeral message to send
/// Duration of sent video in seconds
/// Video width and height, i.e. diameter of the video message
- /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
/// Sends the message silently. Users will receive a notification with no sound.
/// Protects the contents of the sent message from forwarding and saving
/// Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/sendVoice.cs b/src/library/Telegram.BotAPI/AvailableMethods/sendVoice.cs
index 894c37cb..4701d77e 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/sendVoice.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/sendVoice.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// The arguments for the "SendVoice" method.
@@ -23,7 +23,7 @@ public static Message SendVoice(this ITelegramBotClient client, SendVoiceArgs ar
client.SendVoiceAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// The arguments for the "SendVoice" method.
@@ -42,7 +42,7 @@ public static Task SendVoiceAsync(this ITelegramBotClient client, SendV
}
///
- /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Audio file to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files »
@@ -69,7 +69,7 @@ public static Message SendVoice(this ITelegramBotClient client, InputFile voice,
client.SendVoiceAsync(voice, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, caption, parseMode, captionEntities, duration, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Audio file to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files »
@@ -173,7 +173,7 @@ public static Task SendVoiceAsync(this ITelegramBotClient client, Input
}
///
- /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Audio file to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files »
@@ -200,7 +200,7 @@ public static Message SendVoice(this ITelegramBotClient client, string voice, st
client.SendVoiceAsync(voice, businessConnectionId, chatId, messageThreadId, directMessagesTopicId, ephemeralMessageParameters, caption, parseMode, captionEntities, duration, disableNotification, protectContent, allowPaidBroadcast, messageEffectId, suggestedPostParameters, replyParameters, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
+ /// Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as or ). On success, the sent is returned. Bots can currently send voice messages of up to 50 MB in size; this limit may be changed in the future.
///
/// The instance.
/// Audio file to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files »
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountBio.cs b/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountBio.cs
index 182ea00f..7f015258 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountBio.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountBio.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Changes the bio of a managed business account. Requires the can_change_bio business bot right. Returns True on success.
+ /// Changes the bio of a managed business account. Requires the can_edit_bio business bot right. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection
@@ -22,7 +22,7 @@ public static bool SetBusinessAccountBio(this ITelegramBotClient client, string
client.SetBusinessAccountBioAsync(businessConnectionId, bio).GetAwaiter().GetResult();
///
- /// Changes the bio of a managed business account. Requires the can_change_bio business bot right. Returns True on success.
+ /// Changes the bio of a managed business account. Requires the can_edit_bio business bot right. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountName.cs b/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountName.cs
index a11ffd5a..6d3ad844 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountName.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountName.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Changes the first and last name of a managed business account. Requires the can_change_name business bot right. Returns True on success.
+ /// Changes the first and last name of a managed business account. Requires the can_edit_name business bot right. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection
@@ -23,7 +23,7 @@ public static bool SetBusinessAccountName(this ITelegramBotClient client, string
client.SetBusinessAccountNameAsync(businessConnectionId, firstName, lastName).GetAwaiter().GetResult();
///
- /// Changes the first and last name of a managed business account. Requires the can_change_name business bot right. Returns True on success.
+ /// Changes the first and last name of a managed business account. Requires the can_edit_name business bot right. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountUsername.cs b/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountUsername.cs
index 9e495e18..2a760239 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountUsername.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/setBusinessAccountUsername.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Changes the username of a managed business account. Requires the can_change_username business bot right. Returns True on success.
+ /// Changes the username of a managed business account. Requires the can_edit_username business bot right. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection
@@ -22,7 +22,7 @@ public static bool SetBusinessAccountUsername(this ITelegramBotClient client, st
client.SetBusinessAccountUsernameAsync(businessConnectionId, username).GetAwaiter().GetResult();
///
- /// Changes the username of a managed business account. Requires the can_change_username business bot right. Returns True on success.
+ /// Changes the username of a managed business account. Requires the can_edit_username business bot right. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/setChatPermissions.cs b/src/library/Telegram.BotAPI/AvailableMethods/setChatPermissions.cs
index f2f90c68..6e8c5912 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/setChatPermissions.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/setChatPermissions.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success.
+ /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator right. Returns True on success.
///
/// The instance.
/// The arguments for the "SetChatPermissions" method.
@@ -23,7 +23,7 @@ public static bool SetChatPermissions(this ITelegramBotClient client, SetChatPer
client.SetChatPermissionsAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success.
+ /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator right. Returns True on success.
///
/// The instance.
/// The arguments for the "SetChatPermissions" method.
@@ -42,7 +42,7 @@ public static Task SetChatPermissionsAsync(this ITelegramBotClient client,
}
///
- /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success.
+ /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -55,7 +55,7 @@ public static bool SetChatPermissions(this ITelegramBotClient client, long chatI
client.SetChatPermissionsAsync(chatId, permissions, useIndependentChatPermissions).GetAwaiter().GetResult();
///
- /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success.
+ /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -86,7 +86,7 @@ public static Task SetChatPermissionsAsync(this ITelegramBotClient client,
}
///
- /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success.
+ /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -99,7 +99,7 @@ public static bool SetChatPermissions(this ITelegramBotClient client, string cha
client.SetChatPermissionsAsync(chatId, permissions, useIndependentChatPermissions).GetAwaiter().GetResult();
///
- /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success.
+ /// Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/setMySettings.cs b/src/library/Telegram.BotAPI/AvailableMethods/setMySettings.cs
index 91f2b287..110876de 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/setMySettings.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/setMySettings.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to change settings of the bot. Settings that aren't specified remain unchanged. Returns True on success.
+ /// Use this method to change the settings of the bot. Settings that aren't specified remain unchanged. Returns True on success.
///
/// The instance.
/// The arguments for the "SetMySettings" method.
@@ -23,7 +23,7 @@ public static bool SetMySettings(this ITelegramBotClient client, SetMySettingsAr
client.SetMySettingsAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to change settings of the bot. Settings that aren't specified remain unchanged. Returns True on success.
+ /// Use this method to change the settings of the bot. Settings that aren't specified remain unchanged. Returns True on success.
///
/// The instance.
/// The arguments for the "SetMySettings" method.
@@ -42,7 +42,7 @@ public static Task SetMySettingsAsync(this ITelegramBotClient client, SetM
}
///
- /// Use this method to change settings of the bot. Settings that aren't specified remain unchanged. Returns True on success.
+ /// Use this method to change the settings of the bot. Settings that aren't specified remain unchanged. Returns True on success.
///
/// The instance.
/// Pass True to enable inline mode for the bot or False to disable it
@@ -67,7 +67,7 @@ public static bool SetMySettings(this ITelegramBotClient client, bool? supportsI
client.SetMySettingsAsync(supportsInlineQueries, inlineQueryPlaceholder, needsInlineQueryLocation, inlineFeedbackShareDenominator, canJoinGroups, canReadAllGroupMessages, canConnectToBusiness, canManageBots, supportsGuestQueries, supportsJoinRequestQueries, hasTopicsEnabled, allowsUsersToCreateTopics, hasTopicSidebar, canCommunicateWithBots, callbackQueryMode).GetAwaiter().GetResult();
///
- /// Use this method to change settings of the bot. Settings that aren't specified remain unchanged. Returns True on success.
+ /// Use this method to change the settings of the bot. Settings that aren't specified remain unchanged. Returns True on success.
///
/// The instance.
/// Pass True to enable inline mode for the bot or False to disable it
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/transferGift.cs b/src/library/Telegram.BotAPI/AvailableMethods/transferGift.cs
index b037c56a..6d62e6c1 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/transferGift.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/transferGift.cs
@@ -10,12 +10,12 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Transfers an owned unique gift to another user. Requires the can_transfer_and_upgrade_gifts business bot right. Requires can_transfer_stars business bot right if the transfer is paid. Returns True on success.
+ /// Transfers an owned unique gift to another user. Requires the can_transfer_and_upgrade_gifts business bot right. Requires the can_transfer_stars business bot right if the transfer is paid. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection
- /// Unique identifier of the regular gift that should be transferred
- /// Unique identifier of the chat which will own the gift. The chat must be active in the last 24 hours.
+ /// Unique identifier of the unique gift that should be transferred
+ /// Unique identifier of the chat which will own the gift. The chat must have been active in the last 24 hours.
/// The amount of Telegram Stars that will be paid for the transfer from the business account balance. If positive, then the can_transfer_stars business bot right is required.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -24,12 +24,12 @@ public static bool TransferGift(this ITelegramBotClient client, string businessC
client.TransferGiftAsync(businessConnectionId, ownedGiftId, newOwnerChatId, starCount).GetAwaiter().GetResult();
///
- /// Transfers an owned unique gift to another user. Requires the can_transfer_and_upgrade_gifts business bot right. Requires can_transfer_stars business bot right if the transfer is paid. Returns True on success.
+ /// Transfers an owned unique gift to another user. Requires the can_transfer_and_upgrade_gifts business bot right. Requires the can_transfer_stars business bot right if the transfer is paid. Returns True on success.
///
/// The instance.
/// Unique identifier of the business connection
- /// Unique identifier of the regular gift that should be transferred
- /// Unique identifier of the chat which will own the gift. The chat must be active in the last 24 hours.
+ /// Unique identifier of the unique gift that should be transferred
+ /// Unique identifier of the chat which will own the gift. The chat must have been active in the last 24 hours.
/// The amount of Telegram Stars that will be paid for the transfer from the business account balance. If positive, then the can_transfer_stars business bot right is required.
/// The cancellation token to cancel operation.
/// Thrown if is null.
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/unhideGeneralForumTopic.cs b/src/library/Telegram.BotAPI/AvailableMethods/unhideGeneralForumTopic.cs
index 050cf01b..cfe0252f 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/unhideGeneralForumTopic.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/unhideGeneralForumTopic.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableMethods;
public static partial class AvailableMethodsExtensions
{
///
- /// Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -21,7 +21,7 @@ public static bool UnhideGeneralForumTopic(this ITelegramBotClient client, long
client.UnhideGeneralForumTopicAsync(chatId).GetAwaiter().GetResult();
///
- /// Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -45,7 +45,7 @@ public static Task UnhideGeneralForumTopicAsync(this ITelegramBotClient cl
}
///
- /// Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
@@ -56,7 +56,7 @@ public static bool UnhideGeneralForumTopic(this ITelegramBotClient client, strin
client.UnhideGeneralForumTopicAsync(chatId).GetAwaiter().GetResult();
///
- /// Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
+ /// Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator right. Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target supergroup in the format @username
diff --git a/src/library/Telegram.BotAPI/AvailableMethods/upgradeGift.cs b/src/library/Telegram.BotAPI/AvailableMethods/upgradeGift.cs
index 68afa7c1..859d2501 100644
--- a/src/library/Telegram.BotAPI/AvailableMethods/upgradeGift.cs
+++ b/src/library/Telegram.BotAPI/AvailableMethods/upgradeGift.cs
@@ -16,7 +16,7 @@ public static partial class AvailableMethodsExtensions
/// Unique identifier of the business connection
/// Unique identifier of the regular gift that should be upgraded to a unique one
/// Pass True to keep the original gift text, sender and receiver in the upgraded gift
- /// The amount of Telegram Stars that will be paid for the upgrade from the business account balance. If gift.prepaid_upgrade_star_count > 0, then pass 0, otherwise, the can_transfer_stars business bot right is required and gift.upgrade_star_count must be passed.
+ /// The amount of Telegram Stars that will be paid for the upgrade from the business account balance. If gift.prepaid_upgrade_star_count > 0, then pass 0; otherwise, the can_transfer_stars business bot right is required and gift.upgrade_star_count must be passed.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
///
@@ -30,7 +30,7 @@ public static bool UpgradeGift(this ITelegramBotClient client, string businessCo
/// Unique identifier of the business connection
/// Unique identifier of the regular gift that should be upgraded to a unique one
/// Pass True to keep the original gift text, sender and receiver in the upgraded gift
- /// The amount of Telegram Stars that will be paid for the upgrade from the business account balance. If gift.prepaid_upgrade_star_count > 0, then pass 0, otherwise, the can_transfer_stars business bot right is required and gift.upgrade_star_count must be passed.
+ /// The amount of Telegram Stars that will be paid for the upgrade from the business account balance. If gift.prepaid_upgrade_star_count > 0, then pass 0; otherwise, the can_transfer_stars business bot right is required and gift.upgrade_star_count must be passed.
/// The cancellation token to cancel operation.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Animation.cs b/src/library/Telegram.BotAPI/AvailableTypes/Animation.cs
index 111513b5..e33d77d4 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Animation.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Animation.cs
@@ -58,7 +58,7 @@ public class Animation
public string? MimeType { get; set; }
///
- /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.
+ /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this value.
///
[JsonPropertyName(PropertyNames.FileSize)]
public long? FileSize { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Audio.cs b/src/library/Telegram.BotAPI/AvailableTypes/Audio.cs
index ccc17ba8..3b1152a1 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Audio.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Audio.cs
@@ -52,7 +52,7 @@ public class Audio
public string? MimeType { get; set; }
///
- /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.
+ /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this value.
///
[JsonPropertyName(PropertyNames.FileSize)]
public long? FileSize { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/BotFullInfo.cs b/src/library/Telegram.BotAPI/AvailableTypes/BotFullInfo.cs
index 50cba785..da045374 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/BotFullInfo.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/BotFullInfo.cs
@@ -10,10 +10,10 @@ namespace Telegram.BotAPI.AvailableTypes;
public class BotFullInfo
{
///
- /// Unique identifier for this bot. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.
+ /// Unique identifier for this bot. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type is safe for storing this identifier.
///
[JsonPropertyName(PropertyNames.Id)]
- public int Id { get; set; }
+ public long Id { get; set; }
///
/// Always True
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/BusinessConnection.cs b/src/library/Telegram.BotAPI/AvailableTypes/BusinessConnection.cs
index 653c5a27..47006e6b 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/BusinessConnection.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/BusinessConnection.cs
@@ -22,7 +22,7 @@ public class BusinessConnection
public User User { get; set; } = null!;
///
- /// Identifier of a private chat with the user who created the business connection. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.
+ /// Identifier of a private chat with the user who created the business connection. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type is safe for storing this identifier.
///
[JsonPropertyName(PropertyNames.UserChatId)]
public long UserChatId { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/CallbackQuery.cs b/src/library/Telegram.BotAPI/AvailableTypes/CallbackQuery.cs
index 6bae53e2..2ad31b14 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/CallbackQuery.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/CallbackQuery.cs
@@ -42,7 +42,7 @@ public class CallbackQuery
public string ChatInstance { get; set; } = null!;
///
- /// Optional. Data associated with the callback button. Be aware that the message originated the query can contain no callback buttons with this data.
+ /// Optional. Data associated with the callback button. Be aware that the message that originated the query can contain no callback buttons with this data.
///
[JsonPropertyName(PropertyNames.Data)]
public string? Data { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Chat/Chat.cs b/src/library/Telegram.BotAPI/AvailableTypes/Chat/Chat.cs
index 464da1a9..3393dd61 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Chat/Chat.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Chat/Chat.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableTypes;
public class Chat
{
///
- /// Unique identifier for this chat. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
+ /// Unique identifier for this chat. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this identifier.
///
[JsonPropertyName(PropertyNames.Id)]
public long Id { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Chat/ChatFullInfo.cs b/src/library/Telegram.BotAPI/AvailableTypes/Chat/ChatFullInfo.cs
index 613d90e3..fb4423a3 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Chat/ChatFullInfo.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Chat/ChatFullInfo.cs
@@ -112,7 +112,7 @@ public class ChatFullInfo : Chat
public string? Bio { get; set; }
///
- /// Optional. True, if privacy settings of the other party in the private chat allows to use tg://user?id=<user_id> links only in chats with the user
+ /// Optional. True, if the privacy settings of the other party in the private chat allow using tg://user?id=<user_id> links only in chats with the user
///
[JsonPropertyName(PropertyNames.HasPrivateForwards)]
public bool? HasPrivateForwards { get; set; }
@@ -232,7 +232,7 @@ public class ChatFullInfo : Chat
public string? CustomEmojiStickerSetName { get; set; }
///
- /// Optional. Unique identifier for the linked chat, i.e. the discussion group identifier for a channel and vice versa; for supergroups and channel chats. This identifier may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier.
+ /// Optional. Unique identifier for the linked chat, i.e. the discussion group identifier for a channel and vice versa; for supergroups and channel chats. This identifier may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64-bit integer or double-precision float type is safe for storing this identifier.
///
[JsonPropertyName(PropertyNames.LinkedChatId)]
public long? LinkedChatId { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/ChatBoostSource/ChatBoostSourceGiftCode.cs b/src/library/Telegram.BotAPI/AvailableTypes/ChatBoostSource/ChatBoostSourceGiftCode.cs
index b7320365..2cc3b0db 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/ChatBoostSource/ChatBoostSourceGiftCode.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/ChatBoostSource/ChatBoostSourceGiftCode.cs
@@ -16,7 +16,7 @@ public class ChatBoostSourceGiftCode : ChatBoostSource
public override string Source => "gift_code";
///
- /// User for which the gift code was created
+ /// User for whom the gift code was created
///
[JsonPropertyName(PropertyNames.User)]
public User User { get; set; } = null!;
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/ChatInviteLink.cs b/src/library/Telegram.BotAPI/AvailableTypes/ChatInviteLink.cs
index 021e14dd..a8c472dd 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/ChatInviteLink.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/ChatInviteLink.cs
@@ -46,7 +46,7 @@ public class ChatInviteLink
public string? Name { get; set; }
///
- /// Optional. Point in time (Unix timestamp) when the link will expire or has been expired
+ /// Optional. Point in time (Unix timestamp) when the link will expire or has expired
///
[JsonPropertyName(PropertyNames.ExpireDate)]
public int? ExpireDate { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/ChatJoinRequest.cs b/src/library/Telegram.BotAPI/AvailableTypes/ChatJoinRequest.cs
index 6b9aeaee..302c15ea 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/ChatJoinRequest.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/ChatJoinRequest.cs
@@ -22,7 +22,7 @@ public class ChatJoinRequest
public User From { get; set; } = null!;
///
- /// Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user.
+ /// Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type is safe for storing this identifier. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user.
///
[JsonPropertyName(PropertyNames.UserChatId)]
public long UserChatId { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/ChatShared.cs b/src/library/Telegram.BotAPI/AvailableTypes/ChatShared.cs
index 1ce6eeb4..a73ac97f 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/ChatShared.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/ChatShared.cs
@@ -16,7 +16,7 @@ public class ChatShared
public int RequestId { get; set; }
///
- /// Identifier of the shared chat. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot may not have access to the chat and could be unable to use this identifier, unless the chat is already known to the bot by some other means.
+ /// Identifier of the shared chat. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type is safe for storing this identifier. The bot may not have access to the chat and could be unable to use this identifier, unless the chat is already known to the bot by some other means.
///
[JsonPropertyName(PropertyNames.ChatId)]
public long ChatId { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Community.cs b/src/library/Telegram.BotAPI/AvailableTypes/Community.cs
index 1021c878..ac608930 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Community.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Community.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableTypes;
public class Community
{
///
- /// Unique identifier for this community. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
+ /// Unique identifier for this community. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this identifier.
///
[JsonPropertyName(PropertyNames.Id)]
public int Id { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Contact.cs b/src/library/Telegram.BotAPI/AvailableTypes/Contact.cs
index 516099ed..caac7ea8 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Contact.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Contact.cs
@@ -28,7 +28,7 @@ public class Contact
public string? LastName { get; set; }
///
- /// Optional. Contact's user identifier in Telegram. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.
+ /// Optional. Contact's user identifier in Telegram. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type is safe for storing this identifier.
///
[JsonPropertyName(PropertyNames.UserId)]
public long? UserId { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/DirectMessagesTopic.cs b/src/library/Telegram.BotAPI/AvailableTypes/DirectMessagesTopic.cs
index 8cb44115..953579e9 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/DirectMessagesTopic.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/DirectMessagesTopic.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableTypes;
public class DirectMessagesTopic
{
///
- /// Unique identifier of the topic. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.
+ /// Unique identifier of the topic. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type is safe for storing this identifier.
///
[JsonPropertyName(PropertyNames.TopicId)]
public int TopicId { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Document.cs b/src/library/Telegram.BotAPI/AvailableTypes/Document.cs
index 4cc61f78..205bd2ba 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Document.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Document.cs
@@ -40,7 +40,7 @@ public class Document
public string? MimeType { get; set; }
///
- /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.
+ /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this value.
///
[JsonPropertyName(PropertyNames.FileSize)]
public long? FileSize { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/EphemeralMessageParameters.cs b/src/library/Telegram.BotAPI/AvailableTypes/EphemeralMessageParameters.cs
index 5727e363..b8f2d891 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/EphemeralMessageParameters.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/EphemeralMessageParameters.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.AvailableTypes;
///
-/// No description available
+/// Describes the parameters of an ephemeral message to be sent.
///
public class EphemeralMessageParameters
{
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/File.cs b/src/library/Telegram.BotAPI/AvailableTypes/File.cs
index 7c6c8ab5..6955fd91 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/File.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/File.cs
@@ -22,7 +22,7 @@ public class File
public string FileUniqueId { get; set; } = null!;
///
- /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.
+ /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this value.
///
[JsonPropertyName(PropertyNames.FileSize)]
public long? FileSize { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/GeneralForumTopicHidden.cs b/src/library/Telegram.BotAPI/AvailableTypes/GeneralForumTopicHidden.cs
index d9d421bf..603a839e 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/GeneralForumTopicHidden.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/GeneralForumTopicHidden.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.AvailableTypes;
///
-/// This object represents a service message about General forum topic hidden in the chat. Currently holds no information.
+/// This object represents a service message about the General forum topic hidden in the chat. Currently holds no information.
///
public class GeneralForumTopicHidden
{
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/GeneralForumTopicUnhidden.cs b/src/library/Telegram.BotAPI/AvailableTypes/GeneralForumTopicUnhidden.cs
index 6ef59f1b..9cfa8de5 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/GeneralForumTopicUnhidden.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/GeneralForumTopicUnhidden.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.AvailableTypes;
///
-/// This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.
+/// This object represents a service message about the General forum topic unhidden in the chat. Currently holds no information.
///
public class GeneralForumTopicUnhidden
{
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Gifts.cs b/src/library/Telegram.BotAPI/AvailableTypes/Gifts.cs
index 66564eab..41d5041c 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Gifts.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Gifts.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.AvailableTypes;
///
-/// This object represent a list of gifts.
+/// This object represents a list of gifts.
///
public class Gifts
{
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Giveaway.cs b/src/library/Telegram.BotAPI/AvailableTypes/Giveaway.cs
index e7352936..b8c7ec9a 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Giveaway.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Giveaway.cs
@@ -22,7 +22,7 @@ public class Giveaway
public int WinnersSelectionDate { get; set; }
///
- /// The number of users which are supposed to be selected as winners of the giveaway
+ /// The number of users who are supposed to be selected as winners of the giveaway
///
[JsonPropertyName(PropertyNames.WinnerCount)]
public int WinnerCount { get; set; }
@@ -40,7 +40,7 @@ public class Giveaway
public bool? HasPublicWinners { get; set; }
///
- /// Optional. Description of additional giveaway prize
+ /// Optional. Description of an additional giveaway prize
///
[JsonPropertyName(PropertyNames.PrizeDescription)]
public string? PrizeDescription { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/GiveawayWinners.cs b/src/library/Telegram.BotAPI/AvailableTypes/GiveawayWinners.cs
index 7dbdb31d..b4a1ef37 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/GiveawayWinners.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/GiveawayWinners.cs
@@ -76,7 +76,7 @@ public class GiveawayWinners
public bool? WasRefunded { get; set; }
///
- /// Optional. Description of additional giveaway prize
+ /// Optional. Description of an additional giveaway prize
///
[JsonPropertyName(PropertyNames.PrizeDescription)]
public string? PrizeDescription { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/InlineKeyboardButton.cs b/src/library/Telegram.BotAPI/AvailableTypes/InlineKeyboardButton.cs
index 7b1d9250..fae18f93 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/InlineKeyboardButton.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/InlineKeyboardButton.cs
@@ -93,7 +93,7 @@ public InlineKeyboardButton(string text)
public CallbackGame? CallbackGame { get; set; }
///
- /// Optional. Specify True, to send a Pay button. Substrings “⭐” and “XTR” in the buttons's text will be replaced with a Telegram Star icon.
NOTE: This type of button must always be the first button in the first row and can only be used in invoice messages.
+ /// Optional. Specify True to send a Pay button. Substrings “⭐” and “XTR” in the button's text will be replaced with a Telegram Star icon.
NOTE: This type of button must always be the first button in the first row and can only be used in invoice messages.
///
[JsonPropertyName(PropertyNames.Pay)]
public bool? Pay { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaAnimation.cs b/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaAnimation.cs
index 5622d88e..4d7af0fd 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaAnimation.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaAnimation.cs
@@ -31,7 +31,7 @@ public InputMediaAnimation(string media)
public string Media { get; set; }
///
- /// Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
///
[JsonPropertyName(PropertyNames.Thumbnail)]
public string? Thumbnail { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaAudio.cs b/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaAudio.cs
index 591cac5b..c9dfac4a 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaAudio.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaAudio.cs
@@ -31,7 +31,7 @@ public InputMediaAudio(string media)
public string Media { get; set; }
///
- /// Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
///
[JsonPropertyName(PropertyNames.Thumbnail)]
public string? Thumbnail { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaDocument.cs b/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaDocument.cs
index e6675b6f..ffbda668 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaDocument.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaDocument.cs
@@ -31,7 +31,7 @@ public InputMediaDocument(string media)
public string Media { get; set; }
///
- /// Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
///
[JsonPropertyName(PropertyNames.Thumbnail)]
public string? Thumbnail { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaVideo.cs b/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaVideo.cs
index ddb3da27..d849bd0f 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaVideo.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/InputMedia/InputMediaVideo.cs
@@ -31,7 +31,7 @@ public InputMediaVideo(string media)
public string Media { get; set; }
///
- /// Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
///
[JsonPropertyName(PropertyNames.Thumbnail)]
public string? Thumbnail { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/InputMediaVoiceNote.cs b/src/library/Telegram.BotAPI/AvailableTypes/InputMediaVoiceNote.cs
index 9f260a69..d2d67cbe 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/InputMediaVoiceNote.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/InputMediaVoiceNote.cs
@@ -16,7 +16,7 @@ public class InputMediaVoiceNote
public string Type => "voice_note";
///
- /// File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass "attach://<file_attach_name>" to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »
+ /// File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new one using multipart/form-data under <file_attach_name> name. More information on Sending Files »
///
[JsonPropertyName(PropertyNames.Media)]
public string Media { get; set; } = null!;
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/InputPaidMedia/InputPaidMediaVideo.cs b/src/library/Telegram.BotAPI/AvailableTypes/InputPaidMedia/InputPaidMediaVideo.cs
index 80d09d60..b14a6a9d 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/InputPaidMedia/InputPaidMediaVideo.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/InputPaidMedia/InputPaidMediaVideo.cs
@@ -22,7 +22,7 @@ public class InputPaidMediaVideo : InputPaidMedia
public override string Media { get; set; } = null!;
///
- /// Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
+ /// Optional. Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
///
[JsonPropertyName(PropertyNames.Thumbnail)]
public string? Thumbnail { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonPollType.cs b/src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonPollType.cs
index 01452921..bc5ca65d 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonPollType.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonPollType.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.AvailableTypes;
///
-/// This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.
+/// This object represents the type of a poll, which is allowed to be created and sent when the corresponding button is pressed.
///
public class KeyboardButtonPollType
{
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonRequestChat.cs b/src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonRequestChat.cs
index ebb6845d..7dffbc9c 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonRequestChat.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/KeyboardButtonRequestChat.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.AvailableTypes;
///
-/// This object defines the criteria used to request a suitable chat. Information about the selected chat will be shared with the bot when the corresponding button is pressed. The bot will be granted requested rights in the chat if appropriate. More about requesting chats ».
+/// This object defines the criteria used to request a suitable chat. Information about the selected chat will be shared with the bot when the corresponding button is pressed. The bot will be granted the requested rights in the chat if appropriate. More about requesting chats ».
///
public class KeyboardButtonRequestChat
{
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/LivePhoto.cs b/src/library/Telegram.BotAPI/AvailableTypes/LivePhoto.cs
index 4b3e5586..afcba4df 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/LivePhoto.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/LivePhoto.cs
@@ -16,13 +16,13 @@ public class LivePhoto
public IEnumerable? Photo { get; set; }
///
- /// Identifier for the video file which can be used to download or reuse the file
+ /// Identifier for the video file, which can be used to download or reuse the file
///
[JsonPropertyName(PropertyNames.FileId)]
public string FileId { get; set; } = null!;
///
- /// Unique identifier for the video file which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
+ /// Unique identifier for the video file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
///
[JsonPropertyName(PropertyNames.FileUniqueId)]
public string FileUniqueId { get; set; } = null!;
@@ -52,7 +52,7 @@ public class LivePhoto
public string? MimeType { get; set; }
///
- /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.
+ /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this value.
///
[JsonPropertyName(PropertyNames.FileSize)]
public long? FileSize { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Location.cs b/src/library/Telegram.BotAPI/AvailableTypes/Location.cs
index cee40972..a6b7d3f7 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Location.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Location.cs
@@ -34,7 +34,7 @@ public class Location
public int? LivePeriod { get; set; }
///
- /// Optional. The direction in which user is moving, in degrees; 1-360. For active live locations only.
+ /// Optional. The direction in which the user is moving, in degrees; 1-360. For active live locations only.
///
[JsonPropertyName(PropertyNames.Heading)]
public int? Heading { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/ManagedBotUpdated.cs b/src/library/Telegram.BotAPI/AvailableTypes/ManagedBotUpdated.cs
index e70738db..9d4feb8e 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/ManagedBotUpdated.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/ManagedBotUpdated.cs
@@ -16,7 +16,7 @@ public class ManagedBotUpdated
public User User { get; set; } = null!;
///
- /// Information about the bot. Token of the bot can be fetched using the method getManagedBotToken.
+ /// Information about the bot. The token of the bot can be fetched using the method getManagedBotToken.
///
[JsonPropertyName(PropertyNames.Bot)]
public User Bot { get; set; } = null!;
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/MaybeInaccessibleMessage/Message.cs b/src/library/Telegram.BotAPI/AvailableTypes/MaybeInaccessibleMessage/Message.cs
index fdb41cd8..8435563f 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/MaybeInaccessibleMessage/Message.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/MaybeInaccessibleMessage/Message.cs
@@ -418,7 +418,7 @@ public class Message : MaybeInaccessibleMessage
public string? NewChatTitle { get; set; }
///
- /// Optional. A chat photo was change to this value
+ /// Optional. A chat photo was changed to this value
///
[JsonPropertyName(PropertyNames.NewChatPhoto)]
public IEnumerable? NewChatPhoto { get; set; }
@@ -436,13 +436,13 @@ public class Message : MaybeInaccessibleMessage
public bool? GroupChatCreated { get; set; }
///
- /// Optional. Service message: the supergroup has been created. This field can't be received in a message coming through updates, because bot can't be a member of a supergroup when it is created. It can only be found in reply_to_message if someone replies to a very first message in a directly created supergroup.
+ /// Optional. Service message: the supergroup has been created. This field can't be received in a message coming through updates, because a bot can't be a member of a supergroup when it is created. It can only be found in reply_to_message if someone replies to the very first message in a directly created supergroup.
///
[JsonPropertyName(PropertyNames.SupergroupChatCreated)]
public bool? SupergroupChatCreated { get; set; }
///
- /// Optional. Service message: the channel has been created. This field can't be received in a message coming through updates, because bot can't be a member of a channel when it is created. It can only be found in reply_to_message if someone replies to a very first message in a channel.
+ /// Optional. Service message: the channel has been created. This field can't be received in a message coming through updates, because a bot can't be a member of a channel when it is created. It can only be found in reply_to_message if someone replies to the very first message in a channel.
///
[JsonPropertyName(PropertyNames.ChannelChatCreated)]
public bool? ChannelChatCreated { get; set; }
@@ -454,13 +454,13 @@ public class Message : MaybeInaccessibleMessage
public MessageAutoDeleteTimerChanged? MessageAutoDeleteTimerChanged { get; set; }
///
- /// Optional. The group has been migrated to a supergroup with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
+ /// Optional. The group has been migrated to a supergroup with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this identifier.
///
[JsonPropertyName(PropertyNames.MigrateToChatId)]
public long? MigrateToChatId { get; set; }
///
- /// Optional. The supergroup has been migrated from a group with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
+ /// Optional. The supergroup has been migrated from a group with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this identifier.
///
[JsonPropertyName(PropertyNames.MigrateFromChatId)]
public long? MigrateFromChatId { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/MessageEntity.cs b/src/library/Telegram.BotAPI/AvailableTypes/MessageEntity.cs
index f4d20d75..cc9272dd 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/MessageEntity.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/MessageEntity.cs
@@ -28,7 +28,7 @@ public class MessageEntity
public int Length { get; set; }
///
- /// Optional. For “text_link” only, URL that will be opened after user taps on the text
+ /// Optional. For “text_link” only, URL that will be opened after the user taps on the text
///
[JsonPropertyName(PropertyNames.Url)]
public string? Url { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/MessageID.cs b/src/library/Telegram.BotAPI/AvailableTypes/MessageID.cs
index aa41c86d..f12550ce 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/MessageID.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/MessageID.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableTypes;
public class MessageId
{
///
- /// Unique message identifier. In specific instances (e.g., message containing a video sent to a big chat), the server might automatically schedule a message instead of sending it immediately. In such cases, this field will be 0 and the relevant message will be unusable until it is actually sent.
+ /// Unique message identifier. In specific instances (e.g., a message containing a video sent to a big chat), the server might automatically schedule a message instead of sending it immediately. In such cases, this field will be 0 and the relevant message will be unusable until it is actually sent.
///
[JsonPropertyName(PropertyNames.MessageId)]
public int Id { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Poll.cs b/src/library/Telegram.BotAPI/AvailableTypes/Poll.cs
index 80285e60..d9e8a6d4 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Poll.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Poll.cs
@@ -64,13 +64,13 @@ public class Poll
public bool AllowsMultipleAnswers { get; set; }
///
- /// True, if the poll allows to change the chosen answer options
+ /// True, if the poll allows changing the chosen answer options
///
[JsonPropertyName(PropertyNames.AllowsRevoting)]
public bool AllowsRevoting { get; set; }
///
- /// True if voting is limited to users who have been members of the chat where the poll was originally sent for more than 24 hours
+ /// True, if voting is limited to users who have been members of the chat where the poll was originally sent for more than 24 hours
///
[JsonPropertyName(PropertyNames.MembersOnly)]
public bool MembersOnly { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ForceReply.cs b/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ForceReply.cs
index b96b01df..909e5e94 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ForceReply.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ForceReply.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.AvailableTypes;
///
-/// Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. Not supported in channels and for messages sent on behalf of a user account.
+/// Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. Not supported in channels and for messages sent on behalf of a business account.
///
public class ForceReply : ReplyMarkup
{
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardMarkup.cs b/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardMarkup.cs
index abc5b5fe..553a9977 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardMarkup.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardMarkup.cs
@@ -49,7 +49,7 @@ public ReplyKeyboardMarkup(IEnumerable> keyboard)
public string? InputFieldPlaceholder { get; set; }
///
- /// Optional. Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message.
Example: A user requests to change the bot's language, bot replies to the request with a keyboard to select the new language. Other users in the group don't see the keyboard.
+ /// Optional. Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message.
Example: A user requests to change the bot's language, and the bot replies to the request with a keyboard to select the new language. Other users in the group don't see the keyboard.
///
[JsonPropertyName(PropertyNames.Selective)]
public bool? Selective { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardRemove.cs b/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardRemove.cs
index 751a97c8..aa28d382 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardRemove.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardRemove.cs
@@ -10,13 +10,13 @@ namespace Telegram.BotAPI.AvailableTypes;
public class ReplyKeyboardRemove : ReplyMarkup
{
///
- /// Requests clients to remove the custom keyboard (user will not be able to summon this keyboard; if you want to hide the keyboard from sight but keep it accessible, use one_time_keyboard in )
+ /// Requests clients to remove the custom keyboard (the user will not be able to summon this keyboard; if you want to hide the keyboard from sight but keep it accessible, use one_time_keyboard in )
///
[JsonPropertyName(PropertyNames.RemoveKeyboard)]
public bool RemoveKeyboard => true;
///
- /// Optional. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message.
Example: A user votes in a poll, bot returns confirmation message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet.
+ /// Optional. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message.
Example: A user votes in a poll, and the bot returns a confirmation message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet.
///
[JsonPropertyName(PropertyNames.Selective)]
public bool? Selective { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/ReplyParameters.cs b/src/library/Telegram.BotAPI/AvailableTypes/ReplyParameters.cs
index 0b8d49a3..e3fc1ac8 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/ReplyParameters.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/ReplyParameters.cs
@@ -54,7 +54,7 @@ public class ReplyParameters
public IEnumerable? QuoteEntities { get; set; }
///
- /// Optional. A JSON-serialized list of quoted parts of the rich message to be replied to. Must contain one element for each quoted text of the message in the order of their appearance. Each of the following is a separate quoted text: the text of a paragraph, a heading, a preformatted block, a footer, or a mathematical expression; the text and the credit of a block quotation or a pull quotation; the summary of a details block; the caption and each cell of a table; the text and the credit of a caption of a media block, a collage, a slideshow, or a map. Texts of blocks nested in lists, block quotations, details, collages, and slideshows are separate quoted texts too. The first and the last elements can contain only a part of the corresponding text; all other elements must contain the whole text. Formatting of the quoted parts must be kept, and rich texts must be nested in the same way as in the message received from the server. Mathematical expressions must be quoted entirely. Buttons in , anchors and dividers can't be quoted. Up to 32 quoted texts with total length up to 1024 characters can be specified. Only plain text, , , , , , , , , , , and arrays of them are kept in the quote; other rich text types are replaced with their text. If non-empty, then quote, quote_parse_mode and quote_entities are ignored.
+ /// Optional. A JSON-serialized list of quoted parts of the rich message to be replied to. Must contain one element for each quoted text of the message in the order of their appearance. Each of the following is a separate quoted text: the text of a paragraph, a heading, a preformatted block, a footer, or a mathematical expression; the text and the credit of a block quotation or a pull quotation; the summary of a details block; the caption and each cell of a table; the text and the credit of a caption of a media block, a collage, a slideshow, or a map. Texts of blocks nested in lists, block quotations, details, collages, and slideshows are separate quoted texts too. The first and the last elements can contain only a part of the corresponding text; all other elements must contain the whole text. Formatting of the quoted parts must be kept, and rich texts must be nested in the same way as in the message received from the server. Mathematical expressions must be quoted entirely. Buttons in , anchors and dividers can't be quoted. Up to 32 quoted texts with a total length of up to 1024 characters can be specified. Only plain text, , , , , , , , , , , and arrays of them are kept in the quote; other rich text types are replaced with their text. If non-empty, then quote, quote_parse_mode and quote_entities are ignored.
///
[JsonPropertyName(PropertyNames.QuoteRichTexts)]
public IEnumerable? QuoteRichTexts { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/ResponseParameters.cs b/src/library/Telegram.BotAPI/AvailableTypes/ResponseParameters.cs
index 170e9666..72dd3013 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/ResponseParameters.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/ResponseParameters.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableTypes;
public class ResponseParameters
{
///
- /// Optional. The group has been migrated to a supergroup with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
+ /// Optional. The group has been migrated to a supergroup with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this identifier.
///
[JsonPropertyName(PropertyNames.MigrateToChatId)]
public long? MigrateToChatId { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeSuggestedReaction.cs b/src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeSuggestedReaction.cs
index 0abe05dd..57546622 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeSuggestedReaction.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeSuggestedReaction.cs
@@ -28,7 +28,7 @@ public class StoryAreaTypeSuggestedReaction : StoryAreaType
public bool? IsDark { get; set; }
///
- /// Optional. Pass True if reaction area corner is flipped
+ /// Optional. Pass True if the reaction area corner is flipped
///
[JsonPropertyName(PropertyNames.IsFlipped)]
public bool? IsFlipped { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeWeather.cs b/src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeWeather.cs
index 79fda1d7..2daa34a1 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeWeather.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/StoryAreaType/StoryAreaTypeWeather.cs
@@ -16,7 +16,7 @@ public class StoryAreaTypeWeather : StoryAreaType
public override string Type => "weather";
///
- /// Temperature, in degree Celsius
+ /// Temperature, in degrees Celsius
///
[JsonPropertyName(PropertyNames.Temperature)]
public float Temperature { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostParameters.cs b/src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostParameters.cs
index f596b27e..76b1d0af 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostParameters.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/SuggestedPostParameters.cs
@@ -16,7 +16,7 @@ public class SuggestedPostParameters
public SuggestedPostPrice? Price { get; set; }
///
- /// Optional. Proposed send date of the post. If specified, then the date must be between 300 second and 2678400 seconds (30 days) in the future. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user who approves it.
+ /// Optional. Proposed send date of the post. If specified, then the date must be between 300 seconds and 2678400 seconds (30 days) in the future. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user who approves it.
///
[JsonPropertyName(PropertyNames.SendDate)]
public int? SendDate { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/UniqueGift.cs b/src/library/Telegram.BotAPI/AvailableTypes/UniqueGift.cs
index f2a085cf..b3a275ab 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/UniqueGift.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/UniqueGift.cs
@@ -52,7 +52,7 @@ public class UniqueGift
public UniqueGiftBackdrop Backdrop { get; set; } = null!;
///
- /// Optional. True, if the original regular gift was exclusively purchaseable by Telegram Premium subscribers
+ /// Optional. True, if the original regular gift was exclusively purchasable by Telegram Premium subscribers
///
[JsonPropertyName(PropertyNames.IsPremium)]
public bool? IsPremium { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/UniqueGiftSymbol.cs b/src/library/Telegram.BotAPI/AvailableTypes/UniqueGiftSymbol.cs
index d6b889bb..e4ea2e4b 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/UniqueGiftSymbol.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/UniqueGiftSymbol.cs
@@ -24,7 +24,7 @@ public class UniqueGiftSymbol
public Sticker Sticker { get; set; } = null!;
///
- /// The number of unique gifts that receive this model for every 1000 gifts upgraded
+ /// The number of unique gifts that receive this symbol for every 1000 gifts upgraded
///
[JsonPropertyName(PropertyNames.RarityPerMille)]
public int RarityPerMille { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/User.cs b/src/library/Telegram.BotAPI/AvailableTypes/User.cs
index a70df877..b66435dd 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/User.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/User.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.AvailableTypes;
public class User
{
///
- /// Unique identifier for this user or bot. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.
+ /// Unique identifier for this user or bot. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type is safe for storing this identifier.
///
[JsonPropertyName(PropertyNames.Id)]
public long Id { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/UserProfilePhotos.cs b/src/library/Telegram.BotAPI/AvailableTypes/UserProfilePhotos.cs
index bcf1038f..e54a8858 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/UserProfilePhotos.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/UserProfilePhotos.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.AvailableTypes;
///
-/// This object represent a user's profile pictures.
+/// This object represents a user's profile pictures.
///
public class UserProfilePhotos
{
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/UserRating.cs b/src/library/Telegram.BotAPI/AvailableTypes/UserRating.cs
index 54974889..30d72473 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/UserRating.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/UserRating.cs
@@ -5,12 +5,12 @@
namespace Telegram.BotAPI.AvailableTypes;
///
-/// This object describes the rating of a user based on their Telegram Star spendings.
+/// This object describes the rating of a user based on their Telegram Star spending.
///
public class UserRating
{
///
- /// Current level of the user, indicating their reliability when purchasing digital goods and services. A higher level suggests a more trustworthy customer; a negative level is likely reason for concern.
+ /// Current level of the user, indicating their reliability when purchasing digital goods and services. A higher level suggests a more trustworthy customer; a negative level is likely a reason for concern.
///
[JsonPropertyName(PropertyNames.Level)]
public int Level { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Video.cs b/src/library/Telegram.BotAPI/AvailableTypes/Video.cs
index 6e47bc21..6c9004cd 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Video.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Video.cs
@@ -76,7 +76,7 @@ public class Video
public string? MimeType { get; set; }
///
- /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.
+ /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this value.
///
[JsonPropertyName(PropertyNames.FileSize)]
public long? FileSize { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/VideoQuality.cs b/src/library/Telegram.BotAPI/AvailableTypes/VideoQuality.cs
index ed892184..e5cfcfef 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/VideoQuality.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/VideoQuality.cs
@@ -40,7 +40,7 @@ public class VideoQuality
public string Codec { get; set; } = null!;
///
- /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.
+ /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this value.
///
[JsonPropertyName(PropertyNames.FileSize)]
public long? FileSize { get; set; }
diff --git a/src/library/Telegram.BotAPI/AvailableTypes/Voice.cs b/src/library/Telegram.BotAPI/AvailableTypes/Voice.cs
index 4c0f270d..1dce426e 100644
--- a/src/library/Telegram.BotAPI/AvailableTypes/Voice.cs
+++ b/src/library/Telegram.BotAPI/AvailableTypes/Voice.cs
@@ -34,7 +34,7 @@ public class Voice
public string? MimeType { get; set; }
///
- /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.
+ /// Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type is safe for storing this value.
///
[JsonPropertyName(PropertyNames.FileSize)]
public long? FileSize { get; set; }
diff --git a/src/library/Telegram.BotAPI/Games/Game.cs b/src/library/Telegram.BotAPI/Games/Game.cs
index 5da23fea..0a612b63 100644
--- a/src/library/Telegram.BotAPI/Games/Game.cs
+++ b/src/library/Telegram.BotAPI/Games/Game.cs
@@ -7,7 +7,7 @@
namespace Telegram.BotAPI.Games;
///
-/// This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.
+/// This object represents a game. Use BotFather to create and edit games; their short names will act as unique identifiers.
///
public class Game
{
diff --git a/src/library/Telegram.BotAPI/Games/setGameScore.cs b/src/library/Telegram.BotAPI/Games/setGameScore.cs
index 3270c5b5..e81fbe35 100644
--- a/src/library/Telegram.BotAPI/Games/setGameScore.cs
+++ b/src/library/Telegram.BotAPI/Games/setGameScore.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.Games;
public static partial class GamesExtensions
{
///
- /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned, otherwise True is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.
+ /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned; otherwise, True is returned. Returns an error if the new score is not greater than the user's current score in the chat and force is False.
///
/// The instance.
/// The arguments for the "SetGameScore" method.
@@ -23,7 +23,7 @@ public static TResult SetGameScore(this ITelegramBotClient client, SetG
client.SetGameScoreAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned, otherwise True is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.
+ /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned; otherwise, True is returned. Returns an error if the new score is not greater than the user's current score in the chat and force is False.
///
/// The instance.
/// The arguments for the "SetGameScore" method.
@@ -42,7 +42,7 @@ public static Task SetGameScoreAsync(this ITelegramBotClient c
}
///
- /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned, otherwise True is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.
+ /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned; otherwise, True is returned. Returns an error if the new score is not greater than the user's current score in the chat and force is False.
///
/// The instance.
/// User identifier
@@ -58,7 +58,7 @@ public static Message SetGameScore(this ITelegramBotClient client, long userId,
client.SetGameScoreAsync(userId, score, chatId, messageId, force, disableEditMessage).GetAwaiter().GetResult();
///
- /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned, otherwise True is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.
+ /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned; otherwise, True is returned. Returns an error if the new score is not greater than the user's current score in the chat and force is False.
///
/// The instance.
/// User identifier
@@ -98,7 +98,7 @@ public static Task SetGameScoreAsync(this ITelegramBotClient client, lo
}
///
- /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned, otherwise True is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.
+ /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned; otherwise, True is returned. Returns an error if the new score is not greater than the user's current score in the chat and force is False.
///
/// The instance.
/// User identifier
@@ -113,7 +113,7 @@ public static bool SetGameScore(this ITelegramBotClient client, long userId, int
client.SetGameScoreAsync(userId, score, inlineMessageId, force, disableEditMessage).GetAwaiter().GetResult();
///
- /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned, otherwise True is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.
+ /// Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the is returned; otherwise, True is returned. Returns an error if the new score is not greater than the user's current score in the chat and force is False.
///
/// The instance.
/// User identifier
diff --git a/src/library/Telegram.BotAPI/GettingUpdates/Args/GetUpdatesArgs.cs b/src/library/Telegram.BotAPI/GettingUpdates/Args/GetUpdatesArgs.cs
index a6614edf..b9c177d2 100644
--- a/src/library/Telegram.BotAPI/GettingUpdates/Args/GetUpdatesArgs.cs
+++ b/src/library/Telegram.BotAPI/GettingUpdates/Args/GetUpdatesArgs.cs
@@ -22,7 +22,7 @@ public class GetUpdatesArgs
public int? Limit { get; set; }
///
- /// Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling. Should be positive, short polling should be used for testing purposes only.
+ /// Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling. Should be positive; short polling should be used for testing purposes only.
///
[JsonPropertyName(PropertyNames.Timeout)]
public int? Timeout { get; set; }
diff --git a/src/library/Telegram.BotAPI/GettingUpdates/Args/SetWebhookArgs.cs b/src/library/Telegram.BotAPI/GettingUpdates/Args/SetWebhookArgs.cs
index 251d529b..2b6fffaa 100644
--- a/src/library/Telegram.BotAPI/GettingUpdates/Args/SetWebhookArgs.cs
+++ b/src/library/Telegram.BotAPI/GettingUpdates/Args/SetWebhookArgs.cs
@@ -45,7 +45,7 @@ public SetWebhookArgs(string url)
public int? MaxConnections { get; set; }
///
- /// A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. See for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.
Please note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.
+ /// A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. See for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.
Please note that this parameter doesn't affect updates created before the call to setWebhook, so unwanted updates may be received for a short period of time.
///
[JsonPropertyName(PropertyNames.AllowedUpdates)]
public IEnumerable? AllowedUpdates { get; set; }
diff --git a/src/library/Telegram.BotAPI/GettingUpdates/Update.cs b/src/library/Telegram.BotAPI/GettingUpdates/Update.cs
index 8d71b368..5cdeef46 100644
--- a/src/library/Telegram.BotAPI/GettingUpdates/Update.cs
+++ b/src/library/Telegram.BotAPI/GettingUpdates/Update.cs
@@ -14,7 +14,7 @@ namespace Telegram.BotAPI.GettingUpdates;
public class Update
{
///
- /// The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This identifier becomes especially handy if you're using webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially.
+ /// The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This identifier becomes especially handy if you're using webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then the identifier of the next update will be chosen randomly instead of sequentially.
///
[JsonPropertyName(PropertyNames.UpdateId)]
public int UpdateId { get; set; }
@@ -80,7 +80,7 @@ public class Update
public MessageReactionUpdated? MessageReaction { get; set; }
///
- /// Optional. Reactions to a message with anonymous reactions were changed. The bot must be an administrator in the chat and must explicitly specify "message_reaction_count" in the list of allowed_updates to receive these updates. The updates are grouped and can be sent with delay up to a few minutes.
+ /// Optional. Reactions to a message with anonymous reactions were changed. The bot must be an administrator in the chat and must explicitly specify "message_reaction_count" in the list of allowed_updates to receive these updates. The updates are grouped and can be sent with a delay of up to a few minutes.
///
[JsonPropertyName(PropertyNames.MessageReactionCount)]
public MessageReactionCountUpdated? MessageReactionCount { get; set; }
@@ -134,7 +134,7 @@ public class Update
public PaidMediaPurchased? PurchasedPaidMedia { get; set; }
///
- /// Optional. New poll state. Bots receive only updates about manually stopped polls and polls, which are sent by the bot.
+ /// Optional. New poll state. Bots receive only updates about manually stopped polls and polls which are sent by the bot.
///
[JsonPropertyName(PropertyNames.Poll)]
public Poll? Poll { get; set; }
@@ -176,7 +176,7 @@ public class Update
public ChatBoostRemoved? RemovedChatBoost { get; set; }
///
- /// Optional. A new bot was created to be managed by the bot, or token or owner of a managed bot was changed
+ /// Optional. A new bot was created to be managed by the bot, or the token or owner of a managed bot was changed
///
[JsonPropertyName(PropertyNames.ManagedBot)]
public ManagedBotUpdated? ManagedBot { get; set; }
diff --git a/src/library/Telegram.BotAPI/GettingUpdates/getUpdates.cs b/src/library/Telegram.BotAPI/GettingUpdates/getUpdates.cs
index e0b5271c..f89a4c96 100644
--- a/src/library/Telegram.BotAPI/GettingUpdates/getUpdates.cs
+++ b/src/library/Telegram.BotAPI/GettingUpdates/getUpdates.cs
@@ -45,7 +45,7 @@ public static Task> GetUpdatesAsync(this ITelegramBotClient
/// The instance.
/// Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id. The negative offset can be specified to retrieve updates starting from -offset update from the end of the updates queue. All previous updates will be forgotten.
/// Limits the number of updates to be retrieved. Values between 1-100 are accepted. Defaults to 100.
- /// Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling. Should be positive, short polling should be used for testing purposes only.
+ /// Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling. Should be positive; short polling should be used for testing purposes only.
/// A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. See for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.
Please note that this parameter doesn't affect updates created before the call to getUpdates, so unwanted updates may be received for a short period of time.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -59,7 +59,7 @@ public static IEnumerable GetUpdates(this ITelegramBotClient client, int
/// The instance.
/// Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as getUpdates is called with an offset higher than its update_id. The negative offset can be specified to retrieve updates starting from -offset update from the end of the updates queue. All previous updates will be forgotten.
/// Limits the number of updates to be retrieved. Values between 1-100 are accepted. Defaults to 100.
- /// Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling. Should be positive, short polling should be used for testing purposes only.
+ /// Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling. Should be positive; short polling should be used for testing purposes only.
/// A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. See for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.
Please note that this parameter doesn't affect updates created before the call to getUpdates, so unwanted updates may be received for a short period of time.
/// The cancellation token to cancel operation.
/// Thrown if is null.
diff --git a/src/library/Telegram.BotAPI/GettingUpdates/getWebhookInfo.cs b/src/library/Telegram.BotAPI/GettingUpdates/getWebhookInfo.cs
index ec6dde4f..a8b4e051 100644
--- a/src/library/Telegram.BotAPI/GettingUpdates/getWebhookInfo.cs
+++ b/src/library/Telegram.BotAPI/GettingUpdates/getWebhookInfo.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.GettingUpdates;
public static partial class GettingUpdatesExtensions
{
///
- /// Use this method to get current webhook status. Requires no parameters. On success, returns a object. If the bot is using getUpdates, will return an object with the url field empty.
+ /// Use this method to get the current webhook status. Requires no parameters. On success, returns a object. If the bot is using getUpdates, it will return an object with the url field empty.
///
/// The instance.
/// Thrown if is null.
@@ -20,7 +20,7 @@ public static WebhookInfo GetWebhookInfo(this ITelegramBotClient client) =>
client.GetWebhookInfoAsync().GetAwaiter().GetResult();
///
- /// Use this method to get current webhook status. Requires no parameters. On success, returns a object. If the bot is using getUpdates, will return an object with the url field empty.
+ /// Use this method to get the current webhook status. Requires no parameters. On success, returns a object. If the bot is using getUpdates, it will return an object with the url field empty.
///
/// The instance.
/// The cancellation token to cancel operation.
diff --git a/src/library/Telegram.BotAPI/GettingUpdates/setWebhook.cs b/src/library/Telegram.BotAPI/GettingUpdates/setWebhook.cs
index 7d21dff8..a2e36fa1 100644
--- a/src/library/Telegram.BotAPI/GettingUpdates/setWebhook.cs
+++ b/src/library/Telegram.BotAPI/GettingUpdates/setWebhook.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.GettingUpdates;
public static partial class GettingUpdatesExtensions
{
///
- /// Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized . In case of an unsuccessful request (a request with response HTTP status code different from 2XY), we will repeat the request and give up after a reasonable amount of attempts. Returns True on success.
+ /// Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized . In case of an unsuccessful request (a request with response HTTP status code different from 2XY), we will repeat the request and give up after a reasonable number of attempts. Returns True on success.
/// If you'd like to make sure that the webhook was set by you, you can specify secret data in the parameter secret_token. If specified, the request will contain a header “X-Telegram-Bot-Api-Secret-Token” with the secret token as content.
///
/// The instance.
@@ -24,7 +24,7 @@ public static bool SetWebhook(this ITelegramBotClient client, SetWebhookArgs arg
client.SetWebhookAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized . In case of an unsuccessful request (a request with response HTTP status code different from 2XY), we will repeat the request and give up after a reasonable amount of attempts. Returns True on success.
+ /// Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized . In case of an unsuccessful request (a request with response HTTP status code different from 2XY), we will repeat the request and give up after a reasonable number of attempts. Returns True on success.
/// If you'd like to make sure that the webhook was set by you, you can specify secret data in the parameter secret_token. If specified, the request will contain a header “X-Telegram-Bot-Api-Secret-Token” with the secret token as content.
///
/// The instance.
@@ -44,7 +44,7 @@ public static Task SetWebhookAsync(this ITelegramBotClient client, SetWebh
}
///
- /// Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized . In case of an unsuccessful request (a request with response HTTP status code different from 2XY), we will repeat the request and give up after a reasonable amount of attempts. Returns True on success.
+ /// Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized . In case of an unsuccessful request (a request with response HTTP status code different from 2XY), we will repeat the request and give up after a reasonable number of attempts. Returns True on success.
/// If you'd like to make sure that the webhook was set by you, you can specify secret data in the parameter secret_token. If specified, the request will contain a header “X-Telegram-Bot-Api-Secret-Token” with the secret token as content.
///
/// The instance.
@@ -52,7 +52,7 @@ public static Task SetWebhookAsync(this ITelegramBotClient client, SetWebh
/// Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details.
/// The fixed IP address which will be used to send webhook requests instead of the IP address resolved through DNS
/// The maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery, 1-100. Defaults to 40. Use lower values to limit the load on your bot's server, and higher values to increase your bot's throughput.
- /// A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. See for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.
Please note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.
+ /// A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. See for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.
Please note that this parameter doesn't affect updates created before the call to setWebhook, so unwanted updates may be received for a short period of time.
/// Pass True to drop all pending updates
/// A secret token to be sent in a header “X-Telegram-Bot-Api-Secret-Token” in every webhook request, 1-256 characters. Only characters A-Z, a-z, 0-9, _ and - are allowed. The header is useful to ensure that the request comes from a webhook set by you.
/// Thrown if is null.
@@ -62,7 +62,7 @@ public static bool SetWebhook(this ITelegramBotClient client, string url, InputF
client.SetWebhookAsync(url, certificate, ipAddress, maxConnections, allowedUpdates, dropPendingUpdates, secretToken).GetAwaiter().GetResult();
///
- /// Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized . In case of an unsuccessful request (a request with response HTTP status code different from 2XY), we will repeat the request and give up after a reasonable amount of attempts. Returns True on success.
+ /// Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized . In case of an unsuccessful request (a request with response HTTP status code different from 2XY), we will repeat the request and give up after a reasonable number of attempts. Returns True on success.
/// If you'd like to make sure that the webhook was set by you, you can specify secret data in the parameter secret_token. If specified, the request will contain a header “X-Telegram-Bot-Api-Secret-Token” with the secret token as content.
///
/// The instance.
@@ -70,7 +70,7 @@ public static bool SetWebhook(this ITelegramBotClient client, string url, InputF
/// Upload your public key certificate so that the root certificate in use can be checked. See our self-signed guide for details.
/// The fixed IP address which will be used to send webhook requests instead of the IP address resolved through DNS
/// The maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery, 1-100. Defaults to 40. Use lower values to limit the load on your bot's server, and higher values to increase your bot's throughput.
- /// A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. See for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.
Please note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.
+ /// A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. See for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.
Please note that this parameter doesn't affect updates created before the call to setWebhook, so unwanted updates may be received for a short period of time.
/// Pass True to drop all pending updates
/// A secret token to be sent in a header “X-Telegram-Bot-Api-Secret-Token” in every webhook request, 1-256 characters. Only characters A-Z, a-z, 0-9, _ and - are allowed. The header is useful to ensure that the request comes from a webhook set by you.
/// The cancellation token to cancel operation.
diff --git a/src/library/Telegram.BotAPI/InlineMode/ChosenInlineResult.cs b/src/library/Telegram.BotAPI/InlineMode/ChosenInlineResult.cs
index ca3fbf82..8ab8168a 100644
--- a/src/library/Telegram.BotAPI/InlineMode/ChosenInlineResult.cs
+++ b/src/library/Telegram.BotAPI/InlineMode/ChosenInlineResult.cs
@@ -30,7 +30,7 @@ public class ChosenInlineResult
public Location? Location { get; set; }
///
- /// Optional. Identifier of the sent inline message. Available only if there is an inline keyboard attached to the message. Will be also received in callback queries and can be used to edit the message.
+ /// Optional. Identifier of the sent inline message. Available only if there is an inline keyboard attached to the message. Will also be received in callback queries and can be used to edit the message.
///
[JsonPropertyName(PropertyNames.InlineMessageId)]
public string? InlineMessageId { get; set; }
diff --git a/src/library/Telegram.BotAPI/InlineMode/InlineQuery.cs b/src/library/Telegram.BotAPI/InlineMode/InlineQuery.cs
index aa17e4b4..09049a9f 100644
--- a/src/library/Telegram.BotAPI/InlineMode/InlineQuery.cs
+++ b/src/library/Telegram.BotAPI/InlineMode/InlineQuery.cs
@@ -36,7 +36,7 @@ public class InlineQuery
public string Offset { get; set; } = null!;
///
- /// Optional. Type of the chat from which the inline query was sent. Can be either “sender” for a private chat with the inline query sender, “private”, “group”, “supergroup”, or “channel”. The chat type should be always known for requests sent from official clients and most third-party clients, unless the request was sent from a secret chat.
+ /// Optional. Type of the chat from which the inline query was sent. Can be either “sender” for a private chat with the inline query sender, “private”, “group”, “supergroup”, or “channel”. The chat type should always be known for requests sent from official clients and most third-party clients, unless the request was sent from a secret chat.
///
[JsonPropertyName(PropertyNames.ChatType)]
public string? ChatType { get; set; }
diff --git a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedGif.cs b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedGif.cs
index 692640bf..6a41706e 100644
--- a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedGif.cs
+++ b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultCachedGif.cs
@@ -7,7 +7,7 @@
namespace Telegram.BotAPI.InlineMode;
///
-/// Represents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with specified content instead of the animation.
+/// Represents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
///
public class InlineQueryResultCachedGif : InlineQueryResult
{
diff --git a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultGif.cs b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultGif.cs
index 3bfb5a8e..cfc8dd33 100644
--- a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultGif.cs
+++ b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultGif.cs
@@ -7,7 +7,7 @@
namespace Telegram.BotAPI.InlineMode;
///
-/// Represents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
+/// Represents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
///
public class InlineQueryResultGif : InlineQueryResult
{
diff --git a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultMpeg4Gif.cs b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultMpeg4Gif.cs
index b5889e20..fa7a82b2 100644
--- a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultMpeg4Gif.cs
+++ b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultMpeg4Gif.cs
@@ -7,7 +7,7 @@
namespace Telegram.BotAPI.InlineMode;
///
-/// Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default, this animated MPEG-4 file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
+/// Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default, this animated MPEG-4 file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
///
public class InlineQueryResultMpeg4Gif : InlineQueryResult
{
diff --git a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultPhoto.cs b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultPhoto.cs
index 33b7a343..817e2304 100644
--- a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultPhoto.cs
+++ b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultPhoto.cs
@@ -7,7 +7,7 @@
namespace Telegram.BotAPI.InlineMode;
///
-/// Represents a link to a photo. By default, this photo will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.
+/// Represents a link to a photo. By default, this photo will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.
///
public class InlineQueryResultPhoto : InlineQueryResult
{
diff --git a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultVideo.cs b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultVideo.cs
index 2d0e504d..34dabe34 100644
--- a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultVideo.cs
+++ b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultVideo.cs
@@ -96,7 +96,7 @@ public class InlineQueryResultVideo : InlineQueryResult
public string? Description { get; set; }
///
- /// Optional. Content of the message to be sent instead of the video. This field is required if InlineQueryResultVideo is used to send an HTML-page as a result (e.g., a YouTube video).
+ /// Optional. Content of the message to be sent instead of the video. This field is required if InlineQueryResultVideo is used to send an HTML page as a result (e.g., a YouTube video).
///
[JsonPropertyName(PropertyNames.InputMessageContent)]
public InputMessageContent? InputMessageContent { get; set; }
diff --git a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultVoice.cs b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultVoice.cs
index f8d3074c..19dc17e6 100644
--- a/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultVoice.cs
+++ b/src/library/Telegram.BotAPI/InlineMode/InlineQueryResult/InlineQueryResultVoice.cs
@@ -7,7 +7,7 @@
namespace Telegram.BotAPI.InlineMode;
///
-/// Represents a link to a voice recording in an .OGG container encoded with OPUS. By default, this voice recording will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the the voice message.
+/// Represents a link to a voice recording in an .OGG container encoded with OPUS. By default, this voice recording will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the voice message.
///
public class InlineQueryResultVoice : InlineQueryResult
{
diff --git a/src/library/Telegram.BotAPI/InlineMode/InputMessageContent/InputInvoiceMessageContent.cs b/src/library/Telegram.BotAPI/InlineMode/InputMessageContent/InputInvoiceMessageContent.cs
index c3f2d32b..3a48435f 100644
--- a/src/library/Telegram.BotAPI/InlineMode/InputMessageContent/InputInvoiceMessageContent.cs
+++ b/src/library/Telegram.BotAPI/InlineMode/InputMessageContent/InputInvoiceMessageContent.cs
@@ -16,7 +16,7 @@ public class InputInvoiceMessageContent : InputMessageContent
///
/// Product name, 1-32 characters
/// Product description, 1-255 characters
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars.
/// Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars.
public InputInvoiceMessageContent(string title, string description, string payload, string currency, IEnumerable prices)
@@ -41,7 +41,7 @@ public InputInvoiceMessageContent(string title, string description, string paylo
public string Description { get; set; }
///
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
///
[JsonPropertyName(PropertyNames.Payload)]
public string Payload { get; set; }
@@ -65,13 +65,13 @@ public InputInvoiceMessageContent(string title, string description, string paylo
public IEnumerable Prices { get; set; }
///
- /// Optional. The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
+ /// Optional. The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
///
[JsonPropertyName(PropertyNames.MaxTipAmount)]
public int? MaxTipAmount { get; set; }
///
- /// Optional. A JSON-serialized Array of suggested amounts of tip in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount.
+ /// Optional. A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increasing order and must not exceed max_tip_amount.
///
[JsonPropertyName(PropertyNames.SuggestedTipAmounts)]
public IEnumerable? SuggestedTipAmounts { get; set; }
diff --git a/src/library/Telegram.BotAPI/Payments/Args/AnswerShippingQueryArgs.cs b/src/library/Telegram.BotAPI/Payments/Args/AnswerShippingQueryArgs.cs
index a6e520e1..f5a8050c 100644
--- a/src/library/Telegram.BotAPI/Payments/Args/AnswerShippingQueryArgs.cs
+++ b/src/library/Telegram.BotAPI/Payments/Args/AnswerShippingQueryArgs.cs
@@ -41,7 +41,7 @@ public AnswerShippingQueryArgs(string shippingQueryId, bool ok)
public IEnumerable? ShippingOptions { get; set; }
///
- /// Required if ok is False. Error message in human readable form that explains why it is impossible to complete the order (e.g. “Sorry, delivery to your desired address is unavailable”). Telegram will display this message to the user.
+ /// Required if ok is False. Error message in human-readable form that explains why it is impossible to complete the order (e.g. “Sorry, delivery to your desired address is unavailable”). Telegram will display this message to the user.
///
[JsonPropertyName(PropertyNames.ErrorMessage)]
public string? ErrorMessage { get; set; }
diff --git a/src/library/Telegram.BotAPI/Payments/Args/CreateInvoiceLinkArgs.cs b/src/library/Telegram.BotAPI/Payments/Args/CreateInvoiceLinkArgs.cs
index c6dd88eb..8aa4cee5 100644
--- a/src/library/Telegram.BotAPI/Payments/Args/CreateInvoiceLinkArgs.cs
+++ b/src/library/Telegram.BotAPI/Payments/Args/CreateInvoiceLinkArgs.cs
@@ -14,7 +14,7 @@ public class CreateInvoiceLinkArgs
///
/// Product name, 1-32 characters
/// Product description, 1-255 characters
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars.
/// Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars.
public CreateInvoiceLinkArgs(string title, string description, string payload, string currency, IEnumerable prices)
@@ -45,7 +45,7 @@ public CreateInvoiceLinkArgs(string title, string description, string payload, s
public string Description { get; set; }
///
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
///
[JsonPropertyName(PropertyNames.Payload)]
public string Payload { get; set; }
@@ -69,25 +69,25 @@ public CreateInvoiceLinkArgs(string title, string description, string payload, s
public IEnumerable Prices { get; set; }
///
- /// The number of seconds the subscription will be active for before the next payment. The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always be 2592000 (30 days) if specified. Any number of subscriptions can be active for a given bot at the same time, including multiple concurrent subscriptions from the same user. Subscription price must no exceed 10000 Telegram Stars.
+ /// The number of seconds the subscription will be active for before the next payment. The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always be 2592000 (30 days) if specified. Any number of subscriptions can be active for a given bot at the same time, including multiple concurrent subscriptions from the same user. Subscription price must not exceed 10000 Telegram Stars.
///
[JsonPropertyName(PropertyNames.SubscriptionPeriod)]
public int? SubscriptionPeriod { get; set; }
///
- /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
+ /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
///
[JsonPropertyName(PropertyNames.MaxTipAmount)]
public int? MaxTipAmount { get; set; }
///
- /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount.
+ /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increasing order and must not exceed max_tip_amount.
///
[JsonPropertyName(PropertyNames.SuggestedTipAmounts)]
public IEnumerable? SuggestedTipAmounts { get; set; }
///
- /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.
+ /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider.
///
[JsonPropertyName(PropertyNames.ProviderData)]
public string? ProviderData { get; set; }
diff --git a/src/library/Telegram.BotAPI/Payments/Args/SendInvoiceArgs.cs b/src/library/Telegram.BotAPI/Payments/Args/SendInvoiceArgs.cs
index b3401ba3..19ee694e 100644
--- a/src/library/Telegram.BotAPI/Payments/Args/SendInvoiceArgs.cs
+++ b/src/library/Telegram.BotAPI/Payments/Args/SendInvoiceArgs.cs
@@ -17,7 +17,7 @@ public class SendInvoiceArgs
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
/// Product name, 1-32 characters
/// Product description, 1-255 characters
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars.
/// Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars.
public SendInvoiceArgs(long chatId, string title, string description, string payload, string currency, IEnumerable prices)
@@ -36,7 +36,7 @@ public SendInvoiceArgs(long chatId, string title, string description, string pay
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
/// Product name, 1-32 characters
/// Product description, 1-255 characters
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars.
/// Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars.
public SendInvoiceArgs(string chatId, string title, string description, string payload, string currency, IEnumerable prices)
@@ -80,7 +80,7 @@ public SendInvoiceArgs(string chatId, string title, string description, string p
public string Description { get; set; }
///
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
///
[JsonPropertyName(PropertyNames.Payload)]
public string Payload { get; set; }
@@ -104,13 +104,13 @@ public SendInvoiceArgs(string chatId, string title, string description, string p
public IEnumerable Prices { get; set; }
///
- /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
+ /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
///
[JsonPropertyName(PropertyNames.MaxTipAmount)]
public int? MaxTipAmount { get; set; }
///
- /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount.
+ /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increasing order and must not exceed max_tip_amount.
///
[JsonPropertyName(PropertyNames.SuggestedTipAmounts)]
public IEnumerable? SuggestedTipAmounts { get; set; }
@@ -122,7 +122,7 @@ public SendInvoiceArgs(string chatId, string title, string description, string p
public string? StartParameter { get; set; }
///
- /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.
+ /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider.
///
[JsonPropertyName(PropertyNames.ProviderData)]
public string? ProviderData { get; set; }
diff --git a/src/library/Telegram.BotAPI/Payments/Invoice.cs b/src/library/Telegram.BotAPI/Payments/Invoice.cs
index 3bc66989..933134a5 100644
--- a/src/library/Telegram.BotAPI/Payments/Invoice.cs
+++ b/src/library/Telegram.BotAPI/Payments/Invoice.cs
@@ -34,7 +34,7 @@ public class Invoice
public string Currency { get; set; } = null!;
///
- /// Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
+ /// Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45, total_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
///
[JsonPropertyName(PropertyNames.TotalAmount)]
public int TotalAmount { get; set; }
diff --git a/src/library/Telegram.BotAPI/Payments/LabeledPrice.cs b/src/library/Telegram.BotAPI/Payments/LabeledPrice.cs
index 78f7cb88..65aff5f3 100644
--- a/src/library/Telegram.BotAPI/Payments/LabeledPrice.cs
+++ b/src/library/Telegram.BotAPI/Payments/LabeledPrice.cs
@@ -13,7 +13,7 @@ public class LabeledPrice
/// Initializes a new instance of the class.
///
/// Portion label
- /// Price of the product in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
+ /// Price of the product in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
public LabeledPrice(string label, int amount)
{
this.Label = label ?? throw new ArgumentNullException(nameof(label));
@@ -27,7 +27,7 @@ public LabeledPrice(string label, int amount)
public string Label { get; set; }
///
- /// Price of the product in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
+ /// Price of the product in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
///
[JsonPropertyName(PropertyNames.Amount)]
public int Amount { get; set; }
diff --git a/src/library/Telegram.BotAPI/Payments/PreCheckoutQuery.cs b/src/library/Telegram.BotAPI/Payments/PreCheckoutQuery.cs
index 16520c27..f5664631 100644
--- a/src/library/Telegram.BotAPI/Payments/PreCheckoutQuery.cs
+++ b/src/library/Telegram.BotAPI/Payments/PreCheckoutQuery.cs
@@ -30,7 +30,7 @@ public class PreCheckoutQuery
public string Currency { get; set; } = null!;
///
- /// Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
+ /// Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45, total_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
///
[JsonPropertyName(PropertyNames.TotalAmount)]
public int TotalAmount { get; set; }
diff --git a/src/library/Telegram.BotAPI/Payments/RefundedPayment.cs b/src/library/Telegram.BotAPI/Payments/RefundedPayment.cs
index 2b898846..e60601c8 100644
--- a/src/library/Telegram.BotAPI/Payments/RefundedPayment.cs
+++ b/src/library/Telegram.BotAPI/Payments/RefundedPayment.cs
@@ -16,7 +16,7 @@ public class RefundedPayment
public string Currency => "XTR";
///
- /// Total refunded price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45, total_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
+ /// Total refunded price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45, total_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
///
[JsonPropertyName(PropertyNames.TotalAmount)]
public int TotalAmount { get; set; }
diff --git a/src/library/Telegram.BotAPI/Payments/ShippingQuery.cs b/src/library/Telegram.BotAPI/Payments/ShippingQuery.cs
index 0b03b5b3..24a7bb5e 100644
--- a/src/library/Telegram.BotAPI/Payments/ShippingQuery.cs
+++ b/src/library/Telegram.BotAPI/Payments/ShippingQuery.cs
@@ -30,7 +30,7 @@ public class ShippingQuery
public string InvoicePayload { get; set; } = null!;
///
- /// User specified shipping address
+ /// User-specified shipping address
///
[JsonPropertyName(PropertyNames.ShippingAddress)]
public ShippingAddress ShippingAddress { get; set; } = null!;
diff --git a/src/library/Telegram.BotAPI/Payments/SuccessfulPayment.cs b/src/library/Telegram.BotAPI/Payments/SuccessfulPayment.cs
index 5345e4a7..27e7bc4d 100644
--- a/src/library/Telegram.BotAPI/Payments/SuccessfulPayment.cs
+++ b/src/library/Telegram.BotAPI/Payments/SuccessfulPayment.cs
@@ -16,7 +16,7 @@ public class SuccessfulPayment
public string Currency { get; set; } = null!;
///
- /// Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
+ /// Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45, total_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
///
[JsonPropertyName(PropertyNames.TotalAmount)]
public int TotalAmount { get; set; }
diff --git a/src/library/Telegram.BotAPI/Payments/answerPreCheckoutQuery.cs b/src/library/Telegram.BotAPI/Payments/answerPreCheckoutQuery.cs
index 27670fa8..036c8424 100644
--- a/src/library/Telegram.BotAPI/Payments/answerPreCheckoutQuery.cs
+++ b/src/library/Telegram.BotAPI/Payments/answerPreCheckoutQuery.cs
@@ -17,7 +17,7 @@ public static partial class PaymentsExtensions
/// The instance.
/// Unique identifier for the query to be answered
/// Specify True if everything is alright (goods are available, etc.) and the bot is ready to proceed with the order. Use False if there are any problems.
- /// Required if ok is False. Error message in human readable form that explains the reason for failure to proceed with the checkout (e.g. "Sorry, somebody just bought the last of our amazing black T-shirts while you were busy filling out your payment details. Please choose a different color or garment!"). Telegram will display this message to the user.
+ /// Required if ok is False. Error message in human-readable form that explains the reason for failure to proceed with the checkout (e.g. "Sorry, somebody just bought the last of our amazing black T-shirts while you were busy filling out your payment details. Please choose a different color or garment!"). Telegram will display this message to the user.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
///
@@ -30,7 +30,7 @@ public static bool AnswerPreCheckoutQuery(this ITelegramBotClient client, string
/// The instance.
/// Unique identifier for the query to be answered
/// Specify True if everything is alright (goods are available, etc.) and the bot is ready to proceed with the order. Use False if there are any problems.
- /// Required if ok is False. Error message in human readable form that explains the reason for failure to proceed with the checkout (e.g. "Sorry, somebody just bought the last of our amazing black T-shirts while you were busy filling out your payment details. Please choose a different color or garment!"). Telegram will display this message to the user.
+ /// Required if ok is False. Error message in human-readable form that explains the reason for failure to proceed with the checkout (e.g. "Sorry, somebody just bought the last of our amazing black T-shirts while you were busy filling out your payment details. Please choose a different color or garment!"). Telegram will display this message to the user.
/// The cancellation token to cancel operation.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
diff --git a/src/library/Telegram.BotAPI/Payments/answerShippingQuery.cs b/src/library/Telegram.BotAPI/Payments/answerShippingQuery.cs
index 6ab6da3b..51c74500 100644
--- a/src/library/Telegram.BotAPI/Payments/answerShippingQuery.cs
+++ b/src/library/Telegram.BotAPI/Payments/answerShippingQuery.cs
@@ -48,7 +48,7 @@ public static Task AnswerShippingQueryAsync(this ITelegramBotClient client
/// Unique identifier for the query to be answered
/// Pass True if delivery to the specified address is possible and False if there are any problems (for example, if delivery to the specified address is not possible)
/// Required if ok is True. A JSON-serialized Array of available shipping options.
- /// Required if ok is False. Error message in human readable form that explains why it is impossible to complete the order (e.g. “Sorry, delivery to your desired address is unavailable”). Telegram will display this message to the user.
+ /// Required if ok is False. Error message in human-readable form that explains why it is impossible to complete the order (e.g. “Sorry, delivery to your desired address is unavailable”). Telegram will display this message to the user.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
///
@@ -62,7 +62,7 @@ public static bool AnswerShippingQuery(this ITelegramBotClient client, string sh
/// Unique identifier for the query to be answered
/// Pass True if delivery to the specified address is possible and False if there are any problems (for example, if delivery to the specified address is not possible)
/// Required if ok is True. A JSON-serialized Array of available shipping options.
- /// Required if ok is False. Error message in human readable form that explains why it is impossible to complete the order (e.g. “Sorry, delivery to your desired address is unavailable”). Telegram will display this message to the user.
+ /// Required if ok is False. Error message in human-readable form that explains why it is impossible to complete the order (e.g. “Sorry, delivery to your desired address is unavailable”). Telegram will display this message to the user.
/// The cancellation token to cancel operation.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
diff --git a/src/library/Telegram.BotAPI/Payments/createInvoiceLink.cs b/src/library/Telegram.BotAPI/Payments/createInvoiceLink.cs
index 88141ff0..04da9676 100644
--- a/src/library/Telegram.BotAPI/Payments/createInvoiceLink.cs
+++ b/src/library/Telegram.BotAPI/Payments/createInvoiceLink.cs
@@ -45,15 +45,15 @@ public static Task CreateInvoiceLinkAsync(this ITelegramBotClient client
/// The instance.
/// Product name, 1-32 characters
/// Product description, 1-255 characters
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars.
/// Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars.
/// Unique identifier of the business connection on behalf of which the link will be created. For payments in Telegram Stars only.
/// Payment provider token, obtained via @BotFather. Pass an empty string for payments in Telegram Stars.
- /// The number of seconds the subscription will be active for before the next payment. The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always be 2592000 (30 days) if specified. Any number of subscriptions can be active for a given bot at the same time, including multiple concurrent subscriptions from the same user. Subscription price must no exceed 10000 Telegram Stars.
- /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
- /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount.
- /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.
+ /// The number of seconds the subscription will be active for before the next payment. The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always be 2592000 (30 days) if specified. Any number of subscriptions can be active for a given bot at the same time, including multiple concurrent subscriptions from the same user. Subscription price must not exceed 10000 Telegram Stars.
+ /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
+ /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increasing order and must not exceed max_tip_amount.
+ /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider.
/// URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service.
/// Photo size in bytes
/// Photo width
@@ -77,15 +77,15 @@ public static string CreateInvoiceLink(this ITelegramBotClient client, string ti
/// The instance.
/// Product name, 1-32 characters
/// Product description, 1-255 characters
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars.
/// Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars.
/// Unique identifier of the business connection on behalf of which the link will be created. For payments in Telegram Stars only.
/// Payment provider token, obtained via @BotFather. Pass an empty string for payments in Telegram Stars.
- /// The number of seconds the subscription will be active for before the next payment. The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always be 2592000 (30 days) if specified. Any number of subscriptions can be active for a given bot at the same time, including multiple concurrent subscriptions from the same user. Subscription price must no exceed 10000 Telegram Stars.
- /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
- /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount.
- /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.
+ /// The number of seconds the subscription will be active for before the next payment. The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always be 2592000 (30 days) if specified. Any number of subscriptions can be active for a given bot at the same time, including multiple concurrent subscriptions from the same user. Subscription price must not exceed 10000 Telegram Stars.
+ /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
+ /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increasing order and must not exceed max_tip_amount.
+ /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider.
/// URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service.
/// Photo size in bytes
/// Photo width
diff --git a/src/library/Telegram.BotAPI/Payments/sendInvoice.cs b/src/library/Telegram.BotAPI/Payments/sendInvoice.cs
index 1a1e306d..d771a4fa 100644
--- a/src/library/Telegram.BotAPI/Payments/sendInvoice.cs
+++ b/src/library/Telegram.BotAPI/Payments/sendInvoice.cs
@@ -48,16 +48,16 @@ public static Task SendInvoiceAsync(this ITelegramBotClient client, Sen
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
/// Product name, 1-32 characters
/// Product description, 1-255 characters
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars.
/// Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars.
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// Payment provider token, obtained via @BotFather. Pass an empty string for payments in Telegram Stars.
- /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
- /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount.
+ /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
+ /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increasing order and must not exceed max_tip_amount.
/// Unique deep-linking parameter. If left empty, forwarded copies of the sent message will have a Pay button, allowing multiple users to pay directly from the forwarded message, using the same invoice. If non-empty, forwarded copies of the sent message will have a URL button with a deep link to the bot (instead of a Pay button), with the value used as the start parameter.
- /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.
+ /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider.
/// URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service. People like it better when they see what they are paying for.
/// Photo size in bytes
/// Photo width
@@ -89,16 +89,16 @@ public static Message SendInvoice(this ITelegramBotClient client, long chatId, s
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
/// Product name, 1-32 characters
/// Product description, 1-255 characters
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars.
/// Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars.
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// Payment provider token, obtained via @BotFather. Pass an empty string for payments in Telegram Stars.
- /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
- /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount.
+ /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
+ /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increasing order and must not exceed max_tip_amount.
/// Unique deep-linking parameter. If left empty, forwarded copies of the sent message will have a Pay button, allowing multiple users to pay directly from the forwarded message, using the same invoice. If non-empty, forwarded copies of the sent message will have a URL button with a deep link to the bot (instead of a Pay button), with the value used as the start parameter.
- /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.
+ /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider.
/// URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service. People like it better when they see what they are paying for.
/// Photo size in bytes
/// Photo width
@@ -248,16 +248,16 @@ public static Task SendInvoiceAsync(this ITelegramBotClient client, lon
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
/// Product name, 1-32 characters
/// Product description, 1-255 characters
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars.
/// Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars.
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// Payment provider token, obtained via @BotFather. Pass an empty string for payments in Telegram Stars.
- /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
- /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount.
+ /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
+ /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increasing order and must not exceed max_tip_amount.
/// Unique deep-linking parameter. If left empty, forwarded copies of the sent message will have a Pay button, allowing multiple users to pay directly from the forwarded message, using the same invoice. If non-empty, forwarded copies of the sent message will have a URL button with a deep link to the bot (instead of a Pay button), with the value used as the start parameter.
- /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.
+ /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider.
/// URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service. People like it better when they see what they are paying for.
/// Photo size in bytes
/// Photo width
@@ -289,16 +289,16 @@ public static Message SendInvoice(this ITelegramBotClient client, string chatId,
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
/// Product name, 1-32 characters
/// Product description, 1-255 characters
- /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.
+ /// Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user; use it for your internal processes.
/// Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars.
/// Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars.
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
/// Payment provider token, obtained via @BotFather. Pass an empty string for payments in Telegram Stars.
- /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
- /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount.
+ /// The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json; it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars.
+ /// A JSON-serialized Array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increasing order and must not exceed max_tip_amount.
/// Unique deep-linking parameter. If left empty, forwarded copies of the sent message will have a Pay button, allowing multiple users to pay directly from the forwarded message, using the same invoice. If non-empty, forwarded copies of the sent message will have a URL button with a deep link to the bot (instead of a Pay button), with the value used as the start parameter.
- /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.
+ /// JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider.
/// URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service. People like it better when they see what they are paying for.
/// Photo size in bytes
/// Photo width
diff --git a/src/library/Telegram.BotAPI/RichMessages/Args/SendRichMessageArgs.cs b/src/library/Telegram.BotAPI/RichMessages/Args/SendRichMessageArgs.cs
index 9a0c9b4d..e4c12be2 100644
--- a/src/library/Telegram.BotAPI/RichMessages/Args/SendRichMessageArgs.cs
+++ b/src/library/Telegram.BotAPI/RichMessages/Args/SendRichMessageArgs.cs
@@ -21,7 +21,7 @@ public SendRichMessageArgs(InputRichMessage richMessage)
}
///
- /// Unique identifier of the business connection on behalf of which the message will be sent. Bot can send rich messages on behalf of a business account only if the corresponding user can send rich messages.
+ /// Unique identifier of the business connection on behalf of which the message will be sent. The bot can send rich messages on behalf of a business account only if the corresponding user can send rich messages.
///
[JsonPropertyName(PropertyNames.BusinessConnectionId)]
public string? BusinessConnectionId { get; set; }
diff --git a/src/library/Telegram.BotAPI/RichMessages/Args/SendRichMessageDraftArgs.cs b/src/library/Telegram.BotAPI/RichMessages/Args/SendRichMessageDraftArgs.cs
index d7313b1d..e10304a9 100644
--- a/src/library/Telegram.BotAPI/RichMessages/Args/SendRichMessageDraftArgs.cs
+++ b/src/library/Telegram.BotAPI/RichMessages/Args/SendRichMessageDraftArgs.cs
@@ -16,7 +16,7 @@ public class SendRichMessageDraftArgs : AttachedFilesArgsBase
///
/// Unique identifier for the target private chat
/// Unique identifier of the message draft; must be non-zero. Changes to drafts with the same identifier are animated. Otherwise, the draft is replaced without animation.
- /// The partial message to be streamed. Direct upload of new files and explicit upload of files by a URL isn't supported.
+ /// The partial message to be streamed. Direct upload of new files and explicit upload of files by a URL aren't supported.
public SendRichMessageDraftArgs(long chatId, int draftId, InputRichMessage richMessage)
{
this.ChatId = chatId;
@@ -43,7 +43,7 @@ public SendRichMessageDraftArgs(long chatId, int draftId, InputRichMessage richM
public int DraftId { get; set; }
///
- /// The partial message to be streamed. Direct upload of new files and explicit upload of files by a URL isn't supported.
+ /// The partial message to be streamed. Direct upload of new files and explicit upload of files by a URL aren't supported.
///
[JsonPropertyName(PropertyNames.RichMessage)]
public InputRichMessage RichMessage { get; set; }
diff --git a/src/library/Telegram.BotAPI/RichMessages/InputRichBlock/InputRichBlockExpandableBlockQuotation.cs b/src/library/Telegram.BotAPI/RichMessages/InputRichBlock/InputRichBlockExpandableBlockQuotation.cs
index 8a339c54..cffc0080 100644
--- a/src/library/Telegram.BotAPI/RichMessages/InputRichBlock/InputRichBlockExpandableBlockQuotation.cs
+++ b/src/library/Telegram.BotAPI/RichMessages/InputRichBlock/InputRichBlockExpandableBlockQuotation.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.RichMessages;
///
-/// A block quotation, corresponding to the HTML tag <blockquote> with custom attribute "expandable".
+/// A block quotation, corresponding to the HTML tag <blockquote> with the custom attribute "expandable".
///
public class InputRichBlockExpandableBlockQuotation : InputRichBlock
{
diff --git a/src/library/Telegram.BotAPI/RichMessages/InputRichBlock/InputRichBlockThinking.cs b/src/library/Telegram.BotAPI/RichMessages/InputRichBlock/InputRichBlockThinking.cs
index 4d24062f..674572b5 100644
--- a/src/library/Telegram.BotAPI/RichMessages/InputRichBlock/InputRichBlockThinking.cs
+++ b/src/library/Telegram.BotAPI/RichMessages/InputRichBlock/InputRichBlockThinking.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.RichMessages;
///
-/// A block with a “Thinking…” placeholder, corresponding to the custom HTML tag <tg-thinking>. The block may be used only in sendRichMessageDraft, therefore it can't be received in messages. See https://t.me/addemoji/AIActions for examples of custom emoji that are recommended for usage in the block.
+/// A block with a “Thinking…” placeholder, corresponding to the custom HTML tag <tg-thinking>. The block may be used only in sendRichMessageDraft; therefore, it can't be received in messages. See https://t.me/addemoji/AIActions for examples of custom emoji that are recommended for usage in the block.
///
public class InputRichBlockThinking : InputRichBlock
{
diff --git a/src/library/Telegram.BotAPI/RichMessages/InputRichMessage.cs b/src/library/Telegram.BotAPI/RichMessages/InputRichMessage.cs
index 493de83c..e63280ee 100644
--- a/src/library/Telegram.BotAPI/RichMessages/InputRichMessage.cs
+++ b/src/library/Telegram.BotAPI/RichMessages/InputRichMessage.cs
@@ -16,13 +16,13 @@ public class InputRichMessage
public IEnumerable? Blocks { get; set; }
///
- /// Optional. Content of the rich message to send described using HTML formatting. See rich message formatting options for more details. Use media field to specify the media used in the message.
+ /// Optional. Content of the rich message to send described using HTML formatting. See rich message formatting options for more details. Use the media field to specify the media used in the message.
///
[JsonPropertyName(PropertyNames.Html)]
public string? Html { get; set; }
///
- /// Optional. Content of the rich message to send described using Markdown formatting. See rich message formatting options for more details. Use media field to specify the media used in the message.
+ /// Optional. Content of the rich message to send described using Markdown formatting. See rich message formatting options for more details. Use the media field to specify the media used in the message.
///
[JsonPropertyName(PropertyNames.Markdown)]
public string? Markdown { get; set; }
diff --git a/src/library/Telegram.BotAPI/RichMessages/RichBlock/RichBlockExpandableBlockQuotation.cs b/src/library/Telegram.BotAPI/RichMessages/RichBlock/RichBlockExpandableBlockQuotation.cs
index eea275dd..adf47a6a 100644
--- a/src/library/Telegram.BotAPI/RichMessages/RichBlock/RichBlockExpandableBlockQuotation.cs
+++ b/src/library/Telegram.BotAPI/RichMessages/RichBlock/RichBlockExpandableBlockQuotation.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.RichMessages;
///
-/// A block quotation, corresponding to the HTML tag <blockquote> with custom attribute "expandable".
+/// A block quotation, corresponding to the HTML tag <blockquote> with the custom attribute "expandable".
///
public class RichBlockExpandableBlockQuotation : RichBlock
{
diff --git a/src/library/Telegram.BotAPI/RichMessages/RichBlock/RichBlockThinking.cs b/src/library/Telegram.BotAPI/RichMessages/RichBlock/RichBlockThinking.cs
index f0bad8f3..172bca64 100644
--- a/src/library/Telegram.BotAPI/RichMessages/RichBlock/RichBlockThinking.cs
+++ b/src/library/Telegram.BotAPI/RichMessages/RichBlock/RichBlockThinking.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.RichMessages;
///
-/// A block with a “Thinking…” placeholder, corresponding to the custom HTML tag <tg-thinking>. The block may be used only in sendRichMessageDraft, therefore it can't be received in messages. See https://t.me/addemoji/AIActions for examples of custom emoji that are recommended for usage in the block.
+/// A block with a “Thinking…” placeholder, corresponding to the custom HTML tag <tg-thinking>. The block may be used only in sendRichMessageDraft; therefore, it can't be received in messages. See https://t.me/addemoji/AIActions for examples of custom emoji that are recommended for usage in the block.
///
public class RichBlockThinking : RichBlock
{
diff --git a/src/library/Telegram.BotAPI/RichMessages/RichText/RichTextAnchorLink.cs b/src/library/Telegram.BotAPI/RichMessages/RichText/RichTextAnchorLink.cs
index 94772c1c..c047d1ca 100644
--- a/src/library/Telegram.BotAPI/RichMessages/RichText/RichTextAnchorLink.cs
+++ b/src/library/Telegram.BotAPI/RichMessages/RichText/RichTextAnchorLink.cs
@@ -22,7 +22,7 @@ public class RichTextAnchorLink : RichText
public RichText Text { get; set; } = null!;
///
- /// The name of the anchor. If the name is empty, then the link brings back to the top of the message.
+ /// The name of the anchor. If the name is empty, then the link brings the user back to the top of the message.
///
[JsonPropertyName(PropertyNames.AnchorName)]
public string AnchorName { get; set; } = null!;
diff --git a/src/library/Telegram.BotAPI/RichMessages/sendRichMessage.cs b/src/library/Telegram.BotAPI/RichMessages/sendRichMessage.cs
index 1ada95a1..942d0741 100644
--- a/src/library/Telegram.BotAPI/RichMessages/sendRichMessage.cs
+++ b/src/library/Telegram.BotAPI/RichMessages/sendRichMessage.cs
@@ -46,7 +46,7 @@ public static Task SendRichMessageAsync(this ITelegramBotClient client,
///
/// The instance.
/// The message to be sent
- /// Unique identifier of the business connection on behalf of which the message will be sent. Bot can send rich messages on behalf of a business account only if the corresponding user can send rich messages.
+ /// Unique identifier of the business connection on behalf of which the message will be sent. The bot can send rich messages on behalf of a business account only if the corresponding user can send rich messages.
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username; required unless the message is sent as an ephemeral reply to a callback query
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
@@ -70,7 +70,7 @@ public static Message SendRichMessage(this ITelegramBotClient client, InputRichM
///
/// The instance.
/// The message to be sent
- /// Unique identifier of the business connection on behalf of which the message will be sent. Bot can send rich messages on behalf of a business account only if the corresponding user can send rich messages.
+ /// Unique identifier of the business connection on behalf of which the message will be sent. The bot can send rich messages on behalf of a business account only if the corresponding user can send rich messages.
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username; required unless the message is sent as an ephemeral reply to a callback query
/// Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
/// Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
diff --git a/src/library/Telegram.BotAPI/RichMessages/sendRichMessageDraft.cs b/src/library/Telegram.BotAPI/RichMessages/sendRichMessageDraft.cs
index 8bbc073a..c0f07366 100644
--- a/src/library/Telegram.BotAPI/RichMessages/sendRichMessageDraft.cs
+++ b/src/library/Telegram.BotAPI/RichMessages/sendRichMessageDraft.cs
@@ -48,7 +48,7 @@ public static Task SendRichMessageDraftAsync(this ITelegramBotClient clien
/// The instance.
/// Unique identifier for the target private chat
/// Unique identifier of the message draft; must be non-zero. Changes to drafts with the same identifier are animated. Otherwise, the draft is replaced without animation.
- /// The partial message to be streamed. Direct upload of new files and explicit upload of files by a URL isn't supported.
+ /// The partial message to be streamed. Direct upload of new files and explicit upload of files by a URL aren't supported.
/// Unique identifier for the target message thread
/// Pass True to show the user a button to stop further drafts. The bot will receive an “stopped_message_generation” if the user presses the button.
/// Pass True to keep the draft in the chat when the button is pressed. The draft will still disappear after a short time or if the bot sends a message. To fully preserve the partial draft, the bot should send it as a new message.
@@ -65,7 +65,7 @@ public static bool SendRichMessageDraft(this ITelegramBotClient client, long cha
/// The instance.
/// Unique identifier for the target private chat
/// Unique identifier of the message draft; must be non-zero. Changes to drafts with the same identifier are animated. Otherwise, the draft is replaced without animation.
- /// The partial message to be streamed. Direct upload of new files and explicit upload of files by a URL isn't supported.
+ /// The partial message to be streamed. Direct upload of new files and explicit upload of files by a URL aren't supported.
/// Unique identifier for the target message thread
/// Pass True to show the user a button to stop further drafts. The bot will receive an “stopped_message_generation” if the user presses the button.
/// Pass True to keep the draft in the chat when the button is pressed. The draft will still disappear after a short time or if the bot sends a message. To fully preserve the partial draft, the bot should send it as a new message.
diff --git a/src/library/Telegram.BotAPI/Stickers/Args/SetStickerKeywordsArgs.cs b/src/library/Telegram.BotAPI/Stickers/Args/SetStickerKeywordsArgs.cs
index 11b952ed..27f64f57 100644
--- a/src/library/Telegram.BotAPI/Stickers/Args/SetStickerKeywordsArgs.cs
+++ b/src/library/Telegram.BotAPI/Stickers/Args/SetStickerKeywordsArgs.cs
@@ -25,7 +25,7 @@ public SetStickerKeywordsArgs(string sticker)
public string Sticker { get; set; }
///
- /// A JSON-serialized list of 0-20 search keywords for the sticker with total length of up to 64 characters
+ /// A JSON-serialized list of 0-20 search keywords for the sticker with a total length of up to 64 characters
///
[JsonPropertyName(PropertyNames.Keywords)]
public IEnumerable? Keywords { get; set; }
diff --git a/src/library/Telegram.BotAPI/Stickers/InputSticker.cs b/src/library/Telegram.BotAPI/Stickers/InputSticker.cs
index 3788999c..b6670a61 100644
--- a/src/library/Telegram.BotAPI/Stickers/InputSticker.cs
+++ b/src/library/Telegram.BotAPI/Stickers/InputSticker.cs
@@ -34,7 +34,7 @@ public class InputSticker
public MaskPosition? MaskPosition { get; set; }
///
- /// Optional. List of 0-20 search keywords for the sticker with total length of up to 64 characters. For “regular” and “custom_emoji” stickers only.
+ /// Optional. List of 0-20 search keywords for the sticker with a total length of up to 64 characters. For “regular” and “custom_emoji” stickers only.
///
[JsonPropertyName(PropertyNames.Keywords)]
public IEnumerable? Keywords { get; set; }
diff --git a/src/library/Telegram.BotAPI/Stickers/MaskPosition.cs b/src/library/Telegram.BotAPI/Stickers/MaskPosition.cs
index 108afa9b..74568fbd 100644
--- a/src/library/Telegram.BotAPI/Stickers/MaskPosition.cs
+++ b/src/library/Telegram.BotAPI/Stickers/MaskPosition.cs
@@ -16,7 +16,7 @@ public class MaskPosition
public string Point { get; set; } = null!;
///
- /// Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. For example, choosing -1.0 will place mask just to the left of the default mask position.
+ /// Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. For example, choosing -1.0 will place the mask just to the left of the default mask position.
///
[JsonPropertyName(PropertyNames.XShift)]
public float XShift { get; set; }
diff --git a/src/library/Telegram.BotAPI/Stickers/setStickerKeywords.cs b/src/library/Telegram.BotAPI/Stickers/setStickerKeywords.cs
index a22ef505..5bf7dcb3 100644
--- a/src/library/Telegram.BotAPI/Stickers/setStickerKeywords.cs
+++ b/src/library/Telegram.BotAPI/Stickers/setStickerKeywords.cs
@@ -44,7 +44,7 @@ public static Task SetStickerKeywordsAsync(this ITelegramBotClient client,
///
/// The instance.
/// File identifier of the sticker
- /// A JSON-serialized list of 0-20 search keywords for the sticker with total length of up to 64 characters
+ /// A JSON-serialized list of 0-20 search keywords for the sticker with a total length of up to 64 characters
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
///
@@ -56,7 +56,7 @@ public static bool SetStickerKeywords(this ITelegramBotClient client, string sti
///
/// The instance.
/// File identifier of the sticker
- /// A JSON-serialized list of 0-20 search keywords for the sticker with total length of up to 64 characters
+ /// A JSON-serialized list of 0-20 search keywords for the sticker with a total length of up to 64 characters
/// The cancellation token to cancel operation.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
diff --git a/src/library/Telegram.BotAPI/Telegram.BotAPI.csproj b/src/library/Telegram.BotAPI/Telegram.BotAPI.csproj
index 042024bf..f860568a 100644
--- a/src/library/Telegram.BotAPI/Telegram.BotAPI.csproj
+++ b/src/library/Telegram.BotAPI/Telegram.BotAPI.csproj
@@ -1,7 +1,7 @@
netstandard2.0
- 10.5.0
+ 10.5.1
$(AssemblyName)
Quetzal Rivera
true
@@ -25,11 +25,7 @@
https://github.com/Eptagone/Telegram.BotAPI
Telegram.BotAPI
- Upgrade to Bot API 10.5
- Breaking changes: The order of parameters in several methods has been changed because some
- previously required parameters have become optional. Please review and update your method
- calls.
-
+ Fix type for Id parameter from BotFullInfo class
true
latest-recommended
README.md
diff --git a/src/library/Telegram.BotAPI/TelegramPassport/PassportData.cs b/src/library/Telegram.BotAPI/TelegramPassport/PassportData.cs
index 2240744d..25f144f5 100644
--- a/src/library/Telegram.BotAPI/TelegramPassport/PassportData.cs
+++ b/src/library/Telegram.BotAPI/TelegramPassport/PassportData.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.TelegramPassport;
public class PassportData
{
///
- /// Array with information about documents and other Telegram Passport elements that was shared with the bot
+ /// Array with information shared with the bot about documents and other Telegram Passport elements
///
[JsonPropertyName(PropertyNames.Data)]
public IEnumerable Data { get; set; } = null!;
diff --git a/src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorReverseSide.cs b/src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorReverseSide.cs
index edd9f136..a4d77f1d 100644
--- a/src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorReverseSide.cs
+++ b/src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorReverseSide.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.TelegramPassport;
///
-/// Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes.
+/// Represents an issue with the reverse side of a document. The error is considered resolved when the file with the reverse side of the document changes.
///
public class PassportElementErrorReverseSide : PassportElementError
{
diff --git a/src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorTranslationFiles.cs b/src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorTranslationFiles.cs
index a431f463..81b292cd 100644
--- a/src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorTranslationFiles.cs
+++ b/src/library/Telegram.BotAPI/TelegramPassport/PassportElementError/PassportElementErrorTranslationFiles.cs
@@ -5,7 +5,7 @@
namespace Telegram.BotAPI.TelegramPassport;
///
-/// Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.
+/// Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation changes.
///
public class PassportElementErrorTranslationFiles : PassportElementError
{
diff --git a/src/library/Telegram.BotAPI/TelegramPassport/setPassportDataErrors.cs b/src/library/Telegram.BotAPI/TelegramPassport/setPassportDataErrors.cs
index 65f7accc..c01aaac6 100644
--- a/src/library/Telegram.BotAPI/TelegramPassport/setPassportDataErrors.cs
+++ b/src/library/Telegram.BotAPI/TelegramPassport/setPassportDataErrors.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.TelegramPassport;
public static partial class TelegramPassportExtensions
{
///
- /// Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns True on success.
+ /// Informs a user that some of the Telegram Passport elements they provided contain errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns True on success.
/// Use this if the data submitted by the user doesn't satisfy the standards your service requires for any reason. For example, if a birthday date seems invalid, a submitted document is blurry, a scan shows evidence of tampering, etc. Supply some details in the error message to make sure the user knows how to correct the issues.
///
/// The instance.
@@ -22,7 +22,7 @@ public static bool SetPassportDataErrors(this ITelegramBotClient client, SetPass
client.SetPassportDataErrorsAsync(args).GetAwaiter().GetResult();
///
- /// Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns True on success.
+ /// Informs a user that some of the Telegram Passport elements they provided contain errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns True on success.
/// Use this if the data submitted by the user doesn't satisfy the standards your service requires for any reason. For example, if a birthday date seems invalid, a submitted document is blurry, a scan shows evidence of tampering, etc. Supply some details in the error message to make sure the user knows how to correct the issues.
///
/// The instance.
@@ -42,7 +42,7 @@ public static Task SetPassportDataErrorsAsync(this ITelegramBotClient clie
}
///
- /// Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns True on success.
+ /// Informs a user that some of the Telegram Passport elements they provided contain errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns True on success.
/// Use this if the data submitted by the user doesn't satisfy the standards your service requires for any reason. For example, if a birthday date seems invalid, a submitted document is blurry, a scan shows evidence of tampering, etc. Supply some details in the error message to make sure the user knows how to correct the issues.
///
/// The instance.
@@ -55,7 +55,7 @@ public static bool SetPassportDataErrors(this ITelegramBotClient client, long us
client.SetPassportDataErrorsAsync(userId, errors).GetAwaiter().GetResult();
///
- /// Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns True on success.
+ /// Informs a user that some of the Telegram Passport elements they provided contain errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns True on success.
/// Use this if the data submitted by the user doesn't satisfy the standards your service requires for any reason. For example, if a birthday date seems invalid, a submitted document is blurry, a scan shows evidence of tampering, etc. Supply some details in the error message to make sure the user knows how to correct the issues.
///
/// The instance.
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditEphemeralMessageCaptionArgs.cs b/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditEphemeralMessageCaptionArgs.cs
index 55a745e8..e06794e7 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditEphemeralMessageCaptionArgs.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditEphemeralMessageCaptionArgs.cs
@@ -74,7 +74,7 @@ public EditEphemeralMessageCaptionArgs(string chatId, long receiverUserId, int e
public IEnumerable? CaptionEntities { get; set; }
///
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, photo and video messages.
///
[JsonPropertyName(PropertyNames.ShowCaptionAboveMedia)]
public bool? ShowCaptionAboveMedia { get; set; }
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageCaptionArgs.cs b/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageCaptionArgs.cs
index 64ecd018..5260b209 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageCaptionArgs.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageCaptionArgs.cs
@@ -54,7 +54,7 @@ public class EditMessageCaptionArgs
public IEnumerable? CaptionEntities { get; set; }
///
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, paid media, photo, video and widget messages.
///
[JsonPropertyName(PropertyNames.ShowCaptionAboveMedia)]
public bool? ShowCaptionAboveMedia { get; set; }
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageChecklistArgs.cs b/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageChecklistArgs.cs
index 130c85bc..d38d5c63 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageChecklistArgs.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageChecklistArgs.cs
@@ -14,7 +14,7 @@ public class EditMessageChecklistArgs
///
/// Initializes a new instance of the class.
///
- /// Unique identifier of the business connection on behalf of which the message will be sent
+ /// Unique identifier of the business connection on behalf of which the message to be edited was sent
/// Unique identifier for the target chat or username of the target bot in the format @username
/// Unique identifier for the target message
/// A JSON-serialized object for the new checklist
@@ -29,7 +29,7 @@ public EditMessageChecklistArgs(string businessConnectionId, long chatId, int me
///
/// Initializes a new instance of the class.
///
- /// Unique identifier of the business connection on behalf of which the message will be sent
+ /// Unique identifier of the business connection on behalf of which the message to be edited was sent
/// Unique identifier for the target chat or username of the target bot in the format @username
/// Unique identifier for the target message
/// A JSON-serialized object for the new checklist
@@ -42,7 +42,7 @@ public EditMessageChecklistArgs(string businessConnectionId, string chatId, int
}
///
- /// Unique identifier of the business connection on behalf of which the message will be sent
+ /// Unique identifier of the business connection on behalf of which the message to be edited was sent
///
[JsonPropertyName(PropertyNames.BusinessConnectionId)]
public string BusinessConnectionId { get; set; }
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageTextArgs.cs b/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageTextArgs.cs
index e239efa9..01b09e0e 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageTextArgs.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/Args/EditMessageTextArgs.cs
@@ -61,7 +61,7 @@ public class EditMessageTextArgs : AttachedFilesArgsBase
public LinkPreviewOptions? LinkPreviewOptions { get; set; }
///
- /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL isn't supported when an inline message is edited.
+ /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL aren't supported when an inline message is edited.
///
[JsonPropertyName(PropertyNames.RichMessage)]
public InputRichMessage? RichMessage { get; set; }
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/approveSuggestedPost.cs b/src/library/Telegram.BotAPI/UpdatingMessages/approveSuggestedPost.cs
index c6946cf7..ddcc4d53 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/approveSuggestedPost.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/approveSuggestedPost.cs
@@ -15,7 +15,7 @@ public static partial class UpdatingMessagesExtensions
/// The instance.
/// Unique identifier for the target direct messages chat
/// Identifier of a suggested post message to approve
- /// Point in time (Unix timestamp) when the post is expected to be published; omit if the date has already been specified when the suggested post was created. If specified, then the date must be not more than 2678400 seconds (30 days) in the future.
+ /// Point in time (Unix timestamp) when the post is expected to be published; omit if the date has already been specified when the suggested post was created. If specified, then the date must not be more than 2678400 seconds (30 days) in the future.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
///
@@ -28,7 +28,7 @@ public static bool ApproveSuggestedPost(this ITelegramBotClient client, long cha
/// The instance.
/// Unique identifier for the target direct messages chat
/// Identifier of a suggested post message to approve
- /// Point in time (Unix timestamp) when the post is expected to be published; omit if the date has already been specified when the suggested post was created. If specified, then the date must be not more than 2678400 seconds (30 days) in the future.
+ /// Point in time (Unix timestamp) when the post is expected to be published; omit if the date has already been specified when the suggested post was created. If specified, then the date must not be more than 2678400 seconds (30 days) in the future.
/// The cancellation token to cancel operation.
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/deleteMessage.cs b/src/library/Telegram.BotAPI/UpdatingMessages/deleteMessage.cs
index 0a26c9ff..d0a943cf 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/deleteMessage.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/deleteMessage.cs
@@ -10,7 +10,7 @@ namespace Telegram.BotAPI.UpdatingMessages;
public static partial class UpdatingMessagesExtensions
{
///
- /// Use this method to delete a message, including service messages, with the following limitations:
- A message can only be deleted if it was sent less than 48 hours ago.
- Service messages about a supergroup, channel, or forum topic creation can't be deleted.
- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.
- Bots can delete outgoing messages in private chats, groups, and supergroups.
- Bots can delete incoming messages in private chats.
- Bots granted can_post_messages permissions can delete outgoing messages in channels.
- If the bot is an administrator of a group, it can delete any message there.
- If the bot has can_delete_messages administrator right in a supergroup or a channel, it can delete any message there.
- If the bot has can_manage_direct_messages administrator right in a channel, it can delete any message in the corresponding direct messages chat.
Returns True on success.
+ /// Use this method to delete a message, including service messages, with the following limitations:
- A message can only be deleted if it was sent less than 48 hours ago.
- Service messages about a supergroup, channel, or forum topic creation can't be deleted.
- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.
- Bots can delete outgoing messages in private chats, groups, and supergroups.
- Bots can delete incoming messages in private chats.
- Bots granted can_post_messages permissions can delete outgoing messages in channels.
- If the bot is an administrator of a group, it can delete any message there.
- If the bot has the can_delete_messages administrator right in a supergroup or a channel, it can delete any message there.
- If the bot has the can_manage_direct_messages administrator right in a channel, it can delete any message in the corresponding direct messages chat.
Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
@@ -22,7 +22,7 @@ public static bool DeleteMessage(this ITelegramBotClient client, long chatId, in
client.DeleteMessageAsync(chatId, messageId).GetAwaiter().GetResult();
///
- /// Use this method to delete a message, including service messages, with the following limitations:
- A message can only be deleted if it was sent less than 48 hours ago.
- Service messages about a supergroup, channel, or forum topic creation can't be deleted.
- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.
- Bots can delete outgoing messages in private chats, groups, and supergroups.
- Bots can delete incoming messages in private chats.
- Bots granted can_post_messages permissions can delete outgoing messages in channels.
- If the bot is an administrator of a group, it can delete any message there.
- If the bot has can_delete_messages administrator right in a supergroup or a channel, it can delete any message there.
- If the bot has can_manage_direct_messages administrator right in a channel, it can delete any message in the corresponding direct messages chat.
Returns True on success.
+ /// Use this method to delete a message, including service messages, with the following limitations:
- A message can only be deleted if it was sent less than 48 hours ago.
- Service messages about a supergroup, channel, or forum topic creation can't be deleted.
- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.
- Bots can delete outgoing messages in private chats, groups, and supergroups.
- Bots can delete incoming messages in private chats.
- Bots granted can_post_messages permissions can delete outgoing messages in channels.
- If the bot is an administrator of a group, it can delete any message there.
- If the bot has the can_delete_messages administrator right in a supergroup or a channel, it can delete any message there.
- If the bot has the can_manage_direct_messages administrator right in a channel, it can delete any message in the corresponding direct messages chat.
Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
@@ -48,7 +48,7 @@ public static Task DeleteMessageAsync(this ITelegramBotClient client, long
}
///
- /// Use this method to delete a message, including service messages, with the following limitations:
- A message can only be deleted if it was sent less than 48 hours ago.
- Service messages about a supergroup, channel, or forum topic creation can't be deleted.
- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.
- Bots can delete outgoing messages in private chats, groups, and supergroups.
- Bots can delete incoming messages in private chats.
- Bots granted can_post_messages permissions can delete outgoing messages in channels.
- If the bot is an administrator of a group, it can delete any message there.
- If the bot has can_delete_messages administrator right in a supergroup or a channel, it can delete any message there.
- If the bot has can_manage_direct_messages administrator right in a channel, it can delete any message in the corresponding direct messages chat.
Returns True on success.
+ /// Use this method to delete a message, including service messages, with the following limitations:
- A message can only be deleted if it was sent less than 48 hours ago.
- Service messages about a supergroup, channel, or forum topic creation can't be deleted.
- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.
- Bots can delete outgoing messages in private chats, groups, and supergroups.
- Bots can delete incoming messages in private chats.
- Bots granted can_post_messages permissions can delete outgoing messages in channels.
- If the bot is an administrator of a group, it can delete any message there.
- If the bot has the can_delete_messages administrator right in a supergroup or a channel, it can delete any message there.
- If the bot has the can_manage_direct_messages administrator right in a channel, it can delete any message in the corresponding direct messages chat.
Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
@@ -60,7 +60,7 @@ public static bool DeleteMessage(this ITelegramBotClient client, string chatId,
client.DeleteMessageAsync(chatId, messageId).GetAwaiter().GetResult();
///
- /// Use this method to delete a message, including service messages, with the following limitations:
- A message can only be deleted if it was sent less than 48 hours ago.
- Service messages about a supergroup, channel, or forum topic creation can't be deleted.
- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.
- Bots can delete outgoing messages in private chats, groups, and supergroups.
- Bots can delete incoming messages in private chats.
- Bots granted can_post_messages permissions can delete outgoing messages in channels.
- If the bot is an administrator of a group, it can delete any message there.
- If the bot has can_delete_messages administrator right in a supergroup or a channel, it can delete any message there.
- If the bot has can_manage_direct_messages administrator right in a channel, it can delete any message in the corresponding direct messages chat.
Returns True on success.
+ /// Use this method to delete a message, including service messages, with the following limitations:
- A message can only be deleted if it was sent less than 48 hours ago.
- Service messages about a supergroup, channel, or forum topic creation can't be deleted.
- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.
- Bots can delete outgoing messages in private chats, groups, and supergroups.
- Bots can delete incoming messages in private chats.
- Bots granted can_post_messages permissions can delete outgoing messages in channels.
- If the bot is an administrator of a group, it can delete any message there.
- If the bot has the can_delete_messages administrator right in a supergroup or a channel, it can delete any message there.
- If the bot has the can_manage_direct_messages administrator right in a channel, it can delete any message in the corresponding direct messages chat.
Returns True on success.
///
/// The instance.
/// Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/editEphemeralMessageCaption.cs b/src/library/Telegram.BotAPI/UpdatingMessages/editEphemeralMessageCaption.cs
index 1af187ed..2cba7a79 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/editEphemeralMessageCaption.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/editEphemeralMessageCaption.cs
@@ -51,7 +51,7 @@ public static Task EditEphemeralMessageCaptionAsync(this ITelegramBotClien
/// New caption of the message, 0-1024 characters after entities parsing
/// Mode for parsing entities in the message caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, photo and video messages.
/// A JSON-serialized object for an inline keyboard
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -69,7 +69,7 @@ public static bool EditEphemeralMessageCaption(this ITelegramBotClient client, l
/// New caption of the message, 0-1024 characters after entities parsing
/// Mode for parsing entities in the message caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, photo and video messages.
/// A JSON-serialized object for an inline keyboard
/// The cancellation token to cancel operation.
/// Thrown if is null.
@@ -122,7 +122,7 @@ public static Task EditEphemeralMessageCaptionAsync(this ITelegramBotClien
/// New caption of the message, 0-1024 characters after entities parsing
/// Mode for parsing entities in the message caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, photo and video messages.
/// A JSON-serialized object for an inline keyboard
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -140,7 +140,7 @@ public static bool EditEphemeralMessageCaption(this ITelegramBotClient client, s
/// New caption of the message, 0-1024 characters after entities parsing
/// Mode for parsing entities in the message caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, photo and video messages.
/// A JSON-serialized object for an inline keyboard
/// The cancellation token to cancel operation.
/// Thrown if is null.
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageCaption.cs b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageCaption.cs
index 8dc78094..034a75bb 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageCaption.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageCaption.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.UpdatingMessages;
public static partial class UpdatingMessagesExtensions
{
///
- /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// The arguments for the "EditMessageCaption" method.
@@ -23,7 +23,7 @@ public static TResult EditMessageCaption(this ITelegramBotClient client
client.EditMessageCaptionAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// The arguments for the "EditMessageCaption" method.
@@ -42,7 +42,7 @@ public static Task EditMessageCaptionAsync(this ITelegramBotCl
}
///
- /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -51,7 +51,7 @@ public static Task EditMessageCaptionAsync(this ITelegramBotCl
/// New caption of the message, 0-1024 characters after entities parsing
/// Mode for parsing entities in the message caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, paid media, photo, video and widget messages.
/// A JSON-serialized object for an inline keyboard
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -60,7 +60,7 @@ public static Message EditMessageCaption(this ITelegramBotClient client, long ch
client.EditMessageCaptionAsync(chatId, messageId, businessConnectionId, caption, parseMode, captionEntities, showCaptionAboveMedia, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -69,7 +69,7 @@ public static Message EditMessageCaption(this ITelegramBotClient client, long ch
/// New caption of the message, 0-1024 characters after entities parsing
/// Mode for parsing entities in the message caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, paid media, photo, video and widget messages.
/// A JSON-serialized object for an inline keyboard
/// The cancellation token to cancel operation.
/// Thrown if is null.
@@ -116,7 +116,7 @@ public static Task EditMessageCaptionAsync(this ITelegramBotClient clie
}
///
- /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -125,7 +125,7 @@ public static Task EditMessageCaptionAsync(this ITelegramBotClient clie
/// New caption of the message, 0-1024 characters after entities parsing
/// Mode for parsing entities in the message caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, paid media, photo, video and widget messages.
/// A JSON-serialized object for an inline keyboard
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -134,7 +134,7 @@ public static Message EditMessageCaption(this ITelegramBotClient client, string
client.EditMessageCaptionAsync(chatId, messageId, businessConnectionId, caption, parseMode, captionEntities, showCaptionAboveMedia, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -143,7 +143,7 @@ public static Message EditMessageCaption(this ITelegramBotClient client, string
/// New caption of the message, 0-1024 characters after entities parsing
/// Mode for parsing entities in the message caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, paid media, photo, video and widget messages.
/// A JSON-serialized object for an inline keyboard
/// The cancellation token to cancel operation.
/// Thrown if is null.
@@ -190,7 +190,7 @@ public static Task EditMessageCaptionAsync(this ITelegramBotClient clie
}
///
- /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
@@ -198,7 +198,7 @@ public static Task EditMessageCaptionAsync(this ITelegramBotClient clie
/// New caption of the message, 0-1024 characters after entities parsing
/// Mode for parsing entities in the message caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, paid media, photo, video and widget messages.
/// A JSON-serialized object for an inline keyboard
/// Thrown if is null.
/// Thrown if the request to the Telegram Bot API fails.
@@ -207,7 +207,7 @@ public static bool EditMessageCaption(this ITelegramBotClient client, string inl
client.EditMessageCaptionAsync(inlineMessageId, businessConnectionId, caption, parseMode, captionEntities, showCaptionAboveMedia, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
@@ -215,7 +215,7 @@ public static bool EditMessageCaption(this ITelegramBotClient client, string inl
/// New caption of the message, 0-1024 characters after entities parsing
/// Mode for parsing entities in the message caption. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
- /// Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
+ /// Pass True if the caption must be shown above the message media. Supported only for animation, live photo, paid media, photo, video and widget messages.
/// A JSON-serialized object for an inline keyboard
/// The cancellation token to cancel operation.
/// Thrown if is null.
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageChecklist.cs b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageChecklist.cs
index 58470b39..6c4f86c9 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageChecklist.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageChecklist.cs
@@ -45,7 +45,7 @@ public static Task EditMessageChecklistAsync(this ITelegramBotClient cl
/// Use this method to edit a checklist on behalf of a connected business account. On success, the edited is returned.
///
/// The instance.
- /// Unique identifier of the business connection on behalf of which the message will be sent
+ /// Unique identifier of the business connection on behalf of which the message to be edited was sent
/// Unique identifier for the target chat or username of the target bot in the format @username
/// Unique identifier for the target message
/// A JSON-serialized object for the new checklist
@@ -60,7 +60,7 @@ public static Message EditMessageChecklist(this ITelegramBotClient client, strin
/// Use this method to edit a checklist on behalf of a connected business account. On success, the edited is returned.
///
/// The instance.
- /// Unique identifier of the business connection on behalf of which the message will be sent
+ /// Unique identifier of the business connection on behalf of which the message to be edited was sent
/// Unique identifier for the target chat or username of the target bot in the format @username
/// Unique identifier for the target message
/// A JSON-serialized object for the new checklist
@@ -95,7 +95,7 @@ public static Task EditMessageChecklistAsync(this ITelegramBotClient cl
/// Use this method to edit a checklist on behalf of a connected business account. On success, the edited is returned.
///
/// The instance.
- /// Unique identifier of the business connection on behalf of which the message will be sent
+ /// Unique identifier of the business connection on behalf of which the message to be edited was sent
/// Unique identifier for the target chat or username of the target bot in the format @username
/// Unique identifier for the target message
/// A JSON-serialized object for the new checklist
@@ -110,7 +110,7 @@ public static Message EditMessageChecklist(this ITelegramBotClient client, strin
/// Use this method to edit a checklist on behalf of a connected business account. On success, the edited is returned.
///
/// The instance.
- /// Unique identifier of the business connection on behalf of which the message will be sent
+ /// Unique identifier of the business connection on behalf of which the message to be edited was sent
/// Unique identifier for the target chat or username of the target bot in the format @username
/// Unique identifier for the target message
/// A JSON-serialized object for the new checklist
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageLiveLocation.cs b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageLiveLocation.cs
index 42f2c39c..4d860505 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageLiveLocation.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageLiveLocation.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.UpdatingMessages;
public static partial class UpdatingMessagesExtensions
{
///
- /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// The arguments for the "EditMessageLiveLocation" method.
@@ -23,7 +23,7 @@ public static TResult EditMessageLiveLocation(this ITelegramBotClient c
client.EditMessageLiveLocationAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// The arguments for the "EditMessageLiveLocation" method.
@@ -42,7 +42,7 @@ public static Task EditMessageLiveLocationAsync(this ITelegram
}
///
- /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -62,7 +62,7 @@ public static Message EditMessageLiveLocation(this ITelegramBotClient client, lo
client.EditMessageLiveLocationAsync(chatId, messageId, latitude, longitude, businessConnectionId, livePeriod, horizontalAccuracy, heading, proximityAlertRadius, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -122,7 +122,7 @@ public static Task EditMessageLiveLocationAsync(this ITelegramBotClient
}
///
- /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -142,7 +142,7 @@ public static Message EditMessageLiveLocation(this ITelegramBotClient client, st
client.EditMessageLiveLocationAsync(chatId, messageId, latitude, longitude, businessConnectionId, livePeriod, horizontalAccuracy, heading, proximityAlertRadius, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -202,7 +202,7 @@ public static Task EditMessageLiveLocationAsync(this ITelegramBotClient
}
///
- /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
@@ -221,7 +221,7 @@ public static bool EditMessageLiveLocation(this ITelegramBotClient client, strin
client.EditMessageLiveLocationAsync(inlineMessageId, latitude, longitude, businessConnectionId, livePeriod, horizontalAccuracy, heading, proximityAlertRadius, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageMedia.cs b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageMedia.cs
index c2ca3f74..e5908a63 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageMedia.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageMedia.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.UpdatingMessages;
public static partial class UpdatingMessagesExtensions
{
///
- /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// The arguments for the "EditMessageMedia" method.
@@ -23,7 +23,7 @@ public static TResult EditMessageMedia(this ITelegramBotClient client,
client.EditMessageMediaAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// The arguments for the "EditMessageMedia" method.
@@ -42,7 +42,7 @@ public static Task EditMessageMediaAsync(this ITelegramBotClie
}
///
- /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -57,7 +57,7 @@ public static Message EditMessageMedia(this ITelegramBotClient client, long chat
client.EditMessageMediaAsync(chatId, messageId, media, businessConnectionId, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -95,7 +95,7 @@ public static Task EditMessageMediaAsync(this ITelegramBotClient client
}
///
- /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -110,7 +110,7 @@ public static Message EditMessageMedia(this ITelegramBotClient client, string ch
client.EditMessageMediaAsync(chatId, messageId, media, businessConnectionId, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -148,7 +148,7 @@ public static Task EditMessageMediaAsync(this ITelegramBotClient client
}
///
- /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
@@ -162,7 +162,7 @@ public static bool EditMessageMedia(this ITelegramBotClient client, string inlin
client.EditMessageMediaAsync(inlineMessageId, media, businessConnectionId, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageReplyMarkup.cs b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageReplyMarkup.cs
index be2d8ce5..72de27b0 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageReplyMarkup.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageReplyMarkup.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.UpdatingMessages;
public static partial class UpdatingMessagesExtensions
{
///
- /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// The arguments for the "EditMessageReplyMarkup" method.
@@ -23,7 +23,7 @@ public static TResult EditMessageReplyMarkup(this ITelegramBotClient cl
client.EditMessageReplyMarkupAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// The arguments for the "EditMessageReplyMarkup" method.
@@ -42,7 +42,7 @@ public static Task EditMessageReplyMarkupAsync(this ITelegramB
}
///
- /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -56,7 +56,7 @@ public static Message EditMessageReplyMarkup(this ITelegramBotClient client, lon
client.EditMessageReplyMarkupAsync(chatId, messageId, businessConnectionId, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -92,7 +92,7 @@ public static Task EditMessageReplyMarkupAsync(this ITelegramBotClient
}
///
- /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -106,7 +106,7 @@ public static Message EditMessageReplyMarkup(this ITelegramBotClient client, str
client.EditMessageReplyMarkupAsync(chatId, messageId, businessConnectionId, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -142,7 +142,7 @@ public static Task EditMessageReplyMarkupAsync(this ITelegramBotClient
}
///
- /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
@@ -155,7 +155,7 @@ public static bool EditMessageReplyMarkup(this ITelegramBotClient client, string
client.EditMessageReplyMarkupAsync(inlineMessageId, businessConnectionId, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageText.cs b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageText.cs
index 1a02d404..e41d85ac 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/editMessageText.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/editMessageText.cs
@@ -13,7 +13,7 @@ namespace Telegram.BotAPI.UpdatingMessages;
public static partial class UpdatingMessagesExtensions
{
///
- /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// The arguments for the "EditMessageText" method.
@@ -24,7 +24,7 @@ public static TResult EditMessageText(this ITelegramBotClient client, E
client.EditMessageTextAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// The arguments for the "EditMessageText" method.
@@ -43,7 +43,7 @@ public static Task EditMessageTextAsync(this ITelegramBotClien
}
///
- /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -53,7 +53,7 @@ public static Task EditMessageTextAsync(this ITelegramBotClien
/// Mode for parsing entities in the message text. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode
/// Link preview generation options for the message
- /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL isn't supported when an inline message is edited.
+ /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL aren't supported when an inline message is edited.
/// A JSON-serialized object for an inline keyboard
/// The files to upload.
/// Thrown if is null.
@@ -63,7 +63,7 @@ public static Message EditMessageText(this ITelegramBotClient client, long chatI
client.EditMessageTextAsync(chatId, messageId, businessConnectionId, text, parseMode, entities, linkPreviewOptions, richMessage, replyMarkup, files).GetAwaiter().GetResult();
///
- /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -73,7 +73,7 @@ public static Message EditMessageText(this ITelegramBotClient client, long chatI
/// Mode for parsing entities in the message text. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode
/// Link preview generation options for the message
- /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL isn't supported when an inline message is edited.
+ /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL aren't supported when an inline message is edited.
/// A JSON-serialized object for an inline keyboard
/// The files to upload.
/// The cancellation token to cancel operation.
@@ -132,7 +132,7 @@ public static Task EditMessageTextAsync(this ITelegramBotClient client,
}
///
- /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -142,7 +142,7 @@ public static Task EditMessageTextAsync(this ITelegramBotClient client,
/// Mode for parsing entities in the message text. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode
/// Link preview generation options for the message
- /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL isn't supported when an inline message is edited.
+ /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL aren't supported when an inline message is edited.
/// A JSON-serialized object for an inline keyboard
/// The files to upload.
/// Thrown if is null.
@@ -152,7 +152,7 @@ public static Message EditMessageText(this ITelegramBotClient client, string cha
client.EditMessageTextAsync(chatId, messageId, businessConnectionId, text, parseMode, entities, linkPreviewOptions, richMessage, replyMarkup, files).GetAwaiter().GetResult();
///
- /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -162,7 +162,7 @@ public static Message EditMessageText(this ITelegramBotClient client, string cha
/// Mode for parsing entities in the message text. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode
/// Link preview generation options for the message
- /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL isn't supported when an inline message is edited.
+ /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL aren't supported when an inline message is edited.
/// A JSON-serialized object for an inline keyboard
/// The files to upload.
/// The cancellation token to cancel operation.
@@ -221,7 +221,7 @@ public static Task EditMessageTextAsync(this ITelegramBotClient client,
}
///
- /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
@@ -230,7 +230,7 @@ public static Task EditMessageTextAsync(this ITelegramBotClient client,
/// Mode for parsing entities in the message text. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode
/// Link preview generation options for the message
- /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL isn't supported when an inline message is edited.
+ /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL aren't supported when an inline message is edited.
/// A JSON-serialized object for an inline keyboard
/// The files to upload.
/// Thrown if is null.
@@ -240,7 +240,7 @@ public static bool EditMessageText(this ITelegramBotClient client, string inline
client.EditMessageTextAsync(inlineMessageId, businessConnectionId, text, parseMode, entities, linkPreviewOptions, richMessage, replyMarkup, files).GetAwaiter().GetResult();
///
- /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned, otherwise True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
+ /// Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited is returned; otherwise, True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
@@ -249,7 +249,7 @@ public static bool EditMessageText(this ITelegramBotClient client, string inline
/// Mode for parsing entities in the message text. See formatting options for more details.
/// A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode
/// Link preview generation options for the message
- /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL isn't supported when an inline message is edited.
+ /// New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL aren't supported when an inline message is edited.
/// A JSON-serialized object for an inline keyboard
/// The files to upload.
/// The cancellation token to cancel operation.
diff --git a/src/library/Telegram.BotAPI/UpdatingMessages/stopMessageLiveLocation.cs b/src/library/Telegram.BotAPI/UpdatingMessages/stopMessageLiveLocation.cs
index 73da2469..87b738d7 100644
--- a/src/library/Telegram.BotAPI/UpdatingMessages/stopMessageLiveLocation.cs
+++ b/src/library/Telegram.BotAPI/UpdatingMessages/stopMessageLiveLocation.cs
@@ -12,7 +12,7 @@ namespace Telegram.BotAPI.UpdatingMessages;
public static partial class UpdatingMessagesExtensions
{
///
- /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// The arguments for the "StopMessageLiveLocation" method.
@@ -23,7 +23,7 @@ public static TResult StopMessageLiveLocation(this ITelegramBotClient c
client.StopMessageLiveLocationAsync(args).GetAwaiter().GetResult();
///
- /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// The arguments for the "StopMessageLiveLocation" method.
@@ -42,7 +42,7 @@ public static Task StopMessageLiveLocationAsync(this ITelegram
}
///
- /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -56,7 +56,7 @@ public static Message StopMessageLiveLocation(this ITelegramBotClient client, lo
client.StopMessageLiveLocationAsync(chatId, messageId, businessConnectionId, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -92,7 +92,7 @@ public static Task StopMessageLiveLocationAsync(this ITelegramBotClient
}
///
- /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -106,7 +106,7 @@ public static Message StopMessageLiveLocation(this ITelegramBotClient client, st
client.StopMessageLiveLocationAsync(chatId, messageId, businessConnectionId, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
@@ -142,7 +142,7 @@ public static Task StopMessageLiveLocationAsync(this ITelegramBotClient
}
///
- /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
@@ -155,7 +155,7 @@ public static bool StopMessageLiveLocation(this ITelegramBotClient client, strin
client.StopMessageLiveLocationAsync(inlineMessageId, businessConnectionId, replyMarkup).GetAwaiter().GetResult();
///
- /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned, otherwise True is returned.
+ /// Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited is returned; otherwise, True is returned.
///
/// The instance.
/// Required if chat_id and message_id are not specified. Identifier of the inline message.
diff --git a/tools/mapper.cs b/tools/mapper.cs
index b2e8a577..04d4fa52 100644
--- a/tools/mapper.cs
+++ b/tools/mapper.cs
@@ -801,7 +801,11 @@ static string AdjustTypeName(string type, string? propName = null, string? paren
}
else if (propName == "id" && parentName != null)
{
- if (parentName == "Chat" || parentName == "User")
+ if (
+ parentName == "Chat"
+ || parentName == "User"
+ || parentName == "BotFullInfo"
+ )
{
return "long";
}