PreFilledForm

@Serializable
data class PreFilledForm @JvmOverloads constructor(val name: String = "", val subject: String = "", val message: String = "", val customFieldValues: Map<Int, String> = mutableMapOf(), val attachments: List<String> = emptyList(), val email: String = "")

Pre-filled details for the Messaging Contact form. Ideal for saving your users time typing.

Parameters

name

The user's name

subject

The subject of the Conversation that will be created in Help Scout

email

The user's email address

message

The message body

customFieldValues

Map of custom field IDs and values

attachments

List of URIs that will be automatically attached to the Messaging Contact form (maximum 3)

Constructors

Link copied to clipboard
constructor(name: String = "", subject: String = "", message: String = "", customFieldValues: Map<Int, String> = mutableMapOf(), attachments: List<String> = emptyList(), email: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard