Skip to content

Commit

Permalink
New MessageAction enum value
Browse files Browse the repository at this point in the history
Fix:
#1615
  • Loading branch information
Shark-vil committed Apr 16, 2024
1 parent 179020d commit 4eea89c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions VkNet/Enums/StringEnums/MessageAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ namespace VkNet.Enums.StringEnums;
[JsonConverter(typeof(TolerantStringEnumConverter))]
public enum MessageAction
{
/// <summary>
/// Произвольное событие;
/// </summary>
Custom,

/// <summary>
/// Обновлена фотография беседы;
/// </summary>
Expand Down
6 changes: 6 additions & 0 deletions VkNet/Model/MessageActionObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,10 @@ public class MessageActionObject
/// </summary>
[JsonProperty("photo")]
public Photo Photo { get; set; }

/// <summary>
/// Наименование нового стиля чата
/// </summary>
[JsonProperty("style")]
public string? Style { get; set; }
}

0 comments on commit 4eea89c

Please sign in to comment.