Exemple #1
0
 public void SendLongGroupMessage(Richtext message, long group)
 {
     foreach (var packet in Send_0x0002.SendLongMessage(QQUser, message, group))
     {
         Send(packet.WriteData());
     }
 }
Exemple #2
0
 /// <summary>
 /// 发送群消息
 /// </summary>
 /// <param name="message"></param>
 /// <param name="group"></param>
 /// <param name="MessageType">消息类型</param>
 public void SendLongGroupMessage(string message, long group, FriendMessageType MessageType)
 {
     message = message.Replace("\n", "\r").Trim();
     foreach (var packet in Send_0x0002.SendLongMessage(QQUser, message, MessageType, group))
     {
         Send(packet.WriteData());
     }
 }
Exemple #3
0
 public void SendLongGroupMessage(string message, long group)
 {
     message = message.Replace("\n", "\r").Trim();
     foreach (var packet in Send_0x0002.SendLongMessage(QQUser, message, FriendMessageType.GroupMessage, group))
     {
         var sendBuffer = new ByteBuffer();
         packet.Fill(sendBuffer);
         Send(sendBuffer);
     }
 }