Class: Telegram::Bot::Types::ChatBackground
- Defined in:
- sig/telegram/bot/types/chat_background.rbs
Instance Attribute Summary collapse
-
#type ⇒ background_type
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
#type ⇒ background_type (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'sig/telegram/bot/types/chat_background.rbs', line 8 def type @type end |
Class Method Details
.new(type:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/chat_background.rbs', line 6
def self.new: (type: background_type) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|