Layer 224
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 InputChannelObj constructor
obj := &tg.InputChannelObj{
    ChannelId: int64(1234567890),
    AccessHash: int64(1234567890),
}