public void CreateChannelAsync(TLInt flags, TLString title, TLString about, TLVector <TLInputUserBase> users, Action <TLUpdatesBase> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLCreateChannel { Flags = flags, Title = title, About = about, Users = users }; #endif var caption = "channels.createChannel"; SendInformativeMessage <TLUpdatesBase>(caption, obj, result => { var multiPts = result as IMultiPts; if (multiPts != null) { _updatesService.SetState(multiPts, caption); } else { ProcessUpdates(result, null); } callback.SafeInvoke(result); }, faultCallback); }
public void CreateChannelAsync(TLInt flags, TLString title, TLString about, Action <TLUpdatesBase> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLCreateChannel { Flags = flags, Title = title, About = about };