Package org.drinkless.tdlib
Class TdApi.PublicPostSearchLimits
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PublicPostSearchLimits
- Enclosing class:
- TdApi
Contains information about public post search limits.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intNumber of queries that can be sent daily for free.booleanTrue, if the search for the specified query isn't charged.intAmount of time till the next free query can be sent; 0 if it can be sent now.intNumber of remaining free queries today.longNumber of Telegram Stars that must be paid for each non-free query. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about public post search limits.PublicPostSearchLimits(int dailyFreeQueryCount, int remainingFreeQueryCount, int nextFreeQueryIn, long starCount, boolean isCurrentQueryFree) Contains information about public post search limits. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
dailyFreeQueryCount
public int dailyFreeQueryCountNumber of queries that can be sent daily for free. -
remainingFreeQueryCount
public int remainingFreeQueryCountNumber of remaining free queries today. -
nextFreeQueryIn
public int nextFreeQueryInAmount of time till the next free query can be sent; 0 if it can be sent now. -
starCount
public long starCountNumber of Telegram Stars that must be paid for each non-free query. -
isCurrentQueryFree
public boolean isCurrentQueryFreeTrue, if the search for the specified query isn't charged. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PublicPostSearchLimits
public PublicPostSearchLimits()Contains information about public post search limits. -
PublicPostSearchLimits
public PublicPostSearchLimits(int dailyFreeQueryCount, int remainingFreeQueryCount, int nextFreeQueryIn, long starCount, boolean isCurrentQueryFree) Contains information about public post search limits.- Parameters:
dailyFreeQueryCount- Number of queries that can be sent daily for free.remainingFreeQueryCount- Number of remaining free queries today.nextFreeQueryIn- Amount of time till the next free query can be sent; 0 if it can be sent now.starCount- Number of Telegram Stars that must be paid for each non-free query.isCurrentQueryFree- True, if the search for the specified query isn't charged.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-