diff --git a/VkNet/Model/RequestParams/Messages/MessagesSendParams.cs b/VkNet/Model/RequestParams/Messages/MessagesSendParams.cs index 601a4901c..929eb1404 100644 --- a/VkNet/Model/RequestParams/Messages/MessagesSendParams.cs +++ b/VkNet/Model/RequestParams/Messages/MessagesSendParams.cs @@ -132,6 +132,12 @@ public class MessagesSendParams [JsonProperty("captcha_key")] [Obsolete(ObsoleteText.CaptchaNeeded)] public string CaptchaKey { get; set; } + + /// + /// 1 - отключить уведомление об упоминании в сообщении, может принимать значения 1 или 0, по умолчанию + /// + [JsonProperty("disable_mentions")] + public bool DisableMentions { get; set; } /// /// Привести к типу VkParameters. @@ -159,8 +165,9 @@ public static VkParameters ToVkParameters(MessagesSendParams p) { "peer_id", p.PeerId }, { "payload", p.Payload }, { "group_id", p.GroupId }, - { "dont_parse_links", p.DontParseLinks } + { "dont_parse_links", p.DontParseLinks }, + { "disable_mentions", p.DisableMentions } }; } } -} \ No newline at end of file +}