invite Participants
suspend fun inviteParticipants( context: Context, sessionId: String, recipients: List<STWRecipient>?, externalRecipients: List<STWRecipientSingle>?, conversationName: String?): ApiResult<STWVCall>
Content copied to clipboard
Call this method to invite new participants to a PTT or Conference call
Return
a ApiResult.Success of STWVCall object if the call started successfully or else will return ApiResult.Error if not
Parameters
context
the application contextContent copied to clipboard
session Id
the call id to invite user to join it.Content copied to clipboard
recipients
the recipients of the invite using the data model [STWRecipient]Content copied to clipboard
external Recipients
the external recipients of the invite using the data model [STWRecipientSingle]Content copied to clipboard
conversation Name
conversation name for the created group thread (if initially session was a oneToOne VoIP session) that will be associated to the call session Content copied to clipboard