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
Class Method Summary collapse
Methods inherited from Message
all_types, check_type, #to_h, to_message
Instance Attribute Details
#id ⇒ Integer (readonly)
Returns the message (chain) id.
227 |
# File 'lib/rubirai/messages/message.rb', line 227 :Source, :id, :time |
#time ⇒ Integer (readonly)
Returns the timestamp.
227 |
# File 'lib/rubirai/messages/message.rb', line 227 :Source, :id, :time |
Class Method Details
.from(**kwargs) ⇒ Object
227 |
# File 'lib/rubirai/messages/message.rb', line 227 :Source, :id, :time |