Hierarchy

  • MessageConfig

Properties

binaries?: Binary[]

A list of binaries (files)

conversation: Conversation

The corresponding conversation

dateTime?: Date

Date and time when the message was sent/received

did?: string

A decentralized identifier
For example, this identifier may resolve to credential about personal data

Raw SIP event

extraHeaders?: Header[]

Additional SIP headers to be sent with the message

html?: string

Chat message html

id: string | number

If message is outgoing (LOCAL): An incremental, unique id (parseable as number)
If message is incoming (REMOTE): A unique id
This is because according to the standard both unique numbers or strings are allowed
However, this library ALWAYS uses numbers for outgoing messages

location?: PidfLo

The caller's vcard at time of sending the message

multipart?: Multipart

A multipart object containing all the elements from the SIP body

origin: Origin

Where the message was sent from (LOCAL or REMOTE)

promise: Promise<void>

Promise that's resolved if the message was received by the other communicating party

The message's state

tag?: any

A free to use property for internal identification and matching of messages This is helpful, if you want to use ng112-js as a PSAP and want to tag incoming messages

text?: string

Chat message text

type: number

The ETSI TS 103 698 message type

uris?: string[]

A list of URIs

vcard?: VCard

The caller's vcard at time of sending the message

Generated using TypeDoc