new Broadcast()

Extends
Base

Properties

id  object

ID that represents the chat

msgs  Array of Message

Messages statuses

timestamp  number

Unix timestamp of last status

totalCount  number

Number of available statuses

unreadCount  number

Number of not viewed

Methods

getChat() → Promise containing Chat

Returns the Chat this message was sent in

Returns

Promise containing Chat 

getContact() → Promise containing Contact

Returns the Contact this message was sent from

Returns

Promise containing Contact