Layer 220
constructor
inputPeerChannel#27bcbbfc channel_id:long access_hash:long = InputPeer;

Parameters

Name Type Description
ChannelId long Channel identifier
AccessHash long access_hash value from the channel constructor

Returns

InputPeer

Gogram Example

// Creating InputPeerChannel constructor
obj := &tg.InputPeerChannel{
    ChannelId: int64(0),
    AccessHash: int64(0),
}