public static class TdApi.ForumTopicInfo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
creationDate
Point in time (Unix timestamp) when the topic was created.
|
TdApi.MessageSender |
creatorId
Identifier of the creator of the topic.
|
TdApi.ForumTopicIcon |
icon
Icon of the topic.
|
boolean |
isClosed
True, if the topic is closed.
|
boolean |
isGeneral
True, if the topic is the General topic list.
|
boolean |
isHidden
True, if the topic is hidden above the topic list and closed; for General topic only.
|
boolean |
isOutgoing
True, if the topic was created by the current user.
|
long |
messageThreadId
Message thread identifier of the topic.
|
java.lang.String |
name
Name of the topic.
|
| Constructor and Description |
|---|
ForumTopicInfo()
Contains basic information about a forum topic.
|
ForumTopicInfo(long messageThreadId,
java.lang.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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long messageThreadId
public java.lang.String name
public TdApi.ForumTopicIcon icon
public int creationDate
public TdApi.MessageSender creatorId
public boolean isGeneral
public boolean isOutgoing
public boolean isClosed
public boolean isHidden
public static final int CONSTRUCTOR
public ForumTopicInfo()
public ForumTopicInfo(long messageThreadId,
java.lang.String name,
TdApi.ForumTopicIcon icon,
int creationDate,
TdApi.MessageSender creatorId,
boolean isGeneral,
boolean isOutgoing,
boolean isClosed,
boolean isHidden)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object