OBJECT

Sms

SMS stored in database

link GraphQL Schema definition

  • type Sms {
  • # Primary Key
  • id: Int!
  • # Status: new|sending|complete|cancel|fail
  • status: String!
  • # Recipient phone number
  • to: String!
  • # Unix timestamp when sms was created
  • created_at: Float!
  • # Unix timestamp when sms was edited last once
  • updated_at: Float!
  • # Unix timestamp when sms was sended to sms gate
  • send_at: Float
  • # Unix timestamp for minimum sending date. For for delayed sending
  • min_sending_time: Float!
  • # Data for replacing macroses in sms template (JSON string)
  • replace_data: String
  • # SMS text
  • raw_text: String
  • # processing key (sms gate)
  • processing: String
  • # JSON string with data specified for processing
  • processing_data: String
  • # Status on processing (sms gate)
  • processing_status: String
  • # JSON string with any other data (for user use)
  • additional: String
  • # AlphaNumeric name of sender (if supported by sms gate)
  • alfaname: String
  • }