java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ForumTopicInfo
- Enclosing class:
- TdApi
Contains basic information about a forum topic.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
Date the topic was created.Identifier of the creator of the topic.Icon of the topic.boolean
True, if the topic is closed.boolean
True, if the topic was created by the current user.long
Message thread identifier of the topic.Name of the topic. -
Constructor Summary
ConstructorDescriptionContains basic information about a forum topic.ForumTopicInfo
(long messageThreadId, String name, TdApi.ForumTopicIcon icon, int creationDate, TdApi.MessageSender creatorId, boolean isOutgoing, boolean isClosed) Contains basic information about a forum topic.ForumTopicInfo
(DataInput input) Contains basic information about a forum topic. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
messageThreadId
public long messageThreadIdMessage thread identifier of the topic. -
name
Name of the topic. -
icon
Icon of the topic. -
creationDate
public int creationDateDate the topic was created. -
creatorId
Identifier of the creator of the topic. -
isOutgoing
public boolean isOutgoingTrue, if the topic was created by the current user. -
isClosed
public boolean isClosedTrue, if the topic is closed. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ForumTopicInfo
public ForumTopicInfo()Contains basic information about a forum topic. -
ForumTopicInfo
public ForumTopicInfo(long messageThreadId, String name, TdApi.ForumTopicIcon icon, int creationDate, TdApi.MessageSender creatorId, boolean isOutgoing, boolean isClosed) Contains basic information about a forum topic.- Parameters:
messageThreadId
- long Message thread identifier of the topic.name
- String Name of the topic.icon
- ForumTopicIcon Icon of the topic.creationDate
- int Date the topic was created.creatorId
- MessageSender Identifier of the creator of the topic.isOutgoing
- boolean True, if the topic was created by the current user.isClosed
- boolean True, if the topic is closed.
-
ForumTopicInfo
Contains basic information about a forum topic.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-