Class: TD::Types::Update::ChatMember

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/chat_member.rb

Overview

User rights changed in a chat; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#actor_user_idInteger

Identifier of the user, changing the rights.

Returns:

  • (Integer)

    the current value of actor_user_id



11
12
13
# File 'lib/tdlib/types/update/chat_member.rb', line 11

def actor_user_id
  @actor_user_id
end

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



11
12
13
# File 'lib/tdlib/types/update/chat_member.rb', line 11

def chat_id
  @chat_id
end

#dateInteger

Point in time (Unix timestamp) when the user rights was changed.

Returns:

  • (Integer)

    the current value of date



11
12
13
# File 'lib/tdlib/types/update/chat_member.rb', line 11

def date
  @date
end

If user has joined the chat using an invite link, the invite link; may be null.

Returns:



11
12
13
# File 'lib/tdlib/types/update/chat_member.rb', line 11

def invite_link
  @invite_link
end

#new_chat_memberTD::Types::ChatMember

New chat member.

Returns:



11
12
13
# File 'lib/tdlib/types/update/chat_member.rb', line 11

def new_chat_member
  @new_chat_member
end

#old_chat_memberTD::Types::ChatMember

Previous chat member.

Returns:



11
12
13
# File 'lib/tdlib/types/update/chat_member.rb', line 11

def old_chat_member
  @old_chat_member
end