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
Form an AtMessage.
Methods inherited from Message
all_types, check_type, #to_h, to_message
Instance Attribute Details
#display ⇒ String (readonly)
Returns the displayed name (not used when sending).
280 |
# File 'lib/rubirai/messages/message.rb', line 280 :At, :target, :display |
#target ⇒ Integer (readonly)
Returns the target group user's id.
280 |
# File 'lib/rubirai/messages/message.rb', line 280 :At, :target, :display |
Instance Method Details
#from(**kwargs) ⇒ AtMessage
Form an Rubirai::AtMessage. The display
option has no effect when
sending at messages.
280 |
# File 'lib/rubirai/messages/message.rb', line 280 :At, :target, :display |