From the Lightning Network's whitepaper, page 19:
If they do not broadcast their most recent version, they will be penalized by taking all the funds in the channel and giving it to the counterparty.
...
If they do broadcast their most recent Commitment Transaction, there should be no revocation transaction superseding the revocable transaction, so they will be able to receive their funds after some set amount of time (1000 confirmations).
By revocation transaction, I assume the author implies that one party can prove on the main chain that the Commitment Transaction broadcast by the counterparty was not the most recent one.
Given that's true, will the party receive all the funds in that channel? Conversely, what happens if the counterparty goes offline for a long time (more than 1,000 blocks as per the example in there) and there's no revocation transaction, despite the fact the broadcaster lied about the Commitment Transaction?