Class TdApi.ForumTopicIcon

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

public static class TdApi.ForumTopicIcon extends TdApi.Object
Describes a forum topic icon.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    Color of the topic icon in RGB format.
    static final int
    Identifier uniquely determining type of the object.
    long
    Unique identifier of the custom emoji shown on the topic icon; 0 if none.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Describes a forum topic icon.
    ForumTopicIcon(int color, long customEmojiId)
    Describes a forum topic icon.
  • Method Summary

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

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

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

    • color

      public int color
      Color of the topic icon in RGB format.
    • customEmojiId

      public long customEmojiId
      Unique identifier of the custom emoji shown on the topic icon; 0 if none.
    • CONSTRUCTOR

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

    • ForumTopicIcon

      public ForumTopicIcon()
      Describes a forum topic icon.
    • ForumTopicIcon

      public ForumTopicIcon(int color, long customEmojiId)
      Describes a forum topic icon.
      Parameters:
      color - Color of the topic icon in RGB format.
      customEmojiId - Unique identifier of the custom emoji shown on the topic icon; 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