vknet_vk/VkNet/Model/Group/GroupMember.cs
Tartilla-TAIGO 5454ae3b55
Merge pull request #1644
* update from vk.com to vk.ru

* add Microsoft.Extensions.Logging

* Исправляет сборку

* Исправляет сборку

* Обновляет пакеты

* Переводит тесты на AwesomeAssertions

* Устанавливает Reo.Core.Analyzers из nuget

* Удаляет явную ссылку на Reo.Core.Analyzers из VkNet.csproj
2025-09-08 22:08:03 +03:00

42 lines
No EOL
1.2 KiB
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;
namespace VkNet.Model;
/// <summary>
/// Информация о участнике сообщества (группы).
/// См. описание http://vk.ru/dev/fields_groups
/// </summary>
[Serializable]
public class GroupMember
{
#region Стандартные поля
/// <summary>
/// Идентификатор пользователя ВК.
/// </summary>
[JsonProperty("user_id")]
public ulong? UserId { get; set; }
/// <summary>
/// Является ли пользователь участником сообщества;
/// </summary>
[JsonProperty("member")]
public bool Member { get; set; }
/// <summary>
/// Есть ли непринятая заявка от пользователя на вступление в группу (такую заявку
/// можно отозвать методом
/// groups.leave).
/// </summary>
[JsonProperty("request")]
public bool? Request { get; set; }
/// <summary>
/// Приглашён ли пользователь в группу или встречу.
/// </summary>
[JsonProperty("invitation")]
public bool? Invitation { get; set; }
#endregion
}