vknet_vk/VkNet/Model/Attachments/Gift.cs
Timofei Jääger e643c95d94
Предупреждения Qodana (#1530)
* Update azure-pipelines.yml

* Предупреждения Qodana

* Удаляет неиспользуемый токен отмены

* Предупреждения Qodana

* Предупреждения Qodana

* Предупреждения Qodana latest revert

* Добавляет Template в объект Message

* Возвращает токен отмены
2023-06-27 00:30:17 +03:00

32 lines
No EOL
626 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 System;
using Newtonsoft.Json;
namespace VkNet.Model;
/// <summary>
/// Подарок.
/// </summary>
[Serializable]
public class Gift : MediaAttachment
{
/// <inheritdoc />
protected override string Alias => "gift";
/// <summary>
/// Изображение 48х48.
/// </summary>
[JsonProperty("thumb_48")]
public Uri Thumb48 { get; set; }
/// <summary>
/// Изображение 96х96.
/// </summary>
[JsonProperty("thumb_96")]
public Uri Thumb96 { get; set; }
/// <summary>
/// Изображение 256х256.
/// </summary>
[JsonProperty("thumb_256")]
public Uri Thumb256 { get; set; }
}