Mar*_*man 9 c# telegram mtproto
例如,调用/包装auth.sentCode方法(下面的链接):
https://core.telegram.org/method/auth.sendCode
我试过了:
var url = "https://149.154.167.40";
var data = "(auth.sendCode \"PHONE_CODE+NO\" 0 APP_ID \"SECRET_HASH\" \"en\")";
using (var wc = new WebClient())
{
var result = wc.UploadData(url, GetBytes(data));
}
Run Code Online (Sandbox Code Playgroud)
我得到这个异常(和内部异常)
底层连接已关闭:发送时发生意外错误.(身份验证失败,因为远程方已关闭传输流.)
| 归档时间: |
|
| 查看次数: |
4480 次 |
| 最近记录: |