MadelineProto/docs/TD_docs/constructors/inputMessageInvoice.md
2017-08-25 15:05:53 +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