Class: Rubirai::AtMessage
- Defined in:
- lib/rubirai/messages/message.rb
Overview
The At message type
Instance Attribute Summary collapse
-
#display ⇒ String
readonly
The displayed name (not used when sending).
-
#target ⇒ Integer
readonly
The target group user's id.
Attributes inherited from Message
Instance Method Summary collapse
-
#from(**kwargs) ⇒ AtMessage
The message object.
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
#display ⇒ String (readonly)
193 |
# File 'lib/rubirai/messages/message.rb', line 193 :At, :target, :display |
#target ⇒ Integer (readonly)
193 |
# File 'lib/rubirai/messages/message.rb', line 193 :At, :target, :display |
Instance Method Details
#from(**kwargs) ⇒ AtMessage
193 |
# File 'lib/rubirai/messages/message.rb', line 193 :At, :target, :display |