public SlackMessageBuilder ListText(params string[] textList)
 => TextInternal(SlackMessageTextHelper.List(textList), string.Empty);
 public SlackMessageBuilder LinkText(Uri url, string label = null, string separator = DefaultSeparator)
 => TextInternal(SlackMessageTextHelper.Link(url, label), separator);
 public SlackMessageBuilder ItalicText(string text, string separator = DefaultSeparator)
 => TextInternal(SlackMessageTextHelper.Italic(text), separator);
 public SlackMessageBuilder QuotedText(string text, string separator = DefaultSeparator)
 => TextInternal(SlackMessageTextHelper.Quoted(text), separator);
 public SlackMessageBuilder UserMentions(IEnumerable <string> userIds, string separator = DefaultSeparator)
 => TextInternal(SlackMessageTextHelper.UserMentions(userIds), separator);
 public SlackMessageBuilder CodeBlock(string text, string separator = DefaultSeparator)
 => TextInternal(SlackMessageTextHelper.CodeBlock(text), separator);
 public SlackMessageBuilder UserMention(string userId, string separator = DefaultSeparator)
 => TextInternal(SlackMessageTextHelper.UserMention(userId), separator);
 public SlackMessageBuilder ChannelMention(SlackMention slackMention, string separator = DefaultSeparator)
 => TextInternal(SlackMessageTextHelper.ChannelMention(slackMention), separator);
 public SlackMessageBuilder PublicChannelMention(string channelId, string separator = DefaultSeparator)
 => TextInternal(SlackMessageTextHelper.PublicChannelMention(channelId), separator);
Example #10
0
 public SlackMessageBuilder Date(long timestamp, string formatString, string fallbackText, Uri link = null, string separator = DefaultSeparator)
 => TextInternal(SlackMessageTextHelper.Date(timestamp, formatString, fallbackText, link), separator);
Example #11
0
 public SlackMessageBuilder EmailLinkText(string email, string senderName = null, string separator = DefaultSeparator)
 => TextInternal(SlackMessageTextHelper.EmailLink(email, senderName), separator);