telegram-bot-api icon indicating copy to clipboard operation
telegram-bot-api copied to clipboard

[ASK] Why not found method getinvoicelink ?

Open azkadev opened this issue 1 year ago • 4 comments

The createInvoiceLink method exists but why doesn't the getinvoiceLink method exist?

please add

azkadev avatar Jun 21 '24 15:06 azkadev

It is useless for bots. Only users can pay invoices.

levlam avatar Jun 21 '24 15:06 levlam

then how to check if the user has paid? Will it be automatic through updates?

azkadev avatar Jun 21 '24 17:06 azkadev

how to solve this feature? is there a sandbox mode like common payment gateways? btw I'm trying to use Telegram Stars

azkadev avatar Jun 21 '24 17:06 azkadev

Any invoice can be paid multiple times by the same or multiple users. The question "how to check if the user has paid" makes no sense.

The bot receives a "successful_payment" message when the payment is completed with the specified invoice_payload.

levlam avatar Jun 21 '24 18:06 levlam