mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 19:46:56 +01:00
1.2 KiB
1.2 KiB
title | description |
---|---|
inputMessageInvoice | Message with an invoice, can be used only by bots and in private chats only |
Constructor: inputMessageInvoice
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 |