Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Message

Hierarchy

  • Message

Index

Properties

conversation

conversation: Conversation

The corresponding conversation

dateTime

dateTime: Date

Date and time when the message was sent/received

Optional extraHeaders

extraHeaders?: Header[]

Additional SIP headers to be sent with the message

Optional extraParts

extraParts?: MultipartPart[]

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

id

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

Optional jssipMessage

The corresponding raw message from the SIP stack JsSIP
For outgoing messages this will only be resolved after property promise is resolved

Optional location

location?: <internal>.PidfLo

The caller's location at time of sending the message

origin

origin: Origin

Where the message was sent from (LOCAL or REMOTE)

promise

promise: Promise<void | OutgoingEvent>

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

state

The message's state

Optional text

text?: string

Chat message text

type

type: number

The ETSI TS 103 698 message type

uniqueId

uniqueId: number

An internally generated id that is unique among all messages within ng112-js, even across multiple conversations

Optional uris

uris?: string[]

A list of URIs

Optional vcard

vcard?: VCard

The caller's vcard at time of sending the message

Generated using TypeDoc