MessageDetails

class MessageDetails @JvmOverloads constructor(template: String?, locale: Locale?, sender: String?) : AuthenticationMethod.Internal.MessageDetails

Specialization of Internal.MessageDetails for OneTimePasswordMethod.

It essentially adds the sender property.

Constructors

MessageDetails
Link copied to clipboard
fun MessageDetails(template: String? = null, locale: Locale? = null, sender: String? = null)

Properties

locale
Link copied to clipboard
val locale: Locale? = null

The locale of the template to use. As many locales as necessary may be defined on the Webcom developer console.

sender
Link copied to clipboard
val sender: String? = null

The identifier of the SMS sender to used to send the message. This identifier must be picked among one of the ones configured on the Webcom developer console. If not specified, the default sender defined in the Webcom developer console is used.

template
Link copied to clipboard
val template: String? = null

The identifier of the message template defined on the Webcom developer console (e.g. "login").