Class: ReceivedConversationJoinRequest

ReceivedConversationJoinRequest

ReceivedConversationJoinRequest

Defines an conversation join request received by this client (as a moderator)


new ReceivedConversationJoinRequest()

Extends

Methods


accept()

Accepts the join request & notifies sender

Overrides:
Returns:
Type
Promise

decline()

Declines this invitation & notifies sender

Overrides:
Returns:
Type
Promise

getConversation()

Returns the conversation associated to this request.

Returns:
Type
Conversation

getId()

Returns invitation id

Inherited From:
Overrides:
Returns:
Type
string

getReceiveTime()

Returns invitation receive time

Inherited From:
Overrides:
Returns:
Type
Date

getSender()

Returns invitation / request sender

Inherited From:
Overrides:
Returns:
Type
Contact

on(listener)

Adds a listener to a Observable event

Parameters:
Name Type Description
listener function
Inherited From:
Overrides:
Returns:

this instance for chaining

Type
Observable

removeListener(eventType, listener)

Remove existing listener to Observable event

Parameters:
Name Type Description
eventType String
listener function
Inherited From:
Overrides:
Returns:

this instance for chaining

Type
Observable

Events


statusChange

Emitted invitation status change

Type: StatusChangeInfo
Inherited From:
Overrides: