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}

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