public static class TdApi.ForumTopic extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.DraftMessage |
draftMessage
A draft of a message in the topic; may be null if none.
|
TdApi.ForumTopicInfo |
info
Basic information about the topic.
|
boolean |
isPinned
True, if the topic is pinned in the topic list.
|
TdApi.Message |
lastMessage
Last message in the topic; may be null if unknown.
|
long |
lastReadInboxMessageId
Identifier of the last read incoming message.
|
long |
lastReadOutboxMessageId
Identifier of the last read outgoing message.
|
TdApi.ChatNotificationSettings |
notificationSettings
Notification settings for the topic.
|
int |
unreadCount
Number of unread messages in the topic.
|
int |
unreadMentionCount
Number of unread messages with a mention/reply in the topic.
|
int |
unreadReactionCount
Number of messages with unread reactions in the topic.
|
| Constructor and Description |
|---|
ForumTopic()
Describes a forum topic.
|
ForumTopic(TdApi.ForumTopicInfo info,
TdApi.Message lastMessage,
boolean isPinned,
int unreadCount,
long lastReadInboxMessageId,
long lastReadOutboxMessageId,
int unreadMentionCount,
int unreadReactionCount,
TdApi.ChatNotificationSettings notificationSettings,
TdApi.DraftMessage draftMessage)
Describes a forum topic.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.ForumTopicInfo info
public TdApi.Message lastMessage
public boolean isPinned
public int unreadCount
public long lastReadInboxMessageId
public long lastReadOutboxMessageId
public int unreadMentionCount
public int unreadReactionCount
public TdApi.ChatNotificationSettings notificationSettings
public TdApi.DraftMessage draftMessage
public static final int CONSTRUCTOR
public ForumTopic()
public ForumTopic(TdApi.ForumTopicInfo info, TdApi.Message lastMessage, boolean isPinned, int unreadCount, long lastReadInboxMessageId, long lastReadOutboxMessageId, int unreadMentionCount, int unreadReactionCount, TdApi.ChatNotificationSettings notificationSettings, TdApi.DraftMessage draftMessage)
info - Basic information about the topic.lastMessage - Last message in the topic; may be null if unknown.isPinned - True, if the topic is pinned in the topic list.unreadCount - Number of unread messages in the topic.lastReadInboxMessageId - Identifier of the last read incoming message.lastReadOutboxMessageId - Identifier of the last read outgoing message.unreadMentionCount - Number of unread messages with a mention/reply in the topic.unreadReactionCount - Number of messages with unread reactions in the topic.notificationSettings - Notification settings for the topic.draftMessage - A draft of a message in the topic; may be null if none.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object