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
Identifier uniquely determining type of the object.int
Point in time (Unix timestamp) when 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 is the General topic list.boolean
True, if the topic is hidden above the topic list and closed; for General topic only.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 isGeneral, boolean isOutgoing, boolean isClosed, boolean isHidden) Contains basic information about a forum topic.ForumTopicInfo
(DataInput input) Contains basic information about a forum topic. -
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
-
messageThreadId
public long messageThreadIdMessage thread identifier of the topic. -
name
Name of the topic. -
icon
Icon of the topic. -
creationDate
public int creationDatePoint in time (Unix timestamp) when the topic was created. -
creatorId
Identifier of the creator of the topic. -
isGeneral
public boolean isGeneralTrue, if the topic is the General topic list. -
isOutgoing
public boolean isOutgoingTrue, if the topic was created by the current user. -
isClosed
public boolean isClosedTrue, if the topic is closed. -
isHidden
public boolean isHiddenTrue, if the topic is hidden above the topic list and closed; for General topic only. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- 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 isGeneral, boolean isOutgoing, boolean isClosed, boolean isHidden) Contains basic information about a forum topic.- Parameters:
messageThreadId
- Message thread identifier of the topic.name
- Name of the topic.icon
- Icon of the topic.creationDate
- Point in time (Unix timestamp) when the topic was created.creatorId
- Identifier of the creator of the topic.isGeneral
- True, if the topic is the General topic list.isOutgoing
- True, if the topic was created by the current user.isClosed
- True, if the topic is closed.isHidden
- True, if the topic is hidden above the topic list and closed; for General topic only.
-
ForumTopicInfo
Contains basic information about a forum topic.- 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()
-