Raw.payments.PaymentFormStars
Represents a payment form, for payments to be using telegram stars, see here for more info.
payments.paymentFormStars#7bf6b15c flags:# form_id:long bot_id:long title:string description:string photo:flags.5?WebDocument invoice:Invoice users:Vector<User> = payments.PaymentForm;export namespace Raw {
export namespace payments {
export class PaymentFormStars {
constructor(params: {
formId: bigint;
botId: bigint;
title: string;
description: string;
photo?: Raw.TypeWebDocument;
invoice: Raw.TypeInvoice;
users: Array<Raw.TypeUser>;
}) {}
}
}
}🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 201
Constructor ID: 0x7bf6b15c
Property
formId: bigintForm id.
botId: bigintBot id.
title: stringForm title
description: stringDescription
photo: Raw.TypeWebDocument or undefinedProduct photo
invoice: Raw.TypeInvoiceInvoice
users: Array of Raw.TypeUserInfo about users mentioned in the other fields.