mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image |
---|---|---|---|
inputPeerChannelFromMessage | Defines a min channel that was seen in a certain message of a certain chat. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputPeerChannelFromMessage
Defines a min channel that was seen in a certain message of a certain chat.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
peer | Username, chat ID, Update, Message or InputPeer | Optional | The chat where the channel's message was seen |
msg_id | int | Yes | The message ID |
channel_id | long | Yes | The identifier of the channel that was seen |
Type: InputPeer
Example:
$inputPeerChannelFromMessage = ['_' => 'inputPeerChannelFromMessage', 'peer' => InputPeer, 'msg_id' => int, 'channel_id' => long];