Exemplo n.º 1
0
 /// <summary>
 /// 添加好友
 /// </summary>
 /// <param name="QQ">QQ号码</param>
 /// <param name="Message">附言</param>
 /// <param name="OutSender">跟踪QQ</param>
 private void Action_AddFriend(UInt32 QQ, string Message, UInt32?OutSender = null)
 {
     if (OutSender == null)
     {
         ApiPlugin.AddFriend(QQ, Message);
     }
     else
     {
         ApiPlugin.AddFriend(QQ, Message, (UInt32)OutSender);
     }
 }