Layer 224
constructor
paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge;

Parameters

Name Type Description
Id string Telegram payment identifier
ProviderChargeId string Provider payment identifier

Returns

PaymentCharge

Gogram Example

// Creating PaymentChargeObj constructor
obj := &tg.PaymentChargeObj{
    Id: "Hello, World!",
    ProviderChargeId: "Hello, World!",
}