MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system


TMsgContactInfo type

Top  Previous  Next

TMsgContactInfo contains user details for contact list.

Unit
MsgComBase

type

TMsgContactInfo = packed record
UserInfo:       TMsgUserInfo;
ContactNameSource:       TMsgContactNameSource;
ContactCustomName:    ShortString;
end;
PMsgContactInfo = ^TMsgContactInfo;

TMsgContactInfoArray = array of TMsgContactInfo;

Description
TMsgContactInfo type contains user detais for contact list.
ContactNameSource indicates what is the visible name equal to.
ContactCustomName contains a custom name. TMsgContactNameSource must be equal to mcnsCustom to visualise this custom name.

Read about TMsgContactNameSource type to learn details.
If you need to get the name of the contact according to contact settings, call GetContactDisplayName.



© AidAim Software MsgCommunicator: Delphi Messenger Sdk Instant Messaging Sdk Im Sdk