MadelineProtoDocs/old_docs/API_docs_v68/constructors/inputPeerChannel.md
2019-12-27 17:48:04 +01: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}