vknet_vk/VkNet/Model/GroupUpdate/GroupUpdate.cs
2023-07-18 22:43:57 +03:00

40 lines
No EOL
905 B
C#

using System;
using Newtonsoft.Json;
using VkNet.Utils;
using VkNet.Utils.JsonConverter;
namespace VkNet.Model;
/// <summary>
/// Обновление группы
/// </summary>
[Serializable]
[JsonConverter(typeof(GroupUpdateJsonConverter))]
public class GroupUpdate
{
/// <summary>
/// Экземпляр самого обновления группы.
/// </summary>
public IGroupUpdate Instance { get; set; }
/// <summary>
/// Тип обновления
/// </summary>
public UpdateType Type { get; set; }
/// <summary>
/// ID группы
/// </summary>
[JsonProperty("group_id")]
public GroupId GroupId { get; set; }
/// <summary>
/// <c>Secret Key</c> для Callback
/// </summary>
public Secret Secret { get; set; }
/// <summary>
/// Необработанные данные
/// </summary>
public VkResponse Raw { get; set; }
}