listChannelInvites abstract method
- @GET.new('/channels/{channel_id}/invites')
- @Path.new('channel_id') required SnowflakeType channelId,
List channel invites.
Retrieves all currently active invites for the specified channel, including invite codes, creators, expiration times, and usage statistics. The authenticated user must have permission to manage invites for the channel. Returns an array of invite metadata objects.
channelId - The ID of the channel.
Implementation
@GET('/channels/{channel_id}/invites')
Future<List<InviteMetadataResponseSchema>> listChannelInvites({
@Path('channel_id') required SnowflakeType channelId,
});