private UnsupportedMessageObservable GetUnsupportedMessageObservable( Message message) { ReplyObservable reply = GetReplyObservable(message); return(new UnsupportedMessageObservable( message.MessageData.Id, message.MessageData.Date, message.UserData.UserName, message.MessageData.IsOutgoing, reply)); }
private TextMessageObservable GetTextMessageObservable(Message message, string text) { ReplyObservable reply = GetReplyObservable(message); return(new TextMessageObservable( message.MessageData.Id, message.MessageData.Date, message.UserData.UserName, message.MessageData.IsOutgoing, text, reply)); }