Layer 231
WalletHolderDcObj
A DC that holds an encrypted part of the wallet secret phrase backup.
constructor
wallet.holderDc#f9d612ef dc:int public_key:bytes = wallet.HolderDc;
Parameters
| Name | Type | Description |
|---|---|---|
| Dc | int | DC ID |
| PublicKey | bytes | Public key used to encrypt the part for this DC |
Returns
wallet.HolderDcGogram Example
// Creating WalletHolderDcObj constructor obj := &tg.WalletHolderDcObj{ Dc: 42, PublicKey: []byte{0x01, 0x02, 0x03}, }