public IEnumerable <Task <IRestResponse> > PostToChannelsAsync(SlackMessage message, IEnumerable <string> channels)
 {
     return(channels.DefaultIfEmpty(message.Channel)
            .Select(message.Clone)
            .Select(PostAsync));
 }
 public bool PostToChannels(SlackMessage message, IEnumerable <string> channels)
 {
     return(channels.DefaultIfEmpty(message.Channel)
            .Select(message.Clone)
            .Select(Post).All(r => r));
 }