Raw.ChatInvite
Chat invite info
chatInvite#cde0ec40 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true verified:flags.7?true scam:flags.8?true fake:flags.9?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector<User> color:int = ChatInvite;
export namespace Raw {
export class ChatInvite {
constructor(params: {
channel?: boolean;
broadcast?: boolean;
public?: boolean;
megagroup?: boolean;
requestNeeded?: boolean;
verified?: boolean;
scam?: boolean;
fake?: boolean;
title: string;
about?: string;
photo: Raw.TypePhoto;
participantsCount: number;
participants?: Array<Raw.TypeUser>;
color: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xcde0ec40
Property
channel
: boolean or undefinedWhether this is a channel/supergroup or a normal group
broadcast
: boolean or undefinedWhether this is a channel
public
: boolean or undefinedWhether this is a public channel/supergroup
megagroup
: boolean or undefinedWhether this is a supergroup
requestNeeded
: boolean or undefinedWhether the join request must be first approved by an administrator
verified
: boolean or undefinedIs this chat or channel verified by telegram?
scam
: boolean or undefinedThis chat is probably a scam
fake
: boolean or undefinedIf set, this chat was reported by many users as a fake or scam: be careful when interacting with it.
title
: stringChat/supergroup/channel title
about
: string or undefinedDescription of the group of channel
photo
: Raw.TypePhotoChat/supergroup/channel photo
participantsCount
: numberParticipant count
participants
: Array of Raw.TypeUser or undefinedA few of the participants that are in the group
color
: numberProfile color palette id