Function INVITE_CREATE

  • Parameters

    • data: {
          channel_id: string;
          code: string;
          created_at: string;
          guild_id?: string;
          inviter?: RawUser;
          max_age: number;
          max_uses: number;
          target_application?: RawPartialApplication;
          target_type?: InviteTargetTypes;
          target_user?: RawUser;
          temporary: boolean;
          uses: number;
      }
      • channel_id: string
      • code: string
      • created_at: string
      • Optional guild_id?: string
      • Optional inviter?: RawUser
      • max_age: number
      • max_uses: number
      • Optional target_application?: RawPartialApplication
      • Optional target_type?: InviteTargetTypes
      • Optional target_user?: RawUser
      • temporary: boolean
      • uses: number
    • shard: Shard

    Returns Promise<void>