Class: TD::Types::ChatEventAction::MemberRestricted

Inherits:
TD::Types::ChatEventAction show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#member_idTD::Types::MessageSender

Affected chat member identifier.

Returns:



7
8
9
# File 'lib/tdlib/types/chat_event_action/member_restricted.rb', line 7

def member_id
  @member_id
end

#new_statusTD::Types::ChatMemberStatus

New status of the chat member.

Returns:



7
8
9
# File 'lib/tdlib/types/chat_event_action/member_restricted.rb', line 7

def new_status
  @new_status
end

#old_statusTD::Types::ChatMemberStatus

Previous status of the chat member.

Returns:



7
8
9
# File 'lib/tdlib/types/chat_event_action/member_restricted.rb', line 7

def old_status
  @old_status
end