796 B
796 B
title | description |
---|---|
channel | channel attributes, type and example |
Constructor: channel
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, ];