Liking cljdoc? Tell your friends :D
Clojure only.

telegrambot-lib.payments.protocol

Telegram Payments - protocol definitions.

Telegram Payments - protocol definitions.
- <https://core.telegram.org/bots/api#payments>
raw docstring

Paymentscljprotocol

Bots accepting payments from users.

Bots accepting payments from users.

answer-precheckout-query-errorclj

(answer-precheckout-query-error this content)
(answer-precheckout-query-error this pre_checkout_query_id error_message)

Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query. Use this method to respond to such pre-checkout queries. On success, True is returned.

Once the user has confirmed their payment and shipping details,
the Bot API sends the final confirmation in the form of an Update
with the field pre_checkout_query.
Use this method to respond to such pre-checkout queries.
On success, True is returned.

answer-precheckout-query-okclj

(answer-precheckout-query-ok this pre_checkout_query_id)

Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query. Use this method to respond to such pre-checkout queries. On success, True is returned.

Once the user has confirmed their payment and shipping details,
the Bot API sends the final confirmation in the form of an Update
with the field pre_checkout_query.
Use this method to respond to such pre-checkout queries.
On success, True is returned.

answer-shipping-query-errorclj

(answer-shipping-query-error this content)
(answer-shipping-query-error this shipping_query_id error_message)

If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot. Use this method to reply to shipping queries. On success, True is returned.

If you sent an invoice requesting a shipping address
and the parameter is_flexible was specified, the Bot API
will send an Update with a shipping_query field to the bot.
Use this method to reply to shipping queries.
On success, True is returned.

answer-shipping-query-okclj

(answer-shipping-query-ok this content)
(answer-shipping-query-ok this shipping_query_id shipping_options)

If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot. Use this method to reply to shipping queries. On success, True is returned.

If you sent an invoice requesting a shipping address
and the parameter is_flexible was specified, the Bot API
will send an Update with a shipping_query field to the bot.
Use this method to reply to shipping queries.
On success, True is returned.

send-invoiceclj

(send-invoice this content)
(send-invoice this
              chat_id
              title
              description
              payload
              provider_token
              start_parameter
              currency
              prices)
(send-invoice this
              chat_id
              title
              description
              payload
              provider_token
              start_parameter
              currency
              prices
              &
              optional)

Use this method to send invoices. On success, the sent Message is returned.

Use this method to send invoices.
On success, the sent Message is returned.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close