MessageDetails

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

Specialization of Internal.MessageDetails for OneTimePasswordMethod.

It essentially adds the sender property.

Constructors

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

Properties

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.

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.

Link copied to clipboard
val template: String? = null

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