Tourmaline::Client::PaymentMethods
Instance methods
Once the user has confirmed their payment and shipping details, the Client API sends
the final confirmation in the form of a Update with the field pre_checkout_query.
Use this method to respond to such pre-checkout queries.
On success, true is returned.
Note: The Client API must receive an answer within 10 seconds after the pre-checkout query was sent.
If you sent an invoice requesting a shipping address and the parameter is_flexible
was specified, the Client API will send a Update with a shipping_query field to
the bot. Use this method to reply to shipping queries.
On success, true is returned.
Use this method to create a link for an invoice. Returns the created invoice link as String on success.
Convenience method to create and Array of LabledPrice from an Array
of NamedTuple(label: String, amount: Int32).
TODO: Replace with a builder of some kind
Use this method to send invoices.
On success, the sent Message is returned.