MadelineProtoDocs/docs/API_docs/constructors/shippingOption.md
2024-05-01 14:53:46 +02:00

829 B

title description nav_exclude image
shippingOption Shipping option true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: shippingOption

Back to constructors index

Shipping option

Attributes:

Name Type Required Description
id string Yes Option ID
title string Yes Title
prices Array of LabeledPrice Yes List of price portions

Type: ShippingOption

Example:

$shippingOption = ['_' => 'shippingOption', 'id' => 'string', 'title' => 'string', 'prices' => [LabeledPrice, LabeledPrice]];