Class: TD::Types::MessageAutoDeleteTime

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/message_auto_delete_time.rb

Overview

Contains default auto-delete timer setting for new chats.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#timeInteger

Message auto-delete time, in seconds. If 0, then messages aren’t deleted automatically.

Returns:

  • (Integer)

    the current value of time



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

def time
  @time
end