createConversation

fun createConversation(    context: Context,     conversationName: String?,     conversationType: Int,     recipients: List<STWRecipient>,     isAvailableOnlyRecipients: Boolean,     callback: CreationConversationCallback?)

Call this method to create a new conversation, The created conversation will be empty.

The new conversation will be created based on the users, groups and the conversationType parameters.

Parameters

context

The application context

conversationName
conversationType

One of ConversationTypes value

recipients
    The list of MSISDNs (international phone numbers @ fqdn) and/or list of groups (groupName : groupID)
    that you want to start a conversation with
    (example of users format: [groupName1:1,groupName2:2,1234567891@fqdn1.com,1234567892@fqdn2.com,1234567893@fqdn3.com])
isAvailableOnlyRecipients
    If the messages will be sent only to the available recipients.
callback

This callback will be invoked to handle operation result : Success : The conversation is successfully created. Error : a local error occurred when trying to create a conversation