mirror of
https://github.com/vknet/vk.git
synced 2026-07-10 00:18:28 +00:00
41 lines
No EOL
743 B
C#
41 lines
No EOL
743 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace VkNet.Model;
|
|
|
|
/// <summary>
|
|
/// API SmsNotification object.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class SmsNotification
|
|
{
|
|
/// <summary>
|
|
/// User ID
|
|
/// </summary>
|
|
[JsonProperty("user_id")]
|
|
public int? UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Date when message has been sent in Unixtime
|
|
/// </summary>
|
|
[JsonProperty("date")]
|
|
public int? Date { get; set; }
|
|
|
|
/// <summary>
|
|
/// Application ID
|
|
/// </summary>
|
|
[JsonProperty("app_id")]
|
|
public int? AppId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Notification ID
|
|
/// </summary>
|
|
[JsonProperty("id")]
|
|
public int? Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Messsage text
|
|
/// </summary>
|
|
[JsonProperty("message")]
|
|
public string Message { get; set; }
|
|
} |