Is er een aanbevolen manier om de huidige gebruikersnaam van een bericht te krijgen?

Oh, well, the particulars are different but the answer is the same. There should be examples in the developer’s guide, so you can see how to access current_user.