gpt4 book ai didi

android - 如何使用 TLSharp 在 Telegram channel 中添加用户?

转载 作者:行者123 更新时间:2023-11-29 19:15:39 25 4
gpt4 key购买 nike

我知道如何使用 TLSharp 创建新 channel ,但如何将用户添加到该 channel ?

最佳答案

 var contacts = new TLVector<TLInputPhoneContact>();
contacts.lists.Add(new TLInputPhoneContact { first_name = "xxx", last_name = "xxx", phone = "xxx" });
var req = new TLRequestImportContacts()
{
contacts = contacts
};
var contact = client.SendRequestAsync<TLImportedContacts>(req).GetAwaiter().GetResult();

关于android - 如何使用 TLSharp 在 Telegram channel 中添加用户?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43610203/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com