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