1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
channel | Channel/supergroup info | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: channel
Channel/supergroup info
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | int | Yes | ID of the channel |
access_hash | long | Yes | Access hash |
title | string | Yes | Title |
username | string | Optional | Username |
photo | ChatPhoto | Optional | Profile photo |
date | int | Yes | Creation date |
version | int | Yes | Version of the channel (always 0 ) |
Type: Chat
Example:
$channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int];
Or, if you're into Lua:
channel={_='channel', id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int}