MadelineProto/old_docs/API_docs_v40/constructors/channel.md
2017-02-12 20:32:28 +03:00

723 B

title description
channel channel attributes, type and example

Constructor: channel

Back to constructors index

Attributes:

Name Type Required
id int Required
access_hash long Required
title string Required
photo ChatPhoto Required
date int Required
version int Required

Type: Chat

Example:

$channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ];