MadelineProtoDocs/old_docs/API_docs_v44/constructors/chatInvite.md
2019-12-27 17:48:04 +01:00

1.3 KiB

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

Constructor: chatInvite

Back to constructors index

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
title string Yes Chat/supergroup/channel title

Type: ChatInvite

Example:

$chatInvite = ['_' => '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'}