public void SendVibration(string fromJid, string toJid) { if (ValidationUtil.Jid(fromJid) && ValidationUtil.Jid(toJid)) { CommonRequest request = new CommonRequest(); request.from_jid = fromJid; request.to_jid = toJid; request.type = 1; this.connection.Send(PacketType.COMMON, request); } }