Ejemplo n.º 1
0
        /// <summary>
        /// Modifies the message which is previously sent
        /// </summary>
        public Task UpdateMessage(string channel, string timestamp, string messageToUpdate)
        {
            var ts = new TaskCompletionSource <object>();

            Slack.Update(
                _ => { ts.SetResult(0); },
                timestamp,
                channel,
                messageToUpdate);

            return(ts.Task);
        }