IpPortSecret

class pyrogram.raw.types.IpPortSecret

Telegram API type.

Constructor of IpPort.

Details:
  • Layer: 223

  • ID: 37982646

Parameters:
  • ipv4 (int 32-bit) – N/A

  • port (int 32-bit) – N/A

  • secret (bytes) – N/A

TL Schema

ipPortSecret#37982646
ipv4:int
port:int
secret:bytes

= IpPort

Parameter Tree

IpPortSecret
├── ipv4int
├── portint
└── secretbytes

Example

IpPortSecret(
    ipv4=0,
    port=0,
    secret=b"data",
)