mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-04 20:27:46 +01:00
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, ];