public void SendGetParticipants(string grupoid) { clearError(); try { if (wa != null) { _groupParticipant = new FWhatsAppGroup(); wa.SendGetParticipants(grupoid); } } catch (Exception e) { setError(17, e); } }
void wa_OnGetGroupParticipants(string gjid, string[] jids) { if (debug) { Console.WriteLine("Got participants from {0}:", gjid); foreach (string jid in jids) { Console.WriteLine("\t{0}", jid); } } List<string> lista = new List<string>(); foreach (string uid in jids) { lista.Add(uid); } _groupParticipant = new FWhatsAppGroup(gjid, "", lista); }