API v10InterfacesRESTGetAPIInviteQueryVersion: NextOn this pageRESTGetAPIInviteQuery https://discord.com/developers/docs/resources/invite#get-inviteIndex Propertiesguild_scheduled_event_idwith_countswith_expirationProperties optionalguild_scheduled_event_idguild_scheduled_event_id?: stringThe guild scheduled event to include with the inviteoptionalwith_countswith_counts?: booleanWhether the invite should contain approximate member countsoptionalwith_expirationwith_expiration?: booleanWhether the invite should contain the expiration date@deprecatedThe expiration date is always returned, regardless of this query parameter.@seehttps://github.com/discord/discord-api-docs/pull/7424
https://discord.com/developers/docs/resources/invite#get-invite