• 大小: 622KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-28
  • 语言: C#
  • 标签: 开源  

资源简介

TLSharp, 在 C# 中,电报客户端库 TLSharp 非官方 Telegram ( http://telegram.org ) 客户端库在 C# 中实现。 支持最新的TL方案,感谢 Afshin Arani对于任何希望直接向电报用户发送数据或者编写自己的自定

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Schema;
namespace TeleSharp.Generator
{
    class Method
    {
        public int id { get; set; }
        public string method { get; set; }
        [Newtonsoft.Json.JsonProperty(“params“)]
        public List Params { get; set; }
        public string type { get; set; }

    }
    class Param
    {
        public string name { get; set; }
        public string type { get; set; }
    }
    class Constructor
    {
        public int id { get; set; }
        public string predicate { get; set; }
        [Newtonsoft.Json.JsonProperty(“params“)]
        public List Params { get; set; }
        public string type { get; set; }
    }
    class Schema
    {
        public List constructors { get; set; }
        public List methods { get; set; }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-10-05 04:41  TLSharp-master\
     文件        3639  2019-10-05 04:41  TLSharp-master\.gitignore
     文件       10797  2019-10-05 04:41  TLSharp-master\README.md
     目录           0  2019-10-05 04:41  TLSharp-master\TLSharp.Core\
     目录           0  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Auth\
     文件        1191  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Auth\Authenticator.cs
     文件        3153  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Auth\Step1_PQRequest.cs
     文件        5235  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Auth\Step2_DHExchange.cs
     文件        8522  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Auth\Step3_CompleteDHExchange.cs
     文件         510  2019-10-05 04:41  TLSharp-master\TLSharp.Core\DataCenter.cs
     目录           0  2019-10-05 04:41  TLSharp-master\TLSharp.Core\MTProto\
     目录           0  2019-10-05 04:41  TLSharp-master\TLSharp.Core\MTProto\Crypto\
     文件       34353  2019-10-05 04:41  TLSharp-master\TLSharp.Core\MTProto\Crypto\AES.cs
     文件        2647  2019-10-05 04:41  TLSharp-master\TLSharp.Core\MTProto\Crypto\AuthKey.cs
     文件       91706  2019-10-05 04:41  TLSharp-master\TLSharp.Core\MTProto\Crypto\BigInteger.cs
     文件        3496  2019-10-05 04:41  TLSharp-master\TLSharp.Core\MTProto\Crypto\Crc32.cs
     文件        3639  2019-10-05 04:41  TLSharp-master\TLSharp.Core\MTProto\Crypto\Factorizator.cs
     文件       15974  2019-10-05 04:41  TLSharp-master\TLSharp.Core\MTProto\Crypto\MD5Digest.cs
     文件        3091  2019-10-05 04:41  TLSharp-master\TLSharp.Core\MTProto\Crypto\RSA.cs
     文件        1878  2019-10-05 04:41  TLSharp-master\TLSharp.Core\MTProto\Crypto\Salt.cs
     文件        2960  2019-10-05 04:41  TLSharp-master\TLSharp.Core\MTProto\Serializers.cs
     目录           0  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Network\
     文件        2431  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Network\MtProtoPlainSender.cs
     文件       23593  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Network\MtProtoSender.cs
     文件        3197  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Network\TcpMessage.cs
     文件        3821  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Network\TcpTransport.cs
     目录           0  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Properties\
     文件        1400  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Properties\AssemblyInfo.cs
     目录           0  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Requests\
     文件        1176  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Requests\AckRequest.cs
     文件        1475  2019-10-05 04:41  TLSharp-master\TLSharp.Core\Requests\AuthSendCodeRequest.cs
............此处省略942个文件信息

评论

共有 条评论