Class: TD::Types::ChatEventAction::MemberPromoted

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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#new_statusTD::Types::ChatMemberStatus

New status of the chat member.

Returns:



7
8
9
# File 'lib/tdlib/types/chat_event_action/member_promoted.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_promoted.rb', line 7

def old_status
  @old_status
end

#user_idInteger

Affected chat member user identifier.

Returns:

  • (Integer)

    the current value of user_id



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

def user_id
  @user_id
end