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
      Identifier uniquely determining type of the object.
      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 - 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.
  • 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