whenInvoiceContent

inline fun <T> ResendableContent.whenInvoiceContent(block: (InvoiceContent) -> T): T?