Class TdApi.ChatBackground

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatBackground
Enclosing class:
TdApi

public static 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. Applied only to Wallpaper and Fill types of background.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      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 - The background.
      darkThemeDimming - Dimming of the background in dark themes, as a percentage; 0-100. Applied only to Wallpaper and Fill types of background.
  • 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