DraftMessage class

Inheritance

Constructors

DraftMessage({int replyToMessageId, int date, InputMessageContent inputMessageText})
Contains information about a message draft
DraftMessage.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

date int
date Point in time (Unix timestamp) when the draft was created
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inputMessageText InputMessageContent
inputMessageText Content of the message draft; this should always be of type inputMessageText
read / write
replyToMessageId int
replyToMessageId Identifier of the message to reply to; 0 if none
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
'draftMessage'