vknet_vk/VkNet/Enums/StringEnums/CommentsSort.cs
2023-08-14 14:44:05 +03:00

22 lines
No EOL
574 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 Newtonsoft.Json;
using VkNet.Utils.JsonConverter;
namespace VkNet.Enums.StringEnums;
/// <summary>
/// Порядок сортировки комментариев к записи.
/// </summary>
[StringEnum]
[JsonConverter(typeof(TolerantStringEnumConverter))]
public enum CommentsSort
{
/// <summary>
/// В хронологическом порядке (от старых к новым).
/// </summary>
Asc,
/// <summary>
/// В порядке, обратном хронологическому (от новых к старым).
/// </summary>
Desc
}