1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 06:16:55 +01:00
MadelineProto/old_docs/API_docs_v66/constructors/inputMediaInvoice.md
2017-07-23 16:11:02 +02:00

1.3 KiB

title description
inputMediaInvoice inputMediaInvoice attributes, type and example

Constructor: inputMediaInvoice

Back to constructors index

Attributes:

Name Type Required
title string Yes
description string Yes
photo InputWebDocument Optional
invoice Invoice Yes
payload bytes Yes
provider string Yes
start_param string Yes

Type: InputMedia

Example:

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

PWRTelegram json-encoded version:

{"_":"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, }