Class: TD::Types::Update::StoryStealthMode

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

Overview

Story stealth mode settings have changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#active_until_dateInteger

Point in time (Unix timestamp) until stealth mode is active; 0 if it is disabled.

Returns:

  • (Integer)

    the current value of active_until_date



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

def active_until_date
  @active_until_date
end

#cooldown_until_dateInteger

Point in time (Unix timestamp) when stealth mode can be enabled again; 0 if there is no active cooldown.

Returns:

  • (Integer)

    the current value of cooldown_until_date



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

def cooldown_until_date
  @cooldown_until_date
end