MessageThreadInfo class

Contains information about a message thread.

Inheritance
Available Extensions

Constructors

MessageThreadInfo({required int chat_id, required int message_thread_id, MessageReplyInfo? reply_info, required int unread_message_count, required List<Message> messages, DraftMessage? draft_message, int? extra, int? clientId})
Contains information about a message thread

Properties

chat_id int
Identifier of the chat to which the message thread belongs.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
draft_message DraftMessage?
A draft of a message in the message thread; may be null if none.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
message_thread_id int
Message thread identifier, unique within the chat.
read / write
messages List<Message>
The messages from which the thread starts. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id).
read / write
reply_info MessageReplyInfo?
Information about the message thread; may be null for forum topic threads.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
unread_message_count int
Approximate number of unread messages in the message thread.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) MessageThreadInfo?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"messageThreadInfo"