SlackMessage

@JsonSerializable
data class SlackMessage(val text: String? = null, val blocks: List<Block> = emptyList(), val attachments: List<Attachment> = emptyList(), val channel: ChannelId? = null, val as_user: Boolean? = null, val icon_emoji: String? = null, val icon_url: Uri? = null, val link_names: Boolean? = null, val metadata: String? = null, val mrkdwn: Boolean? = null, val parse: String? = null, val reply_broadcast: Boolean? = null, val unfurl_links: Boolean? = null, val unfurl_media: Boolean? = null, val username: String? = null)

Constructors

Link copied to clipboard
constructor(text: String? = null, blocks: List<Block> = emptyList(), attachments: List<Attachment> = emptyList(), channel: ChannelId? = null, as_user: Boolean? = null, icon_emoji: String? = null, icon_url: Uri? = null, link_names: Boolean? = null, metadata: String? = null, mrkdwn: Boolean? = null, parse: String? = null, reply_broadcast: Boolean? = null, unfurl_links: Boolean? = null, unfurl_media: Boolean? = null, username: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val as_user: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val channel: ChannelId? = null
Link copied to clipboard
val icon_emoji: String? = null
Link copied to clipboard
val icon_url: Uri? = null
Link copied to clipboard
val link_names: Boolean? = null
Link copied to clipboard
val metadata: String? = null
Link copied to clipboard
val mrkdwn: Boolean? = null
Link copied to clipboard
val parse: String? = null
Link copied to clipboard
Link copied to clipboard
val text: String? = null
Link copied to clipboard
val unfurl_links: Boolean? = null
Link copied to clipboard
val unfurl_media: Boolean? = null
Link copied to clipboard
val username: String? = null