4baac3178e
Add PHP, Lua language tag to Code area
1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
payments.validatedRequestedInfo | payments_validatedRequestedInfo attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: payments.validatedRequestedInfo
Attributes:
Name | Type | Required |
---|---|---|
id | string | Optional |
shipping_options | Array of ShippingOption | Optional |
Type: payments_ValidatedRequestedInfo
Example:
$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]];
PWRTelegram json-encoded version:
{"_": "payments.validatedRequestedInfo", "id": "string", "shipping_options": [ShippingOption]}
Or, if you're into Lua:
payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}}