InputPeerChannel

class pyrogram.raw.types.InputPeerChannel

Defines a channel for further interaction.

Constructor of InputPeer.

Details:
  • Layer: 223

  • ID: 27BCBBFC

Parameters:
  • channel_id (int 64-bit) – Channel identifier

  • access_hash (int 64-bit) – access_hash value from the channel constructor

TL Schema

inputPeerChannel#27bcbbfc
channel_id:long
access_hash:long

= InputPeer

Parameter Tree

InputPeerChannel
├── channel_idlong
└── access_hashlong

Example

InputPeerChannel(
    channel_id=0,
    access_hash=0,
)