mirror of
https://github.com/vknet/vk.git
synced 2026-07-10 16:38:26 +00:00
* Update azure-pipelines.yml * Предупреждения Qodana * Удаляет неиспользуемый токен отмены * Предупреждения Qodana * Предупреждения Qodana * Предупреждения Qodana latest revert * Добавляет Template в объект Message * Возвращает токен отмены
37 lines
No EOL
1,022 B
C#
37 lines
No EOL
1,022 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
using VkNet.Enums.SafetyEnums;
|
|
|
|
namespace VkNet.Model;
|
|
|
|
/// <summary>
|
|
/// Notes Add Params
|
|
/// </summary>
|
|
[Serializable]
|
|
public class NotesAddParams
|
|
{
|
|
/// <summary>
|
|
/// Заголовок заметки.
|
|
/// </summary>
|
|
[JsonProperty(propertyName: "title")]
|
|
public string Title { get; set; }
|
|
|
|
/// <summary>
|
|
/// Текст заметки.
|
|
/// </summary>
|
|
[JsonProperty(propertyName: "text")]
|
|
public string Text { get; set; }
|
|
|
|
/// <summary>
|
|
/// Настройки приватности просмотра заметки в специальном формате.
|
|
/// </summary>
|
|
[JsonProperty(propertyName: "privacy_view")]
|
|
public List<Privacy> PrivacyView { get; set; }
|
|
|
|
/// <summary>
|
|
/// Настройки приватности комментирования заметки в специальном формате.
|
|
/// </summary>
|
|
[JsonProperty(propertyName: "privacy_comment")]
|
|
public List<Privacy> PrivacyComment { get; set; }
|
|
} |