harmony/src/types/invite.ts

23 lines
573 B
TypeScript
Raw Normal View History

2020-12-02 11:18:45 +00:00
import { Channel } from '../structures/channel.ts'
import { Guild } from '../structures/guild.ts'
2020-10-31 12:33:34 +00:00
import { ChannelPayload } from './channel.ts'
import { GuildPayload } from './guild.ts'
import { UserPayload } from './user.ts'
export interface InvitePayload {
code: string
guild?: GuildPayload
channel: ChannelPayload
inviter?: UserPayload
target_user?: UserPayload
target_user_type?: number
approximate_presence_count?: number
approximate_member_count?: number
}
2020-12-02 07:20:45 +00:00
export interface PartialInvitePayload {
code: string
channel: Channel
guild?: Guild
2020-12-02 10:26:20 +00:00
}