Link Search Menu Expand Document

Constructor: payments.paymentFormStars

Back to constructors index

Represents a payment form, for payments to be using Telegram Stars, see here » for more info.

Attributes:

NameTypeRequiredDescription
form_idlongYesForm ID.
bot_idlongYesBot ID.
titlestringYesForm title
descriptionstringYesDescription
photoWebDocumentOptionalProduct photo
invoiceInvoiceYesInvoice
usersArray of UserYesInfo about users mentioned in the other fields.

Type: payments.PaymentForm

Example:

$payments_paymentFormStars = ['_' => 'payments.paymentFormStars', 'form_id' => long, 'bot_id' => long, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'invoice' => Invoice, 'users' => [User, User]];