mirror of
https://github.com/vknet/vk.git
synced 2026-07-12 01:18:27 +00:00
40 lines
No EOL
905 B
C#
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; }
|
|
} |