using System;
using Newtonsoft.Json;
using xCommons.Extensions;
using System.Collections.Generic;
namespace xBotService.Models
{
///
/// Represent XBot Response User ...
///
public class XBotResUser
{
[JsonProperty("id",
NullValueHandling = NullValueHandling.Ignore)]
public long Id { get; set; }
[JsonProperty("is_bot",
NullValueHandling = NullValueHandling.Ignore)]
public bool IsBot { get; set; }
[JsonProperty("last_name",
NullValueHandling = NullValueHandling.Ignore)]
public string LastName { get; set; }
[JsonProperty("username",
NullValueHandling = NullValueHandling.Ignore)]
public string Username { get; set; }
[JsonProperty("first_name",
NullValueHandling = NullValueHandling.Ignore)]
public string FirstName { get; set; }
[JsonProperty("language_code",
NullValueHandling = NullValueHandling.Ignore)]
public string LanguageCode { get; set; }
[JsonProperty("has_main_web_app",
NullValueHandling = NullValueHandling.Ignore)]
public string HasMainWebApp { get; set; }
[JsonProperty("has_topics_enabled",
NullValueHandling = NullValueHandling.Ignore)]
public bool HasTopicsEnabled { get; set; }
[JsonProperty("allows_users_to_create_topics",
NullValueHandling = NullValueHandling.Ignore)]
public bool AllowsUsersToCreateTopics { get; set; }
}
///
/// Base Bot Response ...
///
public class XBotResponse : XBotResponse