diff --git a/.azure-pipelines/variables.yml b/.azure-pipelines/variables.yml index dd6628f4e..c9f4ddad9 100644 --- a/.azure-pipelines/variables.yml +++ b/.azure-pipelines/variables.yml @@ -1,7 +1,7 @@ variables: - group: Integration Tests Variables - name: versionPrefix - value: 21.6.1 + value: 21.6.2 - name: versionSuffix value: '' - name: ciVersionSuffix diff --git a/src/Telegram.Bot/Extend.Types.cs b/src/Telegram.Bot/Extend.Types.cs index 59079c8b0..655273e03 100644 --- a/src/Telegram.Bot/Extend.Types.cs +++ b/src/Telegram.Bot/Extend.Types.cs @@ -96,8 +96,8 @@ public partial class ReplyParameters { /// Implicit operator when you just want to reply to a message in same chat public static implicit operator ReplyParameters(int replyToMessageId) => new() { MessageId = replyToMessageId }; - /// Implicit operator when you just want to reply to a message in same chat - public static implicit operator ReplyParameters(Message msg) => new() { MessageId = msg.MessageId }; + /// Implicit operator when you just want to reply to a message + public static implicit operator ReplyParameters(Message msg) => new() { MessageId = msg.MessageId, ChatId = msg.Chat.Id }; } public partial class MessageId