MessagesTrait.MessageResponseOptionStruct

class MessagesTrait.MessageResponseOptionStruct


A possible response to a message.

Summary

Public constructors

MessageResponseOptionStruct(
    messageResponseId: OptionalValue<UInt>,
    label: OptionalValue<String>
)

Creates the MessageResponseOptionStruct class.

Public properties

OptionalValue<String>

The text for this option, for example yes or no.

OptionalValue<UInt>

A unique, unsigned 32-bit numeric identifier for this message response option.

Public constructors

MessageResponseOptionStruct

MessageResponseOptionStruct(
    messageResponseId: OptionalValue<UInt> = OptionalValue.absent(),
    label: OptionalValue<String> = OptionalValue.absent()
)

Creates the MessageResponseOptionStruct class.

Public properties

label

val labelOptionalValue<String>

The text for this option, for example yes or no.

messageResponseId

val messageResponseIdOptionalValue<UInt>

A unique, unsigned 32-bit numeric identifier for this message response option.