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 TypeFieldDescriptionlongIdentifier of a forum supergroup chat or a chat with a bot to which the topic belongs.static 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.intForum topic identifier of the topic.Icon of the topic.booleanTrue, if the topic is closed.booleanTrue, if the topic is the General topic.booleanTrue, if the topic is hidden above the topic list and closed; for General topic only.booleanTrue, if the name of the topic wasn't added explicitly.booleanTrue, if the topic was created by the current user.Name of the topic. -
Constructor Summary
ConstructorsConstructorDescriptionContains basic information about a forum topic.ForumTopicInfo(long chatId, int forumTopicId, String name, TdApi.ForumTopicIcon icon, int creationDate, TdApi.MessageSender creatorId, boolean isGeneral, boolean isOutgoing, boolean isClosed, boolean isHidden, boolean isNameImplicit) 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
-
chatId
public long chatIdIdentifier of a forum supergroup chat or a chat with a bot to which the topic belongs. -
forumTopicId
public int forumTopicIdForum topic 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. -
isOutgoing
public boolean isOutgoingTrue, if the topic was created by the current user. -
isClosed
public boolean isClosedTrue, if the topic is closed. If the topic is closed, then the user must have canManageTopics administrator right in the supergroup or must be the creator of the topic to send messages there. -
isHidden
public boolean isHiddenTrue, if the topic is hidden above the topic list and closed; for General topic only. -
isNameImplicit
public boolean isNameImplicitTrue, if the name of the topic wasn't added explicitly. -
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 chatId, int forumTopicId, String name, TdApi.ForumTopicIcon icon, int creationDate, TdApi.MessageSender creatorId, boolean isGeneral, boolean isOutgoing, boolean isClosed, boolean isHidden, boolean isNameImplicit) Contains basic information about a forum topic.- Parameters:
chatId- Identifier of a forum supergroup chat or a chat with a bot to which the topic belongs.forumTopicId- Forum topic 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.isOutgoing- True, if the topic was created by the current user.isClosed- True, if the topic is closed. If the topic is closed, then the user must have canManageTopics administrator right in the supergroup or must be the creator of the topic to send messages there.isHidden- True, if the topic is hidden above the topic list and closed; for General topic only.isNameImplicit- True, if the name of the topic wasn't added explicitly.
-
-
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
-