MsgDraft class

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addMention(String userId) → MsgDraft
add a user mention
addRefDetails(RefDetails details) → MsgDraft
add a ref details
addRoomMention(bool mention) → MsgDraft
whether to mention the entire room
addUrlPreview(LocalUrlPreview details) → MsgDraft
add a url preview
blurhash(String value) → MsgDraft
available for only image/video
drop() → void
Manually drops the object and unregisters the FinalizableHandle.
duration(int value) → MsgDraft
available for only audio/video
filename(String value) → MsgDraft
available for only file
geoUri(String value) → MsgDraft
available for only location
height(int value) → MsgDraft
available for only image/video
intoNewsSlideDraft() → NewsSlideDraft
convert this into a NewsSlideDraft;
intoStorySlideDraft() → StorySlideDraft
convert this into a StorySlideDraft;
mimetype(String value) → MsgDraft
available for only image/audio/video/file
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
size(int value) → MsgDraft
available for only image/audio/video/file
thumbnailFilePath(String value) → MsgDraft
Provide the file system path to a static thumbnail for this media to be read and shared upon sending
thumbnailInfo(int? width, int? height, String? mimetype, int? size) → MsgDraft
available for only image/video/file/location
toString() → String
A string representation of this object.
inherited
width(int value) → MsgDraft
available for only image/video

Operators

operator ==(Object other) → bool
The equality operator.
inherited