Class: Discordrb::Components::TextDisplay
- Inherits:
-
Object
- Object
- Discordrb::Components::TextDisplay
- Defined in:
- lib/discordrb/data/component.rb
Overview
A content component representing message content.
Instance Attribute Summary collapse
-
#content ⇒ String
readonly
The content to be displayed for the text display.
-
#id ⇒ Integer
readonly
The numeric identifier of the text display.
Instance Attribute Details
#content ⇒ String (readonly)
Returns the content to be displayed for the text display.
280 281 282 |
# File 'lib/discordrb/data/component.rb', line 280 def content @content end |
#id ⇒ Integer (readonly)
Returns the numeric identifier of the text display.
277 278 279 |
# File 'lib/discordrb/data/component.rb', line 277 def id @id end |