public void SendGroupUpDownFile(string fromJid, long gid, string message, string style, int type) { GroupMessageRequest request = new GroupMessageRequest(); request.from_jid = fromJid; request.gid = gid; request.message = message; request.style = style; request.type = type; this.connection.Send(PacketType.ENT_GROUP_MESSAGE, request); }
public void SendMessageGroup(Message message) { if (message != null) { GroupMessageRequest request = new GroupMessageRequest(); request.from_jid = message.FromJid; request.gid = message.Gid; request.message = this.utilService.MessageEncode(message.MessageBlocks); request.style = message.Style.ToString(); this.connection.Send(PacketType.ENT_GROUP_MESSAGE, request); } }
public void SendGroupDownLoadFile(string fromJid, long gid, string message, string style, int type, string filename, string icon, string urL) { GroupMessageRequest request = new GroupMessageRequest(); request.from_jid = fromJid; request.gid = gid; request.message = message; request.style = style; request.type = type; request.fileName = filename; request.url = urL; request.icon = icon; this.connection.Send(PacketType.ENT_GROUP_MESSAGE, request); }