swc/bundler/tests/.cache/deno/3bf4e46b5fa8d47b9a4e8fa5ee2352c7697fbd6c.ts
강동윤 d60c3242af
fix(swc): Fix bugs (#1739)
swc_bundler:
 - Fix cycle detection for complex circular imports. (denoland/deno#10752)

swc_ecma_transforms_typescript:
 - Allow using large values for an enum variant.
2021-05-25 14:30:17 +09:00

24 lines
981 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/members/guild_members_chunk.ts
import { PresenceUpdate } from "../activity/presence_update.ts";
import { GuildMemberWithUser } from "../members/guild_member.ts";
/** https://discord.com/developers/docs/topics/gateway#guild-members-chunk */
export interface GuildMembersChunk {
/** The id of the guild */
guildId: string;
/** Set of guild members */
members: GuildMemberWithUser[];
/** The chunk index in the expected chunks for this response (0 <= chunk_index < chunk_count) */
chunkIndex: number;
/** The total number of expected chunks for this response */
chunkCount: number;
/** If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here */
notFound?: string[];
/** If passing true to `REQUEST_GUILD_MEMBERS`, presences of the returned members will be here */
presences?: PresenceUpdate[];
/** The nonce used in the Guild Members Request */
nonce?: string;
}