inviteParticipants

suspend fun inviteParticipants(    context: Context,     sessionId: String,     recipients: List<STWRecipient>?,     externalRecipients: List<STWRecipientSingle>?,     conversationName: String?): ApiResult<STWVCall>

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 context
sessionId
    the call id to invite user to join it.
recipients
    the recipients of the invite using the data model [STWRecipient]
externalRecipients
    the external recipients of the invite using the data model [STWRecipientSingle]
conversationName
    conversation name for the created group thread (if initially session was a oneToOne VoIP session) that will be associated to the call session