|Current information about Live Connect is now available in the Windows Live Developer Center. The information in the following sections is provided for legacy purposes only.|
A conversation is a logical container for communication between two or more contacts. As a user and contact communicate with one another, text messages and typing indicators are transmitted to each participant of the conversation. Applications commonly render these communications in a conversation window which has an input area and a history of communications between the user and contact.
To create a conversation with a Contact, use the create(Contact) method of the conversations property on User. Once a Conversation has been created, a TextMessage can be sent using the sendMessage(Message) method of conversation.
The collectionChanged event of the conversations property on User is raised when conversations are added to the collection. This event should be handled to detect when the user has been invited to conversations by other contacts.
The messageReceived event is raised whenever messages from other participants of the conversation are delivered to the user. The event should be handled to detect messages that have been received.
To add more participants to a conversation, the inviteContact(Contact) method can be used.