Class: ReceivedConversationInvitation

ReceivedConversationInvitation

ReceivedConversationInvitation


new ReceivedConversationInvitation()

Extends

Methods


accept(stream, options)

Accepts this invitation & notifies sender

Parameters:
Name Type Description
stream Stream

Optional, if set, the stream will be published in the joined conversation

options JoinOptions

join conversation options

Overrides:
Returns:

joined conversation in promise

Type
Promise.<Conversation>

decline()

Declines this invitation & notifies sender

Overrides:
Returns:
Type
Void

getConversation()

Returns associated conversation

Returns:
Type
Conversation

getId()

Returns invitation id

Inherited From:
Returns:
Type
string

getReceiveTime()

Returns invitation receive time

Inherited From:
Returns:
Type
Date

getSender()

Returns invitation / request sender

Inherited From:
Returns:
Type
Contact

Events


statusChange

Emitted invitation status change

Type: StatusChangeInfo
Inherited From: