Class: Telegram::Bot::Types::GiftBackground
- Defined in:
- sig/telegram/bot/types/gift_background.rbs
Instance Attribute Summary collapse
-
#center_color ⇒ Integer
readonly
Returns the value of attribute center_color.
-
#edge_color ⇒ Integer
readonly
Returns the value of attribute edge_color.
-
#text_color ⇒ Integer
readonly
Returns the value of attribute text_color.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#center_color ⇒ Integer (readonly)
Returns the value of attribute center_color.
8 9 10 |
# File 'sig/telegram/bot/types/gift_background.rbs', line 8 def center_color @center_color end |
#edge_color ⇒ Integer (readonly)
Returns the value of attribute edge_color.
9 10 11 |
# File 'sig/telegram/bot/types/gift_background.rbs', line 9 def edge_color @edge_color end |
#text_color ⇒ Integer (readonly)
Returns the value of attribute text_color.
10 11 12 |
# File 'sig/telegram/bot/types/gift_background.rbs', line 10 def text_color @text_color end |
Class Method Details
.new(center_color:, edge_color:, text_color:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/gift_background.rbs', line 6
def self.new: (center_color: Integer, edge_color: Integer, text_color: Integer) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|