public void OnMessageAdded(Message message) { App.IsMessageAdded = false; if (MainActivity.GeneralChannel == message.Channel) { MessagingCenter.Send(this, "NewMessage", message); foreach (var channelMessage in MainActivity.ChannelMessages) { foreach (var messages in channelMessage) { if (messages.Channel == message.Channel) { channelMessage.Add(message); return; } } } } else { foreach (var channelMessage in MainActivity.ChannelMessages) { foreach (var messages in channelMessage) { if (messages.Channel == message.Channel) { channelMessage.Add(message); return; } } } } }
public void OnMessageUpdated(Message message, Message.UpdateReason reason) { throw new NotImplementedException(); }
public void OnMessageDeleted(Message message) { throw new NotImplementedException(); }