Link Search Menu Expand Document

Constructor: inputPeerChannel

Back to constructors index

Defines a channel for further interaction.

Attributes:

NameTypeRequiredDescription
channel_idlongYesChannel identifier
access_hashlongYesaccess_hash value from the channel constructor

Type: InputPeer

Example:

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