1.5 KiB
1.5 KiB
title | description | image |
---|---|---|
chatInvite | Chat invite | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: chatInvite
Chat invite
Attributes:
Name | Type | Required | Description |
---|---|---|---|
channel | Bool | Optional | Channel? |
broadcast | Bool | Optional | Broadcast? |
public | Bool | Optional | Public? |
megagroup | Bool | Optional | Megagroup? |
title | string | Yes | Title |
photo | ChatPhoto | Optional | Photo |
participants_count | int | Yes | Participants count |
participants | Array of User | Optional | Participants |
Type: ChatInvite
Example:
$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]];
PWRTelegram json-encoded version:
{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string", "photo": ChatPhoto, "participants_count": int, "participants": [User]}
Or, if you're into Lua:
chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=ChatPhoto, participants_count=int, participants={User}}