Layer 231
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.HolderDc

Gogram Example

// Creating WalletHolderDcObj constructor
obj := &tg.WalletHolderDcObj{
    Dc: 42,
    PublicKey: []byte{0x01, 0x02, 0x03},
}