MadelineProtoDocs/old_docs/API_docs_v65/constructors/inputChannel.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

849 B

title description image
inputChannel Channel https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputChannel

Back to constructors index

Channel

Attributes:

Name Type Required Description
channel_id int Yes Channel ID
access_hash long Yes Access hash

Type: InputChannel

Example:

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

PWRTelegram json-encoded version:

{"_": "inputChannel", "channel_id": int, "access_hash": long}

Or, if you're into Lua:

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