Layer 220
InputChannelFromMessage
Defines a min channel that was seen in a certain message of a certain chat.
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
InputChannelGogram Example
// Creating InputChannelFromMessage constructor obj := &tg.InputChannelFromMessage{ Peer: &tg.InputPeerUser{UserID: int64(123456789)}, MsgId: 0, ChannelId: int64(0), }