1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
chat | Chat | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: chat
Chat
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | int | Yes | ID |
title | string | Yes | Title |
photo | ChatPhoto | Optional | Photo |
participants_count | int | Yes | Participants count |
date | int | Yes | Date |
left | Bool | Yes | Left? |
version | int | Yes | Version |
Type: Chat
Example:
$chat = ['_' => 'chat', 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int];
PWRTelegram json-encoded version:
{"_": "chat", "id": int, "title": "string", "photo": ChatPhoto, "participants_count": int, "date": int, "left": Bool, "version": int}
Or, if you're into Lua:
chat={_='chat', id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, left=Bool, version=int}