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