MessagesSaveDraft class

Messages Save Draft.

Return Type: bool. ID: 7ff3b806.

Inheritance

Constructors

MessagesSaveDraft({required bool noWebpage, required bool invertMedia, InputReplyToBase? replyTo, required InputPeerBase peer, required String message, List<MessageEntityBase>? entities, InputMediaBase? media})
Messages Save Draft constructor.
const
MessagesSaveDraft.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

entities List<MessageEntityBase>?
Entities.
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
invertMedia bool
invert_media: bit 6 of flags.6?true
final
media InputMediaBase?
Media.
final
message String
Message.
final
noWebpage bool
no_webpage: bit 1 of flags.1?true
final
peer InputPeerBase
Peer.
final
replyTo InputReplyToBase?
Reply To.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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