@@ -133,17 +133,17 @@ pub struct Bolt11ReceiveResponse {
133133#[ allow( clippy:: derive_partial_eq_without_eq) ]
134134#[ derive( Clone , PartialEq , :: prost:: Message ) ]
135135pub struct Bolt11SendRequest {
136- /// An invoice for a payment within the Lightning Network.
137- #[ prost( string, tag = "1" ) ]
138- pub invoice : :: prost:: alloc:: string:: String ,
139- /// Set this field when paying a so-called "zero-amount" invoice, i.e., an invoice that leaves the
140- /// amount paid to be determined by the user.
141- /// This operation will fail if the amount specified is less than the value required by the given invoice.
142- #[ prost( uint64, optional, tag = "2" ) ]
143- pub amount_msat : :: core:: option:: Option < u64 > ,
144- /// Configuration options for payment routing and pathfinding.
145- #[ prost( message, optional, tag = "3" ) ]
146- pub route_parameters : :: core:: option:: Option < super :: types:: RouteParametersConfig > ,
136+ /// An invoice for a payment within the Lightning Network.
137+ #[ prost( string, tag = "1" ) ]
138+ pub invoice : :: prost:: alloc:: string:: String ,
139+ /// Set this field when paying a so-called "zero-amount" invoice, i.e., an invoice that leaves the
140+ /// amount paid to be determined by the user.
141+ /// This operation will fail if the amount specified is less than the value required by the given invoice.
142+ #[ prost( uint64, optional, tag = "2" ) ]
143+ pub amount_msat : :: core:: option:: Option < u64 > ,
144+ /// Configuration options for payment routing and pathfinding.
145+ #[ prost( message, optional, tag = "3" ) ]
146+ pub route_parameters : :: core:: option:: Option < super :: types:: RouteParametersConfig > ,
147147}
148148/// The response `content` for the `Bolt11Send` API, when HttpStatusCode is OK (200).
149149/// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
@@ -208,6 +208,9 @@ pub struct Bolt12SendRequest {
208208 /// If set, it will be seen by the recipient and reflected back in the invoice.
209209 #[ prost( string, optional, tag = "4" ) ]
210210 pub payer_note : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
211+ /// Configuration options for payment routing and pathfinding.
212+ #[ prost( message, optional, tag = "5" ) ]
213+ pub route_parameters : :: core:: option:: Option < super :: types:: RouteParametersConfig > ,
211214}
212215/// The response `content` for the `Bolt12Send` API, when HttpStatusCode is OK (200).
213216/// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
0 commit comments