MadelineProtoDocs/old_docs/API_docs_v71/constructors/inputMediaInvoice.md

1.3 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
start_param string Yes Start param

Type: InputMedia

Example:

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

Or, if you're into Lua:

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