In a large bowl (or in a bowl of a stand mixer), combine the heavy cream, powdered sugar, cocoa powder, coffee liqueur (if using), vanilla, and a pinch of salt. Using hand beaters (or the whisk attachement on a stand mixer) beat on medium-high speed, stopping and scraping down the sides occasionally, until stiff peaks form.