vknet_vk/VkNet/Model/Hint.cs
smtyper 30fa04569f
1501 api store (#1623)
#1501
у метода store.getProducts явно устарела документация, так что делал
опираясь в первую очередь на то, что приходит в реальности, а не то, что
описано в документации

---------

Co-authored-by: inyutin-maxim <inyutin_maxim@mail.ru>
2024-11-16 12:48:02 +03:00

30 lines
No EOL
951 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 System.Collections.Generic;
using Newtonsoft.Json;
namespace VkNet.Model;
/// <summary>
/// Подсказки
/// </summary>
[Serializable]
public class Hint
{
/// <summary>
/// Коллекция строк, содержащих слова и (или) Emoji соответствующие стикерам из поля UserStickers
/// </summary>
[JsonProperty("words")]
public List<string> Words { get; set; }
/// <summary>
/// Стикеры, которые установлены у пользователя
/// </summary>
[JsonProperty("user_stickers")]
public List<Sticker> UserStickers { get; set; }
/// <summary>
/// Cтикеры, которым соответствуют ключевые слова words, но наборы с ними у пользователя не установлены
/// </summary>
[JsonProperty("promoted_stickers")]
public List<Sticker> PromotedStickers { get; set; }
}