Package org.drinkless.tdlib
Class TdApi.FoundPublicPosts
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.FoundPublicPosts
- Enclosing class:
- TdApi
Contains a list of messages found by a public post search.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if the query has failed because search limits are exceeded.static final intIdentifier uniquely determining type of the object.List of found public posts.The offset for the next request.Updated public post search limits after the query; repeated requests with the same query will be free; may be null if they didn't change. -
Constructor Summary
ConstructorsConstructorDescriptionContains a list of messages found by a public post search.FoundPublicPosts(TdApi.Message[] messages, String nextOffset, TdApi.PublicPostSearchLimits searchLimits, boolean areLimitsExceeded) Contains a list of messages found by a public post search. -
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
-
messages
List of found public posts. -
nextOffset
The offset for the next request. If empty, then there are no more results. -
searchLimits
Updated public post search limits after the query; repeated requests with the same query will be free; may be null if they didn't change. -
areLimitsExceeded
public boolean areLimitsExceededTrue, if the query has failed because search limits are exceeded. In this case searchLimits.dailyFreeQueryCount will be equal to 0. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
FoundPublicPosts
public FoundPublicPosts()Contains a list of messages found by a public post search. -
FoundPublicPosts
public FoundPublicPosts(TdApi.Message[] messages, String nextOffset, TdApi.PublicPostSearchLimits searchLimits, boolean areLimitsExceeded) Contains a list of messages found by a public post search.- Parameters:
messages- List of found public posts.nextOffset- The offset for the next request. If empty, then there are no more results.searchLimits- Updated public post search limits after the query; repeated requests with the same query will be free; may be null if they didn't change.areLimitsExceeded- True, if the query has failed because search limits are exceeded. In this case searchLimits.dailyFreeQueryCount will be equal to 0.
-
-
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
-