Class: Rubirai::SourceMessage
- Defined in:
- lib/rubirai/messages/message.rb
Overview
The source message type
Instance Attribute Summary collapse
-
#id ⇒ Integer
readonly
The message (chain) id.
-
#time ⇒ Integer
readonly
The timestamp.
Attributes inherited from Message
Method Summary
Methods inherited from Message
AtAllMessage, AtMessage, FaceMessage, PlainMessage, QuoteMessage, all_types, build_from, check_type, get_msg_klass, #initialize, metaclass, set_message, #to_h, to_message
Constructor Details
This class inherits a constructor from Rubirai::Message
Instance Attribute Details
#id ⇒ Integer (readonly)
Returns the message (chain) id.
157 |
# File 'lib/rubirai/messages/message.rb', line 157 :Source, :id, :time |
#time ⇒ Integer (readonly)
Returns the timestamp.
157 |
# File 'lib/rubirai/messages/message.rb', line 157 :Source, :id, :time |