Interface SendMessageObject

Hierarchy

  • SendMessageObject

Properties

binaries?: Binary[]

Please be aware this interface is experimental and might change even within a major version!

A list of binaries (files)

extraHeaders?: Header[]

Additional SIP headers to be sent with the message

extraParts?: MultipartPart[]

Additional (custom) Multipart MIME parts to add to the message

html?: string

HTML message to be sent

location?: PidfLo | SimpleLocation

A location to be sent with the message

messageId?: number

Custom message id
Be careful! This message id has to be unique across the whole conversation for all outgoing messages
This does not apply for all incoming messages. They can have another set of unique message ids.

tag?: any

A free to use property for internal identification and matching of messages

text?: string

Text message to be sent

type?: number

Message type (bitmask) according to ETSI TS 103 698
Defaults to EmergencyMessageType.IN_CHAT
See EmergencyMessageType for more information

uris?: string[]

URIs to send along with the message (e.g. for deep linking something)

vcard?: VCard

A VCard to be sent with the message

Generated using TypeDoc