Class TdApi.GetSearchSponsoredChats

Enclosing class:
TdApi

public static class TdApi.GetSearchSponsoredChats extends TdApi.Function<TdApi.SponsoredChats>
Returns sponsored chats to be shown in the search results.

Returns SponsoredChats

  • Field Details

    • query

      public String query
      Query the user searches for.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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

      public GetSearchSponsoredChats(String query)
      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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR