Layer 220
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
Flags # Flags, see TL conditional fields
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(0),
    BotId: int64(0),
    Title: "...",
    Description: "...",
    Invoice: &tg.Invoice{},
    Users: []tg.User{&tg.User{}},

    // Optional fields:
    // Photo: &tg.WebDocument{},
}