Class: SelfSDK::Messages::ChatMessageRead

Inherits:
Chat
  • Object
show all
Defined in:
lib/messages/chat_message_read.rb

Constant Summary collapse

MSG_TYPE =
"chat.message.read"
DEFAULT_EXP_TIMEOUT =
900

Instance Attribute Summary

Attributes inherited from Base

#description, #exp_timeout, #expires, #fields, #from, #from_device, #id, #input, #intermediary, #payload, #status, #sub, #to, #to_device, #typ

Instance Method Summary collapse

Methods inherited from Base

#accepted?, #encrypt_message, #errored?, #initialize, #rejected?, #request, #send_message, #unauthorized?, #validate!

Constructor Details

This class inherits a constructor from SelfSDK::Messages::Base

Instance Method Details

#parse(input, envelope = nil) ⇒ Object



13
14
15
16
# File 'lib/messages/chat_message_read.rb', line 13

def parse(input, envelope=nil)
  super
  @typ = MSG_TYPE
end