Skip to main content

SmsMessage

This is a sms message table

type SmsMessage implements Node {
id: ID!
mobile: String!
data: GQLTJson!
sent: Boolean!
ip: String
createdAt: GQLTDate!
updatedAt: GQLTDate!
smsTemplateId: ID
userId: ID
smsTemplate: SmsTemplate
user: User
}

Fields#

id (ID!)#

The ID of an object

mobile (String!)#

This is the user mobile number.

data (GQLTJson!)#

This is the content of the sms that was sent by the user.

sent (Boolean!)#

This is an indicator if the sms was sent.

ip (String)#

This is the sender's ip address.

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

smsTemplateId (ID)#

The ID of an object

userId (ID)#

The ID of an object

smsTemplate (SmsTemplate)#

user (User)#

sms belongsTo user

Interfaces#

Node#

An object with an ID