MessageThreadInfo class

Inheritance

Constructors

MessageThreadInfo({int chatId, int messageThreadId, MessageReplyInfo replyInfo, List<Message> messages, DraftMessage draftMessage})
Contains information about a message thread
MessageThreadInfo.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
chatId Identifier of the chat to which the message thread belongs
read / write
draftMessage DraftMessage
draftMessage A draft of a message in the message thread; may be null
read / write
extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
messages List<Message>
messages 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
messageThreadId int
messageThreadId Message thread identifier, unique within the chat
read / write
replyInfo MessageReplyInfo
replyInfo Contains information about the message thread
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'messageThreadInfo'