Click

@Serializable
data class Click(val ipAddress: String, val link: String, val linkTags: String? = null, val timestamp: String, val userAgent: String)

Represents a link click event from a Resend webhook notification.

Constructors

Link copied to clipboard
constructor(ipAddress: String, link: String, linkTags: String? = null, timestamp: String, userAgent: String)

Properties

Link copied to clipboard
@SerialName(value = "ipAddress")
val ipAddress: String

the IP address of the user who clicked the link.

Link copied to clipboard
@SerialName(value = "link")
val link: String

the URL that was clicked.

Link copied to clipboard
@SerialName(value = "linkTags")
val linkTags: String?

optional tags associated with the clicked link.

Link copied to clipboard
@SerialName(value = "timestamp")
val timestamp: String

the ISO 8601 timestamp of the click event.

Link copied to clipboard
@SerialName(value = "userAgent")
val userAgent: String

the user agent string of the browser that performed the click.