Class: TD::Types::Update::UserChatAction

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

Overview

User activity in the chat has changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#actionTD::Types::ChatAction

The action description.

Returns:



7
8
9
# File 'lib/tdlib/types/update/user_chat_action.rb', line 7

def action
  @action
end

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



7
8
9
# File 'lib/tdlib/types/update/user_chat_action.rb', line 7

def chat_id
  @chat_id
end

#user_idInteger

Identifier of a user performing an action.

Returns:

  • (Integer)

    the current value of user_id



7
8
9
# File 'lib/tdlib/types/update/user_chat_action.rb', line 7

def user_id
  @user_id
end