Class: TD::Types::ChatEventAction::MemberRestricted
- Inherits:
-
TD::Types::ChatEventAction
- Object
- Dry::Struct
- Base
- TD::Types::ChatEventAction
- TD::Types::ChatEventAction::MemberRestricted
- Defined in:
- lib/tdlib/types/chat_event_action/member_restricted.rb
Overview
A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.
Instance Attribute Summary collapse
-
#member_id ⇒ TD::Types::MessageSender
Affected chat member identifier.
-
#new_status ⇒ TD::Types::ChatMemberStatus
New status of the chat member.
-
#old_status ⇒ TD::Types::ChatMemberStatus
Previous status of the chat member.
Method Summary
Methods inherited from Base
Instance Attribute Details
#member_id ⇒ TD::Types::MessageSender
Affected chat member identifier.
7 8 9 |
# File 'lib/tdlib/types/chat_event_action/member_restricted.rb', line 7 def member_id @member_id end |
#new_status ⇒ TD::Types::ChatMemberStatus
New status of the chat member.
7 8 9 |
# File 'lib/tdlib/types/chat_event_action/member_restricted.rb', line 7 def new_status @new_status end |
#old_status ⇒ TD::Types::ChatMemberStatus
Previous status of the chat member.
7 8 9 |
# File 'lib/tdlib/types/chat_event_action/member_restricted.rb', line 7 def old_status @old_status end |