mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-11 23:19:38 +01:00
803 B
803 B
title | description |
---|---|
chatEmpty | chatEmpty attributes, type and example |
Constructor: chatEmpty
Attributes:
Name | Type | Required |
---|---|---|
id | int | Required |
Type: Chat
Example:
$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ];
The following syntaxes can also be used:
$chatEmpty = '@username'; // Username
$chatEmpty = 44700; // bot API id (users)
$chatEmpty = -492772765; // bot API id (chats)
$chatEmpty = -10038575794; // bot API id (channels)
$chatEmpty = 'user#44700'; // tg-cli style id (users)
$chatEmpty = 'chat#492772765'; // tg-cli style id (chats)
$chatEmpty = 'channel#38575794'; // tg-cli style id (channels)