createTaskFromMessage
Creates a Task associated with an IMMessage and a specific category.
This method generates a new Task linked to the provided instant message and associates it with the specified category. The newly created Task is returned via the listener's onSuccess
method. Additionally, the taskList will be updated automatically to reflect the addition of the new task.
See also the createTask method for creating tasks without a message.
Parameters
The IMMessage that will be bound to the task.
The IRainbowConversation associated with the message.
The category under which the task will be organized.
The position of the task in the list (default is 0).
An optional callback of type RainbowListener<Task, TaskRepository.CreateTaskError> that is invoked upon completion of the operation. If not required, set to null.