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
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

Type: ChatInvite

Example:

$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => Photo, 'participants_count' => int, 'participants' => [User, User]];

Or, if you’re into Lua:

chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=Photo, participants_count=int, participants={User}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.