Class: Rubirai::FlashImageMessage
- Defined in:
- lib/rubirai/messages/message.rb
Overview
The flash image message type
Instance Attribute Summary collapse
-
#image_id ⇒ String?
readonly
The image id from mirai.
-
#path ⇒ String?
readonly
The local path of the image.
-
#url ⇒ String?
readonly
The url of the image.
Attributes inherited from Message
Class Method Summary collapse
Methods inherited from Message
all_types, check_type, #to_h, to_message
Instance Attribute Details
#image_id ⇒ String? (readonly)
Returns the image id from mirai.
350 |
# File 'lib/rubirai/messages/message.rb', line 350 :FlashImage, :image_id, :url, :path |
#path ⇒ String? (readonly)
Returns the local path of the image.
350 |
# File 'lib/rubirai/messages/message.rb', line 350 :FlashImage, :image_id, :url, :path |
#url ⇒ String? (readonly)
Returns the url of the image.
350 |
# File 'lib/rubirai/messages/message.rb', line 350 :FlashImage, :image_id, :url, :path |
Class Method Details
.from(**kwargs) ⇒ Rubirai::FlashImageMessage
Form a Rubirai::FlashImageMessage. Only needs to give one of the three arguments.
350 |
# File 'lib/rubirai/messages/message.rb', line 350 :FlashImage, :image_id, :url, :path |