Class TdApi.ForumTopic
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ForumTopic
- Enclosing class:
- TdApi
Describes a forum topic.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.A draft of a message in the topic; may be null if none.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
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 if none. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- 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
- 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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-