I don't understand what the thread class is in FOSMessageBundle (https://github.com/FriendsOfSymfony/FOSMessageBundle).
Could you explain what it represents?
A thread is like a conversation, it contains a list of messages between the same participants.
A close look at the model class will help you understand how it works:
A thread contains a collection of Messages as well as important Metadata about the thread.
/**
* Messages contained in this thread.
*
* @var Collection|MessageInterface[]
*/
protected $messages;
/**
* Thread metadata.
*
* @var Collection|ThreadMetadata[]
*/
protected $metadata;
/**
* Users participating in this conversation.
*
* @var Collection|ParticipantInterface[]
*/
protected $participants;