Link Search Menu Expand Document

Constructor: inputPeerChannelFromMessage

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’s message was seen
msg_idintYesThe message ID
channel_idlongYesThe identifier of the channel that was seen

Type: InputPeer

Example:

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