Class: Rubirai::FileMessage
- Defined in:
- lib/rubirai/messages/message.rb
Overview
The file message type
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
The file id.
-
#internal_id ⇒ Integer
readonly
The internal id needed by server.
-
#name ⇒ String
readonly
The filename.
-
#size ⇒ Integer
readonly
The file size.
Attributes inherited from Message
Method Summary
Methods inherited from Message
all_types, check_type, #to_h, to_message
Instance Attribute Details
#id ⇒ String (readonly)
Returns the file id.
487 |
# File 'lib/rubirai/messages/message.rb', line 487 :File, :id, :internal_id, :name, :size |
#internal_id ⇒ Integer (readonly)
Returns the internal id needed by server.
487 |
# File 'lib/rubirai/messages/message.rb', line 487 :File, :id, :internal_id, :name, :size |
#name ⇒ String (readonly)
Returns the filename.
487 |
# File 'lib/rubirai/messages/message.rb', line 487 :File, :id, :internal_id, :name, :size |
#size ⇒ Integer (readonly)
Returns the file size.
487 |
# File 'lib/rubirai/messages/message.rb', line 487 :File, :id, :internal_id, :name, :size |