Class TdApi.InputBackgroundLocal

Enclosing class:
TdApi

public static 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:
      Constant Field Values
  • 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
      Throws:
      IOException
  • Method Details