CampaignSmsMessage class

Specifies the content and settings for an SMS message that's sent to recipients of a campaign.

Constructors

CampaignSmsMessage({String? body, MessageType? messageType, String? senderId})
CampaignSmsMessage.fromJson(Map<String, dynamic> json)
factory

Properties

body String?
The body of the SMS message.
final
hashCode int
The hash code for this object.
no setterinherited
messageType MessageType?
The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or time-sensitive, such as marketing messages).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderId String?
The sender ID to display on recipients' devices when they receive the SMS message.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited