TriggerWebhookPayload

@JsonSerializable
data class TriggerWebhookPayload(val text: String? = null, val attachments: List<Attachment>? = null, val channel: String? = null, val username: String? = null, val iconUrl: Uri? = null, val iconEmoji: EmojiName? = null, val type: String? = null, val props: Map<String, Any>? = null)

Constructors

Link copied to clipboard
constructor(text: String? = null, attachments: List<Attachment>? = null, channel: String? = null, username: String? = null, iconUrl: Uri? = null, iconEmoji: EmojiName? = null, type: String? = null, props: Map<String, Any>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val channel: String? = null
Link copied to clipboard
@JsonProperty(name = "icon_emoji")
val iconEmoji: EmojiName? = null
Link copied to clipboard
@JsonProperty(name = "icon_url")
val iconUrl: Uri? = null
Link copied to clipboard
val props: Map<String, Any>? = null
Link copied to clipboard
val text: String? = null
Link copied to clipboard
val type: String? = null
Link copied to clipboard
val username: String? = null