Link Search Menu Expand Document

Constructor: inputChannel

Back to constructors index

Represents a channel

Attributes:

NameTypeRequiredDescription
channel_idlongYesChannel ID
access_hashlongYesAccess hash taken from the channel constructor

Type: InputChannel

Example:

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