MesiboMessage class

Inheritance

Constructors

MesiboMessage({required int mid, required int refid, required int rsid, required int type, required int flags, required int status, required int expiry, required int origin, String? title, String? subtitle, String? footer, String? message, String? filePath, required int fileType, required int fileSize, required double latitude, required double longitude, required MesiboProfileFlutter? profile, required MesiboProfileFlutter? groupProfile, MesiboDateTimeFlutter? ts})

Properties

expiry int
getter/setter pairinherited
filePath String?
getter/setter pairinherited
fileSize int
getter/setter pairinherited
fileType int
getter/setter pairinherited
flags int
getter/setter pairinherited
getter/setter pairinherited
groupProfile MesiboProfileFlutter?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
latitude double
getter/setter pairinherited
longitude double
getter/setter pairinherited
message String?
getter/setter pairinherited
mid int
getter/setter pairinherited
origin int
getter/setter pairinherited
profile MesiboProfileFlutter?
getter/setter pairinherited
refid int
getter/setter pairinherited
rsid int
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
getter/setter pairinherited
subtitle String?
getter/setter pairinherited
title String?
getter/setter pairinherited
ts MesiboDateTimeFlutter?
getter/setter pairinherited
type int
getter/setter pairinherited

Methods

enableBroadcast(bool enable) → void
enableCustom(bool enable) → void
enableDeliveryReceipt(bool enable) → void
enableModify(bool enable) → void
enableReadReceipt(bool enable) → void
enableTransient(bool enable) → void
encode() Object
inherited
getCallDuration() int
getFileSize() int
getInReplyTo() int
getReadSession() MesiboReadSession?
getTimestamp() MesiboDateTime
isAudio() bool
isCall() bool
isCustom() bool
isDate() bool
isDbMessage() bool
isDbPendingMessage() bool
isDbSummaryMessage() bool
isDeleted() bool
isDelivered() bool
isDocument() bool
isEndToEndEncrypted() bool
isEndToEndEncryptionStatus() bool
isFailed() bool
isFileTransferFailed() bool
isForwarded() bool
isGroupMessage() bool
isHeader() bool
isImage() bool
isIncoming() bool
isIncomingCall() bool
isInOutbox() bool
isInvisible() bool
isLastMessage() bool
isMessage() bool
isMissedCall() bool
isModified() bool
isOutgoing() bool
isOutgoingCall() bool
isPendingMessage() bool
isPlainMessage() bool
isPstnCall() bool
isReadByPeer() bool
isReadByUs() bool
isRealtimeMessage() bool
isReply() bool
isRichMessage() bool
isSavedMessage() bool
isSent() bool
isUnread() bool
isVideo() bool
isVideoCall() bool
isVoiceCall() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send() → void
setInReplyTo(int messageid) → void
setInReplyToMessage(MesiboMessage message) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

objMap Map<int, MesiboMessage>
final

Static Methods

createInstance(List<Object?> result, {int? mid, int? refid, int? rsid, int? type, int? flags, int? status, int? expiry, int? origin, String? title, String? subtitle, String? footer, String? message, String? filePath, int? fileType, int? fileSize, double? latitude, double? longitude, MesiboProfileFlutter? profile, MesiboProfileFlutter? groupProfile, MesiboDateTimeFlutter? ts}) MesiboMessage

Constants

CLIENT_MSGFLAG_DELETED → const int
CLIENT_MSGFLAG_FILEFAILED → const int
CLIENT_MSGFLAG_FILETRANSFERRED → const int
CLIENT_MSGFLAG_SAVEONLY → const int
CLIENT_MSGFLAG_WIPED → const int
CM_MSGSTATUS_DATETIME → const int
MESIBO_FILETYPE_AUDIO → const int
MESIBO_FILETYPE_AUTO → const int
MESIBO_FILETYPE_IMAGE → const int
MESIBO_FILETYPE_OTHER → const int
MESIBO_FILETYPE_VIDEO → const int
MESIBO_FLAG_BROADCAST → const int
MESIBO_FLAG_DELIVERYRECEIPT → const int
MESIBO_FLAG_DONTSEND → const int
MESIBO_FLAG_ENCRYPTED → const int
MESIBO_FLAG_EORS → const int
MESIBO_FLAG_FILEFAILED → const int
MESIBO_FLAG_FILETRANSFERRED → const int
MESIBO_FLAG_FORWARDED → const int
MESIBO_FLAG_LASTMESSAGE → const int
MESIBO_FLAG_MODIFY → const int
MESIBO_FLAG_NONBLOCKING → const int
MESIBO_FLAG_PRESENCE → const int
MESIBO_FLAG_READRECEIPT → const int
MESIBO_FLAG_SAVECUSTOM → const int
MESIBO_FLAG_TLV → const int
MESIBO_FLAG_TRANSIENT → const int
MESIBO_MSGSTATUS_BLOCKED → const int
MESIBO_MSGSTATUS_CALLINCOMING → const int
MESIBO_MSGSTATUS_CALLMISSED → const int
MESIBO_MSGSTATUS_CALLOUTGOING → const int
MESIBO_MSGSTATUS_CUSTOM → const int
MESIBO_MSGSTATUS_DATETIME → const int
MESIBO_MSGSTATUS_DELIVERED → const int
MESIBO_MSGSTATUS_E2E → const int
MESIBO_MSGSTATUS_EXPIRED → const int
MESIBO_MSGSTATUS_FAIL → const int
MESIBO_MSGSTATUS_GROUPPAUSED → const int
MESIBO_MSGSTATUS_HEADER → const int
MESIBO_MSGSTATUS_INBOXFULL → const int
MESIBO_MSGSTATUS_INVALIDDEST → const int
MESIBO_MSGSTATUS_INVISIBLE → const int
MESIBO_MSGSTATUS_NOTMEMBER → const int
MESIBO_MSGSTATUS_OUTBOX → const int
MESIBO_MSGSTATUS_READ → const int
MESIBO_MSGSTATUS_RECEIVEDNEW → const int
MESIBO_MSGSTATUS_RECEIVEDREAD → const int
MESIBO_MSGSTATUS_SENT → const int
MESIBO_MSGSTATUS_TIMESTAMP → const int
MESIBO_MSGSTATUS_USEROFFLINE → const int
MESIBO_ORIGIN_DBMESSAGE → const int
MESIBO_ORIGIN_DBSUMMARY → const int
MESIBO_ORIGIN_PENDING → const int
MESIBO_ORIGIN_REALTIME → const int
MESIBO_RESULT_AUTHFAIL → const int
MESIBO_RESULT_BADREQ → const int
MESIBO_RESULT_BUFFERFULL → const int
MESIBO_RESULT_CONNECTFAIL → const int
MESIBO_RESULT_DENIED → const int
MESIBO_RESULT_DISCONNECTED → const int
MESIBO_RESULT_E2EERROR → const int
MESIBO_RESULT_FAIL → const int
MESIBO_RESULT_GENERROR → const int
MESIBO_RESULT_INBOXFULL → const int
MESIBO_RESULT_NOSUCHERROR → const int
MESIBO_RESULT_OK → const int
MESIBO_RESULT_OVERCAPACITY → const int
MESIBO_RESULT_REQINPROGRESS → const int
MESIBO_RESULT_RETRYLATER → const int
MESIBO_RESULT_TIMEOUT → const int
MESIBO_STATUS_ACTIVITY → const int
MESIBO_STATUS_AUTHFAIL → const int
MESIBO_STATUS_CONNECTFAILURE → const int
MESIBO_STATUS_CONNECTING → const int
MESIBO_STATUS_MANDUPDATE → const int
MESIBO_STATUS_NONETWORK → const int
MESIBO_STATUS_OFFLINE → const int
MESIBO_STATUS_ONLINE → const int
MESIBO_STATUS_ONPREMISEERROR → const int
MESIBO_STATUS_SHUTDOWN → const int
MESIBO_STATUS_SIGNOUT → const int
MESIBO_STATUS_STOPPED → const int
MESIBO_STATUS_SUSPEND → const int
MESIBO_STATUS_UNKNOWN → const int
MESIBO_STATUS_UPDATE → const int