Interface ProcessChatJoinRequests

Handles all pending join requests for a given link in a chat. Request type for Tdjson#processChatJoinRequests.

interface ProcessChatJoinRequests {
    @type: "processChatJoinRequests";
    approve?: boolean;
    chat_id: number;
    invite_link: string;
}

Properties

@type: "processChatJoinRequests"
approve?: boolean

Pass true to approve all requests; pass false to decline them.

chat_id: number

Chat identifier.

invite_link: string

Invite link for which to process join requests. If empty, all join requests will be processed. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links.