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'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.