BeepMessage object
Object that holds information about the message.

  NameDescription 
  BodyHolds complete body of message, including headers. 
  ChannelIDHolds channel ID where message belongs. 
  HeadersReferences collection of headers for the message. 
  IDHolds unique message ID in the channel. 
  SaveCopies message to file on disk. 
  SizeHolds size of message text, in bytes. 
  TagTag for miscellaneous use. 
  TextHolds body (without headers). 
  TypeHolds message type. 
 

BeepMessage object is responsible for keeping information about the message. You will define here message type, set up headers, add text, and then just send the message to remote peer.

Message structure is simple: it contains Headers and the Body. Type of data in the body depends on the profile - this can be XML, but also anything else if you defined your own profile.