Contact - Properties
The Contact class provides many properties for each contact.
Properties
Email - Read Only (String)
Contact email address
ChatName - Read Only (String)
Contact chat name (if they use MessengerDiscovery)
FriendlyName - Read Only (String)
Contact friendly name (contains all msgplus formatting codes)
PreviousFriendlyName - Read Only (String)
Contact previous friendly name
FriendlyNameEncoded - Read Only (String)
Contact friendly name as used in MSNP (URL encoded)
Status - Read Only (Contact.Statuses)
Status of the contact
PreviousStatus - Read Only (Contact.Statuses)
Previous status of the contact
Status2009 - Read Only (Contact.Statuses)
Status of the contact limited to Windows Live Messenger 2009 statuses (Available/Offline/Busy/Away)
StatusAsImageIndex - Read Only (Integer)
Image index for event log icons
DisplayPicturePath - Read Only (String)
Path to the users display picture
DisplayPictureFileName - Read Only (String)
File name of the contacts display picture
Blocked (Boolean)
Set:
True to block the contact, False to unblock
Get:
True if the contact is blocked, False if they are not
DeletedMe - Read Only (Boolean)
True if the contact has deleted the user, False if they have not
Properties(String) (String)
Use this property to store information on a contact so that your plugin can recall that information later. The information for the contact is retained permanently.
Set("Value"): saves a string value under the name "Value"
Get("Value"): returns a saved string value under the name "Value"
LastMessage - Read Only (String)
LastMessageDateTime - Read Only (DateTime)
DateTime of the last message received from the contact.
ReceivedMessageCount - Read Only (Long)
Amount of messages received from the contact.
SentMessageCount - Read Only (Long)
Amount of messages sent to the contact.
PersonalMessage - Read Only (String)
Contact personal message
MachineGUID - Read Only (String)
Unique identifier of the machine (computer) the contact is (or was last seen) on
FontName - Read Only (String)
Name of the font the contact uses (URL encoded)
FontEffect - Read Only (String)
Effects of the font the the contact uses. (B=Bold, U=Underline, I=Italic, combined to one string, e.g. "BI")
FontColor - Read Only (String)
Font color that the contact uses in HEX BGR format
FontPitch - Read Only (String)
Font pitch for the contacts font.
FontRightAlign - Read Only (Boolean)
True is the contact font is right-aligned, False if it is not.
ClientID - Read Only (Long)
Identifier of contact's Messenger Client (used to determine which version and capabilities of Messenger).
NetworkID - Read Only (Long)
Network identifier of contact's Messenger Client (used to determine if the contact is Yahoo or Windows Live).
UnblockDateTime - Read Only (DateTime)
DateTime of when the contact will be auto-unblocked.