This PR allows you to listen to the pre_checkout_query which is mandatory for receiving payments in Telegram. You can listen to the pre_checkout_query in the same way as you do for other generic events like pinned_message or new_chat_members:
$botman->on('pre_checkout_query', function ($payload, $bot) {
//
});
This PR allows you to listen to the
pre_checkout_query
which is mandatory for receiving payments in Telegram. You can listen to thepre_checkout_query
in the same way as you do for other generic events likepinned_message
ornew_chat_members
: