UpdateForumTopic class final

Information about a topic in a forum chat was changed

Inheritance

Constructors

UpdateForumTopic({required int chatId, required int forumTopicId, required bool isPinned, required int lastReadInboxMessageId, required int lastReadOutboxMessageId, required int unreadMentionCount, required int unreadReactionCount, required int unreadPollVoteCount, required ChatNotificationSettings notificationSettings, DraftMessage? draftMessage, dynamic extra, int? clientId})
Information about a topic in a forum chat was changed
const
UpdateForumTopic.fromJson(Map<String, dynamic> json)
Parses a UpdateForumTopic from TDLib JSON.
factory

Properties

chatId → int
Chat identifier
final
clientId → int?
Identifier of the TDLib client that sent this object.
final
draftMessage → DraftMessage?
A draft of a message in the topic; may be null if none
final
extra → dynamic
"@extra" of the request this object answers.
final
forumTopicId → int
Forum topic identifier of the topic
final
hashCode → int
The hash code for this object.
no setterinherited
isPinned → bool
True, if the topic is pinned in the topic list
final
lastReadInboxMessageId → int
Identifier of the last read incoming message
final
lastReadOutboxMessageId → int
Identifier of the last read outgoing message
final
notificationSettings → ChatNotificationSettings
Notification settings for the topic
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unreadMentionCount → int
Number of unread messages with a mention/reply in the topic
final
unreadPollVoteCount → int
Number of messages with unread poll votes in the topic
final
unreadReactionCount → int
Number of messages with unread reactions in the topic
final

Methods

copyWith({int? chatId, int? forumTopicId, bool? isPinned, int? lastReadInboxMessageId, int? lastReadOutboxMessageId, int? unreadMentionCount, int? unreadReactionCount, int? unreadPollVoteCount, ChatNotificationSettings? notificationSettings, DraftMessage? draftMessage()?, dynamic extra, int? clientId}) → UpdateForumTopic
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
override
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String
TDLib type name.