Class: TD::Types::ChatBoostSlot
- Defined in:
- lib/tdlib/types/chat_boost_slot.rb
Overview
Describes a slot for chat boost.
Instance Attribute Summary collapse
-
#cooldown_until_date ⇒ Integer
Point in time (Unix timestamp) after which the boost can be used for another chat.
-
#currently_boosted_chat_id ⇒ Integer
Identifier of the currently boosted chat; 0 if none.
-
#expiration_date ⇒ Integer
Point in time (Unix timestamp) when the boost will expire.
-
#slot_id ⇒ Integer
Unique identifier of the slot.
-
#start_date ⇒ Integer
Point in time (Unix timestamp) when the chat was boosted; 0 if none.
Method Summary
Methods inherited from Base
Instance Attribute Details
#cooldown_until_date ⇒ Integer
Point in time (Unix timestamp) after which the boost can be used for another chat.
10 11 12 |
# File 'lib/tdlib/types/chat_boost_slot.rb', line 10 def cooldown_until_date @cooldown_until_date end |
#currently_boosted_chat_id ⇒ Integer
Identifier of the currently boosted chat; 0 if none.
10 11 12 |
# File 'lib/tdlib/types/chat_boost_slot.rb', line 10 def currently_boosted_chat_id @currently_boosted_chat_id end |
#expiration_date ⇒ Integer
Point in time (Unix timestamp) when the boost will expire.
10 11 12 |
# File 'lib/tdlib/types/chat_boost_slot.rb', line 10 def expiration_date @expiration_date end |
#slot_id ⇒ Integer
Unique identifier of the slot.
10 11 12 |
# File 'lib/tdlib/types/chat_boost_slot.rb', line 10 def slot_id @slot_id end |
#start_date ⇒ Integer
Point in time (Unix timestamp) when the chat was boosted; 0 if none.
10 11 12 |
# File 'lib/tdlib/types/chat_boost_slot.rb', line 10 def start_date @start_date end |