vknet_vk/VkNet/Model/Peer.cs
Timofei Jääger e4862c0e96
Пометил StringEnums nullable #1556 (#1577)
Co-authored-by: inyutin-maxim <inyutin_maxim@mail.ru>
2023-08-28 17:13:16 +03:00

30 lines
No EOL
636 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using Newtonsoft.Json;
using VkNet.Enums.StringEnums;
namespace VkNet.Model;
/// <summary>
/// Информация о собеседнике.
/// </summary>
[Serializable]
public class Peer
{
/// <summary>
/// Идентификатор назначения.
/// </summary>
[JsonProperty("id")]
public long Id { get; set; }
/// <summary>
/// Тип.
/// </summary>
[JsonProperty("type")]
public ConversationPeerType? Type { get; set; }
/// <summary>
/// Локальный идентификатор назначения.
/// </summary>
[JsonProperty("local_id")]
public long LocalId { get; set; }
}