mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
2.4 KiB
2.4 KiB
title | description | nav_exclude | image |
---|---|---|---|
chatInvite | Chat invite info | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: chatInvite
Chat invite info
Attributes:
Name | Type | Required | Description |
---|---|---|---|
channel | Bool | Optional | Whether this is a channel/supergroup or a normal group |
broadcast | Bool | Optional | Whether this is a channel |
public | Bool | Optional | Whether this is a public channel/supergroup |
megagroup | Bool | Optional | Whether this is a supergroup |
request_needed | Bool | Optional | Whether the join request » must be first approved by an administrator |
verified | Bool | Optional | Is this chat or channel verified by Telegram? |
scam | Bool | Optional | This chat is probably a scam |
fake | Bool | Optional | If set, this chat was reported by many users as a fake or scam: be careful when interacting with it. |
title | string | Yes | Chat/supergroup/channel title |
about | string | Optional | Description of the group of channel |
photo | Photo | Optional | Chat/supergroup/channel photo |
participants_count | int | Yes | Participant count |
participants | Array of User | Optional | A few of the participants that are in the group |
color | int | Yes | Profile color palette ID |
Type: ChatInvite
Example:
$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'request_needed' => Bool, 'verified' => Bool, 'scam' => Bool, 'fake' => Bool, 'title' => 'string', 'about' => 'string', 'photo' => Photo, 'participants_count' => int, 'participants' => [User, User], 'color' => int];