Class: Rubirai::FaceMessage
- Defined in:
- lib/rubirai/messages/message.rb
Overview
The QQ Face Emoji message type
Instance Attribute Summary collapse
-
#face_id ⇒ Integer
readonly
The face's id.
-
#name ⇒ String?
readonly
The face's name.
Attributes inherited from Message
Class Method Summary collapse
Methods inherited from Message
all_types, check_type, #to_h, to_message
Instance Attribute Details
#face_id ⇒ Integer (readonly)
Returns the face's id.
302 |
# File 'lib/rubirai/messages/message.rb', line 302 :Face, :face_id, :name |
#name ⇒ String? (readonly)
Returns the face's name.
302 |
# File 'lib/rubirai/messages/message.rb', line 302 :Face, :face_id, :name |
Class Method Details
.from(**kwargs) ⇒ Rubirai::FaceMessage
Form a Rubirai::FaceMessage. Only needs to give one of the two arguments.
302 |
# File 'lib/rubirai/messages/message.rb', line 302 :Face, :face_id, :name |