MadelineProtoDocs/old_docs/API_docs_v103/constructors/inputMediaInvoice.md
2019-08-15 20:25:16 +02:00

1.4 KiB

title description image
inputMediaInvoice Media invoice https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputMediaInvoice

Back to constructors index

Media invoice

Attributes:

Name Type Required Description
title string Yes Title
description string Yes Description
photo InputWebDocument Optional Photo
invoice Invoice Yes Invoice
payload bytes Yes Payload
provider string Yes Provider
provider_data DataJSON Yes Provider data
start_param string Yes Start param

Type: InputMedia

Example:

$inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => 'string', 'description' => 'string', 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => 'bytes', 'provider' => 'string', 'provider_data' => DataJSON, 'start_param' => 'string'];

Or, if you're into Lua:

inputMediaInvoice={_='inputMediaInvoice', title='string', description='string', photo=InputWebDocument, invoice=Invoice, payload='bytes', provider='string', provider_data=DataJSON, start_param='string'}