MadelineProtoDocs/docs/TD_docs/constructors/inputMessageInvoice.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.3 KiB

title description image
inputMessageInvoice Message with an invoice, can be used only by bots and in private chats only https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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