Example #1
0
        internal TossConversationMessage AddMessage(ApplicationUser currentUser, string message, DateTimeOffset creationDate)
        {
            TossConversationMessage res = new TossConversationMessage(message, currentUser.Id, creationDate);

            Messages.Add(res);
            return(res);
        }
Example #2
0
 public ConversationMessageSended(TossConversation conversation, TossConversationMessage message)
 {
     Conversation = conversation;
     Message      = message;
 }