Dialog class
Dialog.
ID: d58a08c6
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- DialogBase
- Dialog
Constructors
- Dialog({required bool pinned, required bool unreadMark, required bool viewForumAsMessages, required PeerBase peer, required int topMessage, required int readInboxMaxId, required int readOutboxMaxId, required int unreadCount, required int unreadMentionsCount, required int unreadReactionsCount, required PeerNotifySettingsBase notifySettings, int? pts, DraftMessageBase? draft, int? folderId, int? ttlPeriod})
-
Dialog constructor.
const
- Dialog.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- draft → DraftMessageBase?
-
Draft.
final
- flags → int
-
Flags.
no setter
- folderId → int?
-
Folder Id.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- notifySettings → PeerNotifySettingsBase
-
Notify Settings.
final
- peer → PeerBase
-
Peer.
final
- pinned → bool
-
pinned: bit 2 of flags.2?true
final
- pts → int?
-
Pts.
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
- topMessage → int
-
Top Message.
final
- ttlPeriod → int?
-
Ttl Period.
final
- unreadCount → int
-
Unread Count.
final
- unreadMark → bool
-
unread_mark: bit 3 of flags.3?true
final
- unreadMentionsCount → int
-
Unread Mentions Count.
final
- unreadReactionsCount → int
-
Unread Reactions Count.
final
- viewForumAsMessages → bool
-
view_forum_as_messages: bit 6 of flags.6?true
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