Package org.drinkless.tdlib
Class TdApi.GetSearchSponsoredChats
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.SponsoredChats>
org.drinkless.tdlib.TdApi.GetSearchSponsoredChats
- Enclosing class:
- TdApi
Returns sponsored chats to be shown in the search results.
Returns SponsoredChats
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Query the user searches for. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns sponsored chats to be shown in the search results.GetSearchSponsoredChats
(String query) Creates a function, which returns sponsored chats to be shown in the search results. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
query
Query the user searches for. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetSearchSponsoredChats
public GetSearchSponsoredChats()Default constructor for a function, which returns sponsored chats to be shown in the search results.Returns
SponsoredChats
-
GetSearchSponsoredChats
Creates a function, which returns sponsored chats to be shown in the search results.Returns
SponsoredChats
- Parameters:
query
- Query the user searches for.
-
-
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
-