java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ForumTopic
- Enclosing class:
- TdApi
Describes a forum topic.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
A draft of a message in the topic; may be null.Basic information about the topic.boolean
True, if the topic is pinned in the topic list.Last message in the topic; may be null if unknown.long
Identifier of the last read incoming message.long
Identifier of the last read outgoing message.Notification settings for the topic.int
Number of unread messages in the topic.int
Number of unread messages with a mention/reply in the topic.int
Number of messages with unread reactions in the topic. -
Constructor Summary
ConstructorDescriptionDescribes 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.ForumTopic
(DataInput input) Describes a forum topic. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
info
Basic information about the topic. -
lastMessage
Last message in the topic; may be null if unknown. -
isPinned
public boolean isPinnedTrue, if the topic is pinned in the topic list. -
unreadCount
public int unreadCountNumber of unread messages in the topic. -
lastReadInboxMessageId
public long lastReadInboxMessageIdIdentifier of the last read incoming message. -
lastReadOutboxMessageId
public long lastReadOutboxMessageIdIdentifier of the last read outgoing message. -
unreadMentionCount
public int unreadMentionCountNumber of unread messages with a mention/reply in the topic. -
unreadReactionCount
public int unreadReactionCountNumber 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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ForumTopic
public ForumTopic()Describes a forum topic. -
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) Describes a forum topic.- Parameters:
info
- ForumTopicInfo Basic information about the topic.lastMessage
- Message Last message in the topic; may be null if unknown.isPinned
- boolean True, if the topic is pinned in the topic list.unreadCount
- int Number of unread messages in the topic.lastReadInboxMessageId
- long Identifier of the last read incoming message.lastReadOutboxMessageId
- long Identifier of the last read outgoing message.unreadMentionCount
- int Number of unread messages with a mention/reply in the topic.unreadReactionCount
- int Number of messages with unread reactions in the topic.notificationSettings
- ChatNotificationSettings Notification settings for the topic.draftMessage
- DraftMessage A draft of a message in the topic; may be null.
-
ForumTopic
Describes a forum topic.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-