Пример #1
0
        public static void Post(string text, User user, Channel channel, Message?parentMessage = null)
        {
            MessageDAO.Post(text, user.Id, channel.Id, parentMessage?.Id);

            onMessagesFetchedAsSubject.OnNext(Get(channel));

            onMessagePostedAsSubject.OnNext(Unit.Default);
        }