Class: TD::Types::ChatEventAction::MemberPromoted
- Inherits:
-
TD::Types::ChatEventAction
- Object
- Dry::Struct
- Base
- TD::Types::ChatEventAction
- TD::Types::ChatEventAction::MemberPromoted
- Defined in:
- lib/tdlib/types/chat_event_action/member_promoted.rb
Overview
A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
Instance Attribute Summary collapse
-
#new_status ⇒ TD::Types::ChatMemberStatus
New status of the chat member.
-
#old_status ⇒ TD::Types::ChatMemberStatus
Previous status of the chat member.
-
#user_id ⇒ Integer
Affected chat member user identifier.
Method Summary
Methods inherited from Base
Instance Attribute Details
#new_status ⇒ TD::Types::ChatMemberStatus
New status of the chat member.
7 8 9 |
# File 'lib/tdlib/types/chat_event_action/member_promoted.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_promoted.rb', line 7 def old_status @old_status end |
#user_id ⇒ Integer
Affected chat member user identifier.
7 8 9 |
# File 'lib/tdlib/types/chat_event_action/member_promoted.rb', line 7 def user_id @user_id end |