Class: WhatsAppCloudApi::Types::MessageInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/whatsapp_cloud_api/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ MessageInfo

Returns a new instance of MessageInfo.



43
44
45
46
# File 'lib/whatsapp_cloud_api/types.rb', line 43

def initialize(data)
  @id = data['id']
  @message_status = data['message_status']
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



41
42
43
# File 'lib/whatsapp_cloud_api/types.rb', line 41

def id
  @id
end

#message_statusObject (readonly)

Returns the value of attribute message_status.



41
42
43
# File 'lib/whatsapp_cloud_api/types.rb', line 41

def message_status
  @message_status
end