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