ICQ


Send

Send text message to destinaion

Call Method
[C#]
    Send (String NotificationID, String TargetUIN, String Text)
Parameters
   NotificationID
         Notification ID
   TargetUIN
         Target UIN number
   Text
         Message Text
C# Example Switch to language: [VB.NET]
  //Create personalizer object and Session object
  PersonalizerRef.Personalizer pers = new PersonalizerRef.Personalizer() ;
  SessionRef.Session sess = new SessionRef.Session() ;
  string SessionID = "";
  try{
      SessionID = pers.CreateSession("LogonName", "Password");
      //Create ICQ notification
      ICQRef.ICQ objICQ = new ICQRef.ICQ() ;
      //Create server notification object
      string ICQNotifID;
      ICQNotifID = sess.CreateICQNotification(SessionID);
      objICQ.Logon(ICQNotifID, "012345", "Password");
      objICQ.Send(ICQNotifID, "543210", "This is ICQ Notification Message");
      objICQ.SendURL(ICQNotifID, "543210", "www.acrosscommunications.com", "Take a look at my site");
      objICQ.Disconnect(ICQNotifID);
      objICQ.Release(ICQNotifID);
      sess.Release(SessionID);
  }
  catch(Exception e){
      //Print exception message e.Message
      sess.Release(SessionID);
  }