Class TdApi.ThemeSettings

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

public static class TdApi.ThemeSettings
extends TdApi.Object
Describes theme settings.
  • Field Details

    • accentColor

      public int accentColor
      Theme accent color in ARGB format.
    • background

      public TdApi.Background background
      The background to be used in chats; may be null.
    • messageFill

      public TdApi.BackgroundFill messageFill
      The fill to be used as a background for outgoing messages.
    • animateMessageFill

      public boolean animateMessageFill
      If true, the freeform gradient fill needs to be animated on every sent message.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • ThemeSettings

      public ThemeSettings()
      Describes theme settings.
    • ThemeSettings

      public ThemeSettings​(int accentColor, TdApi.Background background, TdApi.BackgroundFill messageFill, boolean animateMessageFill)
      Describes theme settings.
      Parameters:
      accentColor - int Theme accent color in ARGB format.
      background - Background The background to be used in chats; may be null.
      messageFill - BackgroundFill The fill to be used as a background for outgoing messages.
      animateMessageFill - boolean If true, the freeform gradient fill needs to be animated on every sent message.
    • ThemeSettings

      public ThemeSettings​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details