java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ForumTopicIcon
- Enclosing class:
- TdApi
Describes a forum topic icon.
-
Field Summary
Modifier and TypeFieldDescriptionint
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
ConstructorDescriptionDescribes a forum topic icon.ForumTopicIcon
(int color, long customEmojiId) Describes a forum topic icon.ForumTopicIcon
(DataInput input) Describes a forum topic icon. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
color
public int colorColor of the topic icon in RGB format. -
customEmojiId
public long customEmojiIdUnique identifier of the custom emoji shown on the topic icon; 0 if none. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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.
-
ForumTopicIcon
Describes a forum topic icon.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-