Module tdlight.api

Class TdApi.ChatBackground

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatBackground
Enclosing class:
TdApi

public static final class TdApi.ChatBackground extends TdApi.Object
Describes a background set for a specific chat.
  • Field Details

    • background

      public TdApi.Background background
      The background.
    • darkThemeDimming

      public int darkThemeDimming
      Dimming of the background in dark themes, as a percentage; 0-100.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ChatBackground

      public ChatBackground()
      Describes a background set for a specific chat.
    • ChatBackground

      public ChatBackground(TdApi.Background background, int darkThemeDimming)
      Describes a background set for a specific chat.
      Parameters:
      background - Background The background.
      darkThemeDimming - int Dimming of the background in dark themes, as a percentage; 0-100.
    • ChatBackground

      public ChatBackground(DataInput input) throws IOException
      Describes a background set for a specific chat.
      Throws:
      IOException
  • Method Details