Class: TD::Types::Update::StoryStealthMode
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::StoryStealthMode
- Defined in:
- lib/tdlib/types/update/story_stealth_mode.rb
Overview
Story stealth mode settings have changed.
Instance Attribute Summary collapse
-
#active_until_date ⇒ Integer
Point in time (Unix timestamp) until stealth mode is active; 0 if it is disabled.
-
#cooldown_until_date ⇒ Integer
Point in time (Unix timestamp) when stealth mode can be enabled again; 0 if there is no active cooldown.
Method Summary
Methods inherited from Base
Instance Attribute Details
#active_until_date ⇒ Integer
Point in time (Unix timestamp) until stealth mode is active; 0 if it is disabled.
7 8 9 |
# File 'lib/tdlib/types/update/story_stealth_mode.rb', line 7 def active_until_date @active_until_date end |
#cooldown_until_date ⇒ Integer
Point in time (Unix timestamp) when stealth mode can be enabled again; 0 if there is no active cooldown.
7 8 9 |
# File 'lib/tdlib/types/update/story_stealth_mode.rb', line 7 def cooldown_until_date @cooldown_until_date end |