Class: Telegram::Bot::Types::BackgroundTypePattern
- Defined in:
- sig/telegram/bot/types/background_type_pattern.rbs
Instance Attribute Summary collapse
-
#document ⇒ Document
readonly
Returns the value of attribute document.
-
#fill ⇒ background_fill
readonly
Returns the value of attribute fill.
-
#intensity ⇒ Integer
readonly
Returns the value of attribute intensity.
-
#is_inverted ⇒ true?
readonly
Returns the value of attribute is_inverted.
-
#is_moving ⇒ true?
readonly
Returns the value of attribute is_moving.
-
#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
#document ⇒ Document (readonly)
Returns the value of attribute document.
9 10 11 |
# File 'sig/telegram/bot/types/background_type_pattern.rbs', line 9 def document @document end |
#fill ⇒ background_fill (readonly)
Returns the value of attribute fill.
10 11 12 |
# File 'sig/telegram/bot/types/background_type_pattern.rbs', line 10 def fill @fill end |
#intensity ⇒ Integer (readonly)
Returns the value of attribute intensity.
11 12 13 |
# File 'sig/telegram/bot/types/background_type_pattern.rbs', line 11 def intensity @intensity end |
#is_inverted ⇒ true? (readonly)
Returns the value of attribute is_inverted.
12 13 14 |
# File 'sig/telegram/bot/types/background_type_pattern.rbs', line 12 def is_inverted @is_inverted end |
#is_moving ⇒ true? (readonly)
Returns the value of attribute is_moving.
13 14 15 |
# File 'sig/telegram/bot/types/background_type_pattern.rbs', line 13 def is_moving @is_moving end |
#type ⇒ String (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'sig/telegram/bot/types/background_type_pattern.rbs', line 8 def type @type end |
Class Method Details
.new(type:, document:, fill:, intensity:, is_inverted:, is_moving:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/background_type_pattern.rbs', line 6
def self.new: (?type: String, document: Document, fill: background_fill, intensity: Integer, ?is_inverted: true, ?is_moving: true) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|