Expose send_payment_for_bolt12_invoice
[rust-lightning] / lightning / src / util / config.rs
index d2e038b833d24f19f7fe6322c0f78cc5d4da772d..4e124c27fd95d4f70b83e184ed291f0e56b3e9ef 100644 (file)
@@ -859,12 +859,16 @@ pub struct UserConfig {
        /// If this is set to `true`, the user needs to manually pay [`Bolt12Invoice`]s when received.
        ///
        /// When set to `true`, [`Event::InvoiceReceived`] will be generated for each received
-       /// [`Bolt12Invoice`] instead of being automatically paid after verification.
+       /// [`Bolt12Invoice`] instead of being automatically paid after verification. Use
+       /// [`ChannelManager::send_payment_for_bolt12_invoice`] to pay the invoice or
+       /// [`ChannelManager::abandon_payment`] to abandon the associated payment.
        ///
        /// Default value: `false`
        ///
        /// [`Bolt12Invoice`]: crate::offers::invoice::Bolt12Invoice
        /// [`Event::InvoiceReceived`]: crate::events::Event::InvoiceReceived
+       /// [`ChannelManager::send_payment_for_bolt12_invoice`]: crate::ln::channelmanager::ChannelManager::send_payment_for_bolt12_invoice
+       /// [`ChannelManager::abandon_payment`]: crate::ln::channelmanager::ChannelManager::abandon_payment
        pub manually_handle_bolt12_invoices: bool,
 }