mirror of
https://github.com/vknet/vk.git
synced 2026-07-22 06:13:28 +00:00
31 lines
No EOL
948 B
C#
31 lines
No EOL
948 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace VkNet.Model;
|
|
|
|
/// <summary>
|
|
/// Беседа настройки Push-уведомлений.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class ConversationPushSettings
|
|
{
|
|
/// <summary>
|
|
/// timestamp, до которого оповещения отключены;
|
|
/// </summary>
|
|
[JsonProperty("disable_until")]
|
|
[JsonConverter(typeof(UnixDateTimeConverter))]
|
|
public DateTime DisableUntil { get; set; }
|
|
|
|
/// <summary>
|
|
/// Передается в случае, если оповещения отключены навсегда, содержит true;
|
|
/// </summary>
|
|
[JsonProperty("disabled_forever")]
|
|
public bool? DisabledForever { get; set; }
|
|
|
|
/// <summary>
|
|
/// Передается в случае, если отключен звук оповещений, содержит true.
|
|
/// </summary>
|
|
[JsonProperty("no_sound")]
|
|
public bool? NoSound { get; set; }
|
|
} |