MadelineProto/docs/TD_docs/constructors/inputMessageInvoice.md
Daniil Gentili 8600a2fcba docufix
2017-09-29 15:50:59 +02:00

1.2 KiB

title description
inputMessageInvoice Message with an invoice, can be used only by bots and in private chats only

Constructor: inputMessageInvoice

Back to constructors index

Message with an invoice, can be used only by bots and in private chats only

Attributes:

Name Type Required Description
invoice invoice Yes The invoice
title string Yes Product title, 1-32 characters
description string Yes Product description, 0-255 characters
photo_url string Yes Goods photo URL, optional
photo_size int Yes Goods photo size
photo_width int Yes Goods photo width
photo_height int Yes Goods photo height
payload bytes Yes Invoice payload
provider_token string Yes Payments provider token
start_parameter string Yes Unique invoice bot start_parameter for generation of this invoice

Type: InputMessageContent