Class: TD::Types::MessageContent::ChatSetMessageAutoDeleteTime

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/chat_set_message_auto_delete_time.rb

Overview

The auto-delete or self-destruct timer for messages in the chat has been changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#from_user_idInteger

If not 0, a user identifier, which default setting was automatically applied.

Returns:

  • (Integer)

    the current value of from_user_id



6
7
8
# File 'lib/tdlib/types/message_content/chat_set_message_auto_delete_time.rb', line 6

def from_user_id
  @from_user_id
end

#message_auto_delete_timeInteger

New value auto-delete or self-destruct time, in seconds; 0 if disabled.

Returns:

  • (Integer)

    the current value of message_auto_delete_time



6
7
8
# File 'lib/tdlib/types/message_content/chat_set_message_auto_delete_time.rb', line 6

def message_auto_delete_time
  @message_auto_delete_time
end