Constructor: inputPeerChannelFromMessage

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: InputPeer

Example:

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

Or, if you’re into Lua:

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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.