BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
app.imagivibe.com
/
vendor
/
irazasyed
/
telegram-bot-sdk
/
src
/
Objects
/
Payments
📤 Upload
📝 New File
📁 New Folder
Close
Editing: SuccessfulPayment.php
<?php namespace Telegram\Bot\Objects\Payments; use Telegram\Bot\Objects\BaseObject; /** * @link https://core.telegram.org/bots/api#successfulpayment * * @property string $currency Three-letter ISO 4217 currency code * @property int $totalAmount Total price in the smallest units of the currency (integer, not float/double) * @property string $invoicePayload Bot specified invoice payload * @property string|null $shippingOptionId (Optional). Identifier of the shipping option chosen by the user. * @property OrderInfo|null $orderInfo (Optional). Order info provided by the user * @property string $telegramPaymentChargeId Telegram payment identifier. * @property string $providerPaymentChargeId Provider payment identifier. */ class SuccessfulPayment extends BaseObject { /** * {@inheritdoc} * * @return array{order_info: string} */ public function relations(): array { return [ 'order_info' => OrderInfo::class, ]; } }
Save
Cancel