Module tdlight.api

Class TdApi.GetInstalledBackgrounds

Enclosing class:
TdApi

public static final class TdApi.GetInstalledBackgrounds extends TdApi.Function<TdApi.Backgrounds>
Returns backgrounds installed by the user.

Returns Backgrounds

  • Field Details

    • forDarkTheme

      public boolean forDarkTheme
      Pass true to order returned backgrounds for a dark theme.
    • CONSTRUCTOR

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

    • GetInstalledBackgrounds

      public GetInstalledBackgrounds()
      Returns backgrounds installed by the user.

      Returns Backgrounds

    • GetInstalledBackgrounds

      public GetInstalledBackgrounds(boolean forDarkTheme)
      Returns backgrounds installed by the user.

      Returns Backgrounds

      Parameters:
      forDarkTheme - Pass true to order returned backgrounds for a dark theme.

      Returns Backgrounds

    • GetInstalledBackgrounds

      public GetInstalledBackgrounds(DataInput input) throws IOException
      Returns backgrounds installed by the user.

      Returns Backgrounds

      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