PreFilledForm

data class PreFilledForm @JvmOverloads() constructor(name: String, subject: String, message: String, customFieldValues: Map<Int, String>, attachments: List<String>, email: String)

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

Parameters

name

the users name

subject

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

message

the message

customFieldValues

map of custom field Ids and values

attachments

a lists of Uris that will be automatically attached to the Messaging Contact form

Constructors

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

Properties

attachments
Link copied to clipboard
val attachments: List<String>
a lists of Uris that will be automatically attached to the Messaging Contact form
customFieldValues
Link copied to clipboard
val customFieldValues: Map<Int, String>
map of custom field Ids and values
email
Link copied to clipboard
val email: String
message
Link copied to clipboard
val message: String
the message
name
Link copied to clipboard
val name: String
the users name
subject
Link copied to clipboard
val subject: String
the subject of the Conversation that will be created in Help Scout