Class: TD::Types::ChatBoost
- Defined in:
- lib/tdlib/types/chat_boost.rb
Overview
Describes a boost applied to a chat.
Instance Attribute Summary collapse
-
#count ⇒ Integer
The number of identical boosts applied.
-
#expiration_date ⇒ Integer
Point in time (Unix timestamp) when the boost will expire.
-
#id ⇒ TD::Types::String
Unique identifier of the boost.
-
#source ⇒ TD::Types::ChatBoostSource
Source of the boost.
-
#start_date ⇒ Integer
Point in time (Unix timestamp) when the chat was boosted.
Method Summary
Methods inherited from Base
Instance Attribute Details
#count ⇒ Integer
The number of identical boosts applied.
9 10 11 |
# File 'lib/tdlib/types/chat_boost.rb', line 9 def count @count end |
#expiration_date ⇒ Integer
Point in time (Unix timestamp) when the boost will expire.
9 10 11 |
# File 'lib/tdlib/types/chat_boost.rb', line 9 def expiration_date @expiration_date end |
#id ⇒ TD::Types::String
Unique identifier of the boost.
9 10 11 |
# File 'lib/tdlib/types/chat_boost.rb', line 9 def id @id end |
#source ⇒ TD::Types::ChatBoostSource
Source of the boost.
9 10 11 |
# File 'lib/tdlib/types/chat_boost.rb', line 9 def source @source end |
#start_date ⇒ Integer
Point in time (Unix timestamp) when the chat was boosted.
9 10 11 |
# File 'lib/tdlib/types/chat_boost.rb', line 9 def start_date @start_date end |