Class: Discorb::Message::Sticker
- Inherits:
-
Object
- Object
- Discorb::Message::Sticker
- Defined in:
- lib/discorb/message_meta.rb
Overview
Represents a sticker.
Instance Attribute Summary collapse
-
#format -> Object
readonly
Returns the value of attribute format.
-
#id -> Object
readonly
Returns the value of attribute id.
-
#name -> Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(data) -> Sticker
constructor
A new instance of Sticker.
Constructor Details
Instance Attribute Details
#format -> Object (readonly)
Returns the value of attribute format.
97 98 99 |
# File 'lib/discorb/message_meta.rb', line 97 def format @format end |
#id -> Object (readonly)
Returns the value of attribute id.
97 98 99 |
# File 'lib/discorb/message_meta.rb', line 97 def id @id end |
#name -> Object (readonly)
Returns the value of attribute name.
97 98 99 |
# File 'lib/discorb/message_meta.rb', line 97 def name @name end |