Packages

trait SlackTextFormatters extends AnyRef

Slack mark down/field formatters

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SlackTextFormatters
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def formatDate(timestamp: Instant, token_string: String = SlackTextFormatters.SlackDateTimeFormats.Default, link: Option[String] = None): String

    Format Slack Date/Time https://api.slack.com/reference/surfaces/formatting#date-formatting

    Format Slack Date/Time https://api.slack.com/reference/surfaces/formatting#date-formatting

    timestamp

    date time to format

    token_string

    provide a formatting for your timestamp, using plain text along with special Slack tokens

    link

    an optional link on date/time

    returns

    formatted Slack Date/Time

    Attributes
    protected
  9. def formatSlackChannelId(channelId: SlackChannelId): String

    Format Slack Channel Id

    Format Slack Channel Id

    channelId

    channel id

    returns

    formatted channel id

    Attributes
    protected
  10. def formatSlackChannelIds(ids: Iterable[SlackChannelId]): String

    Format multiple Slack Channel Ids

    Format multiple Slack Channel Ids

    ids

    channel ids

    returns

    formatted channel ids

    Attributes
    protected
  11. def formatSlackQuoteText(srcText: String): String

    Format multi-line quoted text

    Format multi-line quoted text

    srcText

    source text to quote

    returns

    quoted text

    Attributes
    protected
  12. def formatSlackUserId(userId: SlackUserId): String

    Format Slack User Id

    Format Slack User Id

    userId

    user id

    returns

    formatted user id

    Attributes
    protected
  13. def formatUrl(url: String, text: String): String

    Format a Slack URL on some text

    Format a Slack URL on some text

    url

    URL

    text

    text

    returns

    formatted url

    Attributes
    protected
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped