mirror of
https://github.com/vknet/vk.git
synced 2026-07-10 08:28:25 +00:00
30 lines
No EOL
636 B
C#
30 lines
No EOL
636 B
C#
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; }
|
||
} |