Class: Blueticks::Types::ScheduledMessage

Inherits:
Base
  • Object
show all
Defined in:
lib/blueticks/types/scheduled_messages.rb

Overview

A queued / scheduled outbound message record — the shape returned by every scheduled_messages.* endpoint. This is a DISTINCT inline schema in the spec (not MessageResponse): only to, type, status, createdAt are required. In particular waMessageKey is optional and ABSENT on a record that has not dispatched yet, so it must never be decoded through a type that requires it (see Types::Message, used only by messages.create).

Method Summary

Methods inherited from Base

#==, assert_kind!, coerce, field, fields, from_hash, #hash, #initialize, #to_h

Constructor Details

This class inherits a constructor from Blueticks::Types::Base