ForumTopic class

Forum Topic.

ID: 71701da9.

Inheritance

Constructors

ForumTopic({required bool my, required bool closed, required bool pinned, required bool short, required bool hidden, required int id, required DateTime date, required String title, required int iconColor, int? iconEmojiId, required int topMessage, required int readInboxMaxId, required int readOutboxMaxId, required int unreadCount, required int unreadMentionsCount, required int unreadReactionsCount, required PeerBase fromId, required PeerNotifySettingsBase notifySettings, DraftMessageBase? draft})
Forum Topic constructor.
const
ForumTopic.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

closed bool
closed: bit 2 of flags.2?true
final
date DateTime
Date.
final
draft DraftMessageBase?
Draft.
final
flags int
Flags.
no setter
fromId PeerBase
From Id.
final
hashCode int
The hash code for this object.
no setterinherited
hidden bool
hidden: bit 6 of flags.6?true
final
iconColor int
Icon Color.
final
iconEmojiId int?
Icon Emoji Id.
final
id int
Id.
final
my bool
my: bit 1 of flags.1?true
final
notifySettings PeerNotifySettingsBase
Notify Settings.
final
pinned bool
pinned: bit 3 of flags.3?true
final
readInboxMaxId int
Read Inbox Max Id.
final
readOutboxMaxId int
Read Outbox Max Id.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
short bool
short: bit 5 of flags.5?true
final
title String
Title.
final
topMessage int
Top Message.
final
unreadCount int
Unread Count.
final
unreadMentionsCount int
Unread Mentions Count.
final
unreadReactionsCount int
Unread Reactions Count.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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