MadelineProtoDocs/old_docs/API_docs_v46/constructors/chatInvite.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

title description image
chatInvite Chat invite https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: chatInvite

Back to constructors index

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

Type: ChatInvite

Example:

$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string'];

PWRTelegram json-encoded version:

{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string"}

Or, if you're into Lua:

chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string'}