Layer 220
constructor
inputChannelFromMessage#5b934f9d peer:InputPeer msg_id:int channel_id:long = InputChannel;

Parameters

Name Type Description
Peer InputPeer The chat where the channel was seen
MsgId int The message ID in the chat where the channel was seen
ChannelId long The channel ID

Returns

InputChannel

Gogram Example

// Creating InputChannelFromMessage constructor
obj := &tg.InputChannelFromMessage{
    Peer: &tg.InputPeerUser{UserID: int64(123456789)},
    MsgId: 0,
    ChannelId: int64(0),
}