Class: Line::Bot::Message::Contact

Inherits:
Base
  • Object
show all
Defined in:
lib/line/bot/message/contact.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs, #recipient_type

Instance Method Summary collapse

Methods inherited from Base

#[], #event_type, #initialize

Constructor Details

This class inherits a constructor from Line::Bot::Message::Base

Instance Method Details

#contentObject



8
9
10
# File 'lib/line/bot/message/contact.rb', line 8

def content
  raise Line::Bot::API::NotSupportedError
end

#valid?Boolean

Returns:

  • (Boolean)

Raises:



12
13
14
# File 'lib/line/bot/message/contact.rb', line 12

def valid?
  raise Line::Bot::API::NotSupportedError
end