Skip to content

getChatJoinRequests

Function · TDLib 1.8.67 · d1085f9c

Returns pending join requests in a chat

getChatJoinRequests(
  chat_id: int53,
  invite_link: string,
  query: string,
  offset_request: ChatJoinRequest,
  limit: int32
) → ChatJoinRequests

chat_id

int53

Chat identifier

string

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

query

string

A query to search for in the first names, last names and usernames of the users to return

offset_request

ChatJoinRequest

A chat join request from which to return next requests; pass null to get results from the beginning

limit

int32

The maximum number of requests to join the chat to return