Layer 227
constructor
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;

Parameters

Name Type Description
FormId long Form ID.
BotId long Bot ID.
Title string Form title
Description string Description
Photo flags .5? WebDocument Product photo
Invoice Invoice Invoice
Users Vector < User > Info about users mentioned in the other fields.

Gogram Example

// Creating PaymentsPaymentFormStars constructor
obj := &tg.PaymentsPaymentFormStars{
    FormId: int64(1234567890),
    BotId: int64(1234567890),
    Title: "Hello, World!",
    Description: "Hello, World!",
    Photo: nil,
    Invoice: &tg.Invoice{},
    // ... more required fields
}