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:



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

def action
  @action
end

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



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

def chat_id
  @chat_id
end

#message_thread_idInteger

If not 0, a message thread identifier in which the action was performed.

Returns:

  • (Integer)

    the current value of message_thread_id



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

def message_thread_id
  @message_thread_id
end

#user_idInteger

Identifier of a user performing an action.

Returns:

  • (Integer)

    the current value of user_id



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

def user_id
  @user_id
end