UpdateChatDraftMessage class

A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update mustn't be applied.

Inheritance
Available Extensions

Constructors

UpdateChatDraftMessage({required int chat_id, DraftMessage? draft_message, required List<ChatPosition> positions, int? extra, int? clientId})
A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update mustn't be applied

Properties

chat_id int
Chat identifier.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
draft_message DraftMessage?
The new draft message; may be null.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
positions List<ChatPosition>
The new chat positions in the chat lists.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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) UpdateChatDraftMessage?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"updateChatDraftMessage"