DraftMessage class
Draft Message.
ID: 3fccf7ef
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- DraftMessageBase
- DraftMessage
Constructors
-
DraftMessage({required bool noWebpage, required bool invertMedia, InputReplyToBase? replyTo, required String message, List<
MessageEntityBase> ? entities, InputMediaBase? media, required DateTime date}) -
Draft Message constructor.
const
- DraftMessage.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- date → DateTime
-
Date.
final
-
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
- 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