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