MadelineProtoDocs/old_docs/API_docs_v9/constructors/inputPeerChannel.md
2020-06-16 17:50:25 +02:00

882 B

title description image
inputPeerChannel Defines a channel for further interaction. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputPeerChannel

Back to constructors index

Defines a channel for further interaction.

Attributes:

Name Type Required Description
channel_id int Yes Channel identifier
access_hash long Yes access_hash value from the channel constructor

Type: InputPeer

Example:

$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long];

Or, if you're into Lua:

inputPeerChannel={_='inputPeerChannel', channel_id=int, access_hash=long}