Layer 220
constructor
inputPeerChannelFromMessage#bd2a0840 peer:InputPeer msg_id:int channel_id:long = InputPeer;

Parameters

Name Type Description
Peer InputPeer The chat where the channel's message was seen
MsgId int The message ID
ChannelId long The identifier of the channel that was seen

Returns

InputPeer

Gogram Example

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