mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 07:38:58 +01:00
more refactor
This commit is contained in:
parent
587cee53e7
commit
3cfbee5864
@ -19,7 +19,9 @@ namespace danog\MadelineProto\EventHandler\Payments;
|
|||||||
use danog\MadelineProto\EventHandler\Update;
|
use danog\MadelineProto\EventHandler\Update;
|
||||||
use danog\MadelineProto\MTProto;
|
use danog\MadelineProto\MTProto;
|
||||||
|
|
||||||
/** This object contains information about an incoming pre-checkout query. */
|
/**
|
||||||
|
* This object contains information about an incoming pre-checkout query.
|
||||||
|
*/
|
||||||
class Payment extends Update
|
class Payment extends Update
|
||||||
{
|
{
|
||||||
/** Unique query identifier */
|
/** Unique query identifier */
|
||||||
@ -73,7 +75,6 @@ class Payment extends Update
|
|||||||
* Reject pending payment.
|
* Reject pending payment.
|
||||||
* note that you must call this function or accept function up to 10 seconds after user accept payment!!.
|
* note that you must call this function or accept function up to 10 seconds after user accept payment!!.
|
||||||
* @param string $errorMessage if the success isn’t set. Error message in human-readable form that explains the reason for failure to proceed with the checkout
|
* @param string $errorMessage if the success isn’t set. Error message in human-readable form that explains the reason for failure to proceed with the checkout
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public function reject(string $errorMessage): false
|
public function reject(string $errorMessage): false
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user