pub async fn get_chat_join_requests(
chat_id: i64,
invite_link: String,
query: String,
offset_request: Option<ChatJoinRequest>,
limit: i32,
client_id: i32,
) -> Result<ChatJoinRequests, Error>Expand description
Returns pending join requests in a chat
ยงArguments
chat_id- Chat identifierinvite_link- 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 linksquery- A query to search for in the first names, last names and usernames of the users to returnoffset_request- A chat join request from which to return next requests; pass null to get results from the beginninglimit- The maximum number of requests to join the chat to returnclient_id- The client id to send the request to