Example #1
0
        public GroupMessageHistory GetGroupHistory(Channel group)
        {
            GroupMessageHistory msgHistory = null;

            Connect();
            Slack.GetGroupHistory((history) =>
            {
                msgHistory = history;
                ClientReady.Set();
            }, group);
            ClientReady.Wait();
            ClientReady.Reset();
            return(msgHistory);
        }