Class: TD::Types::MessageSelfDestructType::Timer

Inherits:
TD::Types::MessageSelfDestructType show all
Defined in:
lib/tdlib/types/message_self_destruct_type/timer.rb

Overview

The message will be self-destructed in the specified time after its content was opened.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#self_destruct_timeInteger

The message’s self-destruct time, in seconds; must be between 0 and 60 in private chats.

Returns:

  • (Integer)

    the current value of self_destruct_time



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

def self_destruct_time
  @self_destruct_time
end