1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-04 20:27:46 +01:00
MadelineProto/old_docs/API_docs_v38/constructors/channel.md
2017-02-12 20:32:28 +03:00

796 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
username string Optional
photo ChatPhoto Required
date int Required
version int Required

Type: Chat

Example:

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