/// <summary> /// Send a new message to the room. /// </summary> /// <param name="message">Message.</param> /// <returns>Event ID of the sent message</returns> public string SendMessage(MatrixMRoomMessage message) { var t = api.RoomMessageSend(ID, "m.room.message", message); t.Wait(); return(t.Result); }
/// <summary> /// Send a new message to the room. /// </summary> /// <param name="message">Message.</param> public void SendMessage(MatrixMRoomMessage message) { api.RoomMessageSend(ID, "m.room.message", message); }