MadelineProtoDocs/old_docs/API_docs_v105/constructors/inputChannelFromMessage.md
2019-09-13 17:13:55 +02:00

921 B

title description image
inputChannelFromMessage Channel from message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputChannelFromMessage

Back to constructors index

Channel from message

Attributes:

Name Type Required Description
peer Username, chat ID, Update, Message or InputPeer Optional Peer
msg_id int Yes Message ID
channel_id int Yes Channel ID

Type: InputChannel

Example:

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

Or, if you're into Lua:

inputChannelFromMessage={_='inputChannelFromMessage', peer=InputPeer, msg_id=int, channel_id=int}