Layer 231
WalletExistingBalanceObj
Information about the user's balance in an existing wallet.
constructor
wallet.existingBalance#bde90a8d flags:# has_balance:flags.0?true url:string = wallet.ExistingBalance;
Parameters
| Name | Type | Description |
|---|---|---|
| HasBalance | flags.0?true | Whether the user has a balance |
| Url | string | URL to access the balance |
Returns
wallet.ExistingBalanceGogram Example
// Creating WalletExistingBalanceObj constructor obj := &tg.WalletExistingBalanceObj{ Url: "https://example.com", // Optional fields: // HasBalance: true, }