Package org.drinkless.tdlib
Class TdApi.UpdateForumTopic
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Update
org.drinkless.tdlib.TdApi.UpdateForumTopic
- Enclosing class:
- TdApi
Information about a topic in a forum chat was changed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.A draft of a message in the topic; may be null if none.intForum topic identifier of the topic.booleanTrue, if the topic is pinned in the topic list.longIdentifier of the last read incoming message.longIdentifier of the last read outgoing message.Notification settings for the topic.intNumber of unread messages with a mention/reply in the topic.intNumber of messages with unread reactions in the topic. -
Constructor Summary
ConstructorsConstructorDescriptionInformation about a topic in a forum chat was changed.UpdateForumTopic(long chatId, int forumTopicId, boolean isPinned, long lastReadInboxMessageId, long lastReadOutboxMessageId, int unreadMentionCount, int unreadReactionCount, TdApi.ChatNotificationSettings notificationSettings, TdApi.DraftMessage draftMessage) Information about a topic in a forum chat was changed. -
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 chatIdChat identifier. -
forumTopicId
public int forumTopicIdForum topic identifier of the topic. -
isPinned
public boolean isPinnedTrue, if the topic is pinned in the topic list. -
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 if none. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateForumTopic
public UpdateForumTopic()Information about a topic in a forum chat was changed. -
UpdateForumTopic
public UpdateForumTopic(long chatId, int forumTopicId, boolean isPinned, long lastReadInboxMessageId, long lastReadOutboxMessageId, int unreadMentionCount, int unreadReactionCount, TdApi.ChatNotificationSettings notificationSettings, TdApi.DraftMessage draftMessage) Information about a topic in a forum chat was changed.- Parameters:
chatId- Chat identifier.forumTopicId- Forum topic identifier of the topic.isPinned- True, if the topic is pinned in the topic list.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.
-
-
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
-