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