Package org.drinkless.tdlib
Class TdApi.ForumTopicInfo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ForumTopicInfo
- Enclosing class:
- TdApi
Contains basic information about a forum topic.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intPoint in time (Unix timestamp) when the topic was created.Identifier of the creator of the topic.Icon of the topic.booleanTrue, if the topic is closed.booleanTrue, if the topic is the General topic list.booleanTrue, if the topic is hidden above the topic list and closed; for General topic only.booleanTrue, if the topic was created by the current user.longMessage thread identifier of the topic.Name of the topic. -
Constructor Summary
ConstructorsConstructorDescriptionContains 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. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-