Module tdlight.api

Class TdApi.SearchInstalledStickerSets

Enclosing class:
TdApi

public static final class TdApi.SearchInstalledStickerSets extends TdApi.Function<TdApi.StickerSets>
Searches for installed sticker sets by looking for specified query in their title and name.

Returns StickerSets

  • Field Details

    • stickerType

      public TdApi.StickerType stickerType
      Type of the sticker sets to search for.
    • query

      public String query
      Query to search for.
    • limit

      public int limit
      The maximum number of sticker sets to return.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • SearchInstalledStickerSets

      public SearchInstalledStickerSets()
      Searches for installed sticker sets by looking for specified query in their title and name.

      Returns StickerSets

    • SearchInstalledStickerSets

      public SearchInstalledStickerSets(TdApi.StickerType stickerType, String query, int limit)
      Searches for installed sticker sets by looking for specified query in their title and name.

      Returns StickerSets

      Parameters:
      stickerType - Type of the sticker sets to search for.
      query - Query to search for.
      limit - The maximum number of sticker sets to return.

      Returns StickerSets

    • SearchInstalledStickerSets

      public SearchInstalledStickerSets(DataInput input) throws IOException
      Searches for installed sticker sets by looking for specified query in their title and name.

      Returns StickerSets

      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object