public async static Task SendMessageAsync(object message, params string[] userIds) { var serializer = ObjectFactory.Build <IJsonSerializer>(); var msg = new SendToUsers { Users = userIds, Payload = JObject.FromObject(message) }; await App.SendMessageAsync(msg); }
public async static Task SendMessageAsync(object message, params string[] userIds) { var serializer = ObjectFactory.Build<IJsonSerializer>(); var msg = new SendToUsers { Users = userIds, Payload = JObject.FromObject(message) }; await App.SendMessageAsync(msg); }