@@ -194,20 +194,23 @@ pub struct Bolt12ReceiveResponse {
194194#[ allow( clippy:: derive_partial_eq_without_eq) ]
195195#[ derive( Clone , PartialEq , :: prost:: Message ) ]
196196pub struct Bolt12SendRequest {
197- /// An offer for a payment within the Lightning Network.
198- #[ prost( string, tag = "1" ) ]
199- pub offer : :: prost:: alloc:: string:: String ,
200- /// Set this field when paying a so-called "zero-amount" offer, i.e., an offer that leaves the
201- /// amount paid to be determined by the user.
202- /// This operation will fail if the amount specified is less than the value required by the given offer.
203- #[ prost( uint64, optional, tag = "2" ) ]
204- pub amount_msat : :: core:: option:: Option < u64 > ,
205- /// If set, it represents the number of items requested.
206- #[ prost( uint64, optional, tag = "3" ) ]
207- pub quantity : :: core:: option:: Option < u64 > ,
208- /// If set, it will be seen by the recipient and reflected back in the invoice.
209- #[ prost( string, optional, tag = "4" ) ]
210- pub payer_note : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
197+ /// An offer for a payment within the Lightning Network.
198+ #[ prost( string, tag = "1" ) ]
199+ pub offer : :: prost:: alloc:: string:: String ,
200+ /// Set this field when paying a so-called "zero-amount" offer, i.e., an offer that leaves the
201+ /// amount paid to be determined by the user.
202+ /// This operation will fail if the amount specified is less than the value required by the given offer.
203+ #[ prost( uint64, optional, tag = "2" ) ]
204+ pub amount_msat : :: core:: option:: Option < u64 > ,
205+ /// If set, it represents the number of items requested.
206+ #[ prost( uint64, optional, tag = "3" ) ]
207+ pub quantity : :: core:: option:: Option < u64 > ,
208+ /// If set, it will be seen by the recipient and reflected back in the invoice.
209+ #[ prost( string, optional, tag = "4" ) ]
210+ 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