mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
Fix naming for models properties (Use JsonProperty instead) Move models to separate folder Rename models Remove unused references in Program.cs Use string instead of String
20 lines
444 B
C#
20 lines
444 B
C#
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace TeleSharp.Generator.Models
|
|
{
|
|
internal class TlMethod
|
|
{
|
|
[JsonProperty("id")]
|
|
public int Id { get; set; }
|
|
|
|
[JsonProperty("method")]
|
|
public string Method { get; set; }
|
|
|
|
[JsonProperty("params")]
|
|
public List<TlParam> Params { get; set; }
|
|
|
|
[JsonProperty("type")]
|
|
public string Type { get; set; }
|
|
}
|
|
} |