Class: MessageBird::Conversation
- Defined in:
- lib/messagebird/conversation.rb
Constant Summary collapse
- CONVERSATION_STATUS_ACTIVE =
'active'- CONVERSATION_STATUS_ARCHIVED =
'archived'- WEBHOOK_EVENT_CONVERSATION_CREATED =
'conversation.created'- WEBHOOK_EVENT_CONVERSATION_UPDATED =
'conversation.updated'- WEBHOOK_EVENT_MESSAGE_CREATED =
'message.created'- WEBHOOK_EVENT_MESSAGE_UPDATED =
'message.updated'
Instance Attribute Summary collapse
-
#channels ⇒ Object
Returns the value of attribute channels.
-
#contact ⇒ Object
Returns the value of attribute contact.
-
#contact_id ⇒ Object
Returns the value of attribute contact_id.
-
#created_datetime ⇒ Object
Returns the value of attribute created_datetime.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_received_datetime ⇒ Object
Returns the value of attribute last_received_datetime.
-
#last_used_channel_id ⇒ Object
Returns the value of attribute last_used_channel_id.
-
#messages ⇒ Object
Returns the value of attribute messages.
-
#status ⇒ Object
Returns the value of attribute status.
-
#updated_datetime ⇒ Object
Returns the value of attribute updated_datetime.
Method Summary
Methods inherited from Base
#initialize, #map_hash_elements_to_self, #value_to_time
Constructor Details
This class inherits a constructor from MessageBird::Base
Instance Attribute Details
#channels ⇒ Object
Returns the value of attribute channels.
10 11 12 |
# File 'lib/messagebird/conversation.rb', line 10 def channels @channels end |
#contact ⇒ Object
Returns the value of attribute contact.
10 11 12 |
# File 'lib/messagebird/conversation.rb', line 10 def contact @contact end |
#contact_id ⇒ Object
Returns the value of attribute contact_id.
9 10 11 |
# File 'lib/messagebird/conversation.rb', line 9 def contact_id @contact_id end |
#created_datetime ⇒ Object
Returns the value of attribute created_datetime.
10 11 12 |
# File 'lib/messagebird/conversation.rb', line 10 def created_datetime @created_datetime end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/messagebird/conversation.rb', line 9 def id @id end |
#last_received_datetime ⇒ Object
Returns the value of attribute last_received_datetime.
10 11 12 |
# File 'lib/messagebird/conversation.rb', line 10 def last_received_datetime @last_received_datetime end |
#last_used_channel_id ⇒ Object
Returns the value of attribute last_used_channel_id.
9 10 11 |
# File 'lib/messagebird/conversation.rb', line 9 def last_used_channel_id @last_used_channel_id end |
#messages ⇒ Object
Returns the value of attribute messages.
10 11 12 |
# File 'lib/messagebird/conversation.rb', line 10 def @messages end |
#status ⇒ Object
Returns the value of attribute status.
9 10 11 |
# File 'lib/messagebird/conversation.rb', line 9 def status @status end |
#updated_datetime ⇒ Object
Returns the value of attribute updated_datetime.
10 11 12 |
# File 'lib/messagebird/conversation.rb', line 10 def updated_datetime @updated_datetime end |