常用方法
常用方法
常用方法
常用方法
public void Handle(InvokeDeleteContacts message) { var id = new TLVector <TLInputUserBase>(CacheService.GetContacts().Where(x => x.IsContact).Select(x => x.ToInputUser()).ToList()); MTProtoService.DeleteContactsAsync(id, result => Execute.BeginOnUIThread(() => { Handle(Commands.LogOutCommand); Handle(new InvokeImportContacts()); }), error => Execute.BeginOnUIThread(() => { })); }