MadelineProto/old_docs/API_docs_v38/types/Chat.md
2017-02-12 20:32:28 +03:00

989 B

title description
Chat constructors and methods of type Chat

Type: Chat

Back to types index

The following syntaxes can also be used:

$channels_channelParticipant = '@username'; // Username

$channels_channelParticipant = 44700; // bot API id (users)
$channels_channelParticipant = -492772765; // bot API id (chats)
$channels_channelParticipant = -10038575794; // bot API id (channels)

$channels_channelParticipant = 'user#44700'; // tg-cli style id (users)
$channels_channelParticipant = 'chat#492772765'; // tg-cli style id (chats)
$channels_channelParticipant = 'channel#38575794'; // tg-cli style id (channels)

Possible values (constructors):

chatEmpty

chat

chatForbidden

channel

channelForbidden

Methods that return an object of this type (methods):