Module tdlight.api

Class TdApi.InputBackgroundLocal

Enclosing class:
TdApi

public static final class TdApi.InputBackgroundLocal extends TdApi.InputBackground
A background from a local file.
  • Field Details

    • background

      public TdApi.InputFile background
      Background file to use. Only inputFileLocal and inputFileGenerated are supported. The file must be in JPEG format for wallpapers and in PNG format for patterns.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • InputBackgroundLocal

      public InputBackgroundLocal()
      A background from a local file.
    • InputBackgroundLocal

      public InputBackgroundLocal(TdApi.InputFile background)
      A background from a local file.
      Parameters:
      background - InputFile Background file to use. Only inputFileLocal and inputFileGenerated are supported. The file must be in JPEG format for wallpapers and in PNG format for patterns.
    • InputBackgroundLocal

      public InputBackgroundLocal(DataInput input) throws IOException
      A background from a local file.
      Throws:
      IOException
  • Method Details