Class TdApi.UpdateChatAccentColors

Enclosing class:
TdApi

public static class TdApi.UpdateChatAccentColors extends TdApi.Update
Chat accent colors have changed.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The new chat accent color identifier.
    long
    The new identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none.
    long
    Chat identifier.
    static final int
    Identifier uniquely determining type of the object.
    int
    The new chat profile accent color identifier; -1 if none.
    long
    The new identifier of a custom emoji to be shown on the profile background; 0 if none.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Chat accent colors have changed.
    UpdateChatAccentColors(long chatId, int accentColorId, long backgroundCustomEmojiId, int profileAccentColorId, long profileBackgroundCustomEmojiId)
    Chat accent colors have changed.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • accentColorId

      public int accentColorId
      The new chat accent color identifier.
    • backgroundCustomEmojiId

      public long backgroundCustomEmojiId
      The new identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none.
    • profileAccentColorId

      public int profileAccentColorId
      The new chat profile accent color identifier; -1 if none.
    • profileBackgroundCustomEmojiId

      public long profileBackgroundCustomEmojiId
      The new identifier of a custom emoji to be shown on the profile background; 0 if none.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • UpdateChatAccentColors

      public UpdateChatAccentColors()
      Chat accent colors have changed.
    • UpdateChatAccentColors

      public UpdateChatAccentColors(long chatId, int accentColorId, long backgroundCustomEmojiId, int profileAccentColorId, long profileBackgroundCustomEmojiId)
      Chat accent colors have changed.
      Parameters:
      chatId - Chat identifier.
      accentColorId - The new chat accent color identifier.
      backgroundCustomEmojiId - The new identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none.
      profileAccentColorId - The new chat profile accent color identifier; -1 if none.
      profileBackgroundCustomEmojiId - The new identifier of a custom emoji to be shown on the profile background; 0 if none.
  • 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