Class TdApi.ChatBoost
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatBoost
- Enclosing class:
- TdApi
Describes a boost applied to a chat.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
The number of identical boosts applied.int
Point in time (Unix timestamp) when the boost will expire.Unique identifier of the boost.Source of the boost.int
Point in time (Unix timestamp) when the chat was boosted. -
Constructor Summary
ConstructorDescriptionDescribes a boost applied to a chat.ChatBoost
(String id, int count, TdApi.ChatBoostSource source, int startDate, int expirationDate) Describes a boost applied to a chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
id
Unique identifier of the boost. -
count
public int countThe number of identical boosts applied. -
source
Source of the boost. -
startDate
public int startDatePoint in time (Unix timestamp) when the chat was boosted. -
expirationDate
public int expirationDatePoint in time (Unix timestamp) when the boost will expire. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatBoost
public ChatBoost()Describes a boost applied to a chat. -
ChatBoost
public ChatBoost(String id, int count, TdApi.ChatBoostSource source, int startDate, int expirationDate) Describes a boost applied to a chat.- Parameters:
id
- Unique identifier of the boost.count
- The number of identical boosts applied.source
- Source of the boost.startDate
- Point in time (Unix timestamp) when the chat was boosted.expirationDate
- Point in time (Unix timestamp) when the boost will expire.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-