Layer 220
constructor
inputChannel#f35aec28 channel_id:long access_hash:long = InputChannel;

Parameters

Name Type Description
ChannelId long Channel ID
AccessHash long Access hash taken from the channel constructor

Returns

InputChannel

Gogram Example

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