Layer 224
CdnPublicKeyObj
Public key to use only during handshakes to CDN DCs.
constructor
cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey;
Parameters
| Name | Type | Description |
|---|---|---|
| DcId | int | CDN DC ID |
| PublicKey | string | RSA public key |
Returns
CdnPublicKeyGogram Example
// Creating CdnPublicKeyObj constructor obj := &tg.CdnPublicKeyObj{ DcId: 42, PublicKey: "Hello, World!", }