Class: SelfSDK::Messages::ChatJoin

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

Constant Summary collapse

MSG_TYPE =
"chat.join"

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



12
13
14
15
# File 'lib/messages/chat_join.rb', line 12

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