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