Link Search Menu Expand Document

Constructor: inputChannelFromMessage

Back to constructors index

Defines a min channel that was seen in a certain message of a certain chat.

Attributes:

NameTypeRequiredDescription
peerUsername, chat ID, Update, Message or InputPeerOptionalThe chat where the channel was seen
msg_idintYesThe message ID in the chat where the channel was seen
channel_idlongYesThe channel ID

Type: InputChannel

Example:

$inputChannelFromMessage = ['_' => 'inputChannelFromMessage', 'peer' => InputPeer, 'msg_id' => int, 'channel_id' => long];